sketchub icon

Random Activity Open

EMOAKKI
3 Likes
3 Comments
8 Downloads

Screenshots

About

It's a basic example tutorial project someone told me to create.

When the user open the app then app will randomly pick any 1 activity randomly to open.

// Create activities you need (example 3) //in the main activity Oncreate use random number generator from 1 to 3 then store it to a integer number variable //use if else or switch case and use the random number, like- if the number is 1 then activity1 will be set and like that... //in the on click button or timer for automatic - when start the intent to switch to the pre set activity

tags: SK Goyal , EMOAKKI

©2025 Sketchub | User Policy