Choosing between activities

tcgoh

Active Member
Licensed User
Longtime User
Hi,

I have a APP with 2 activities, I wanted to let the user select the preferred activity (e.g. activity B) from the start of the program, even if he returns to the APP after exiting or shutting down the device, activity B will appear first without any selection. Is this doable?

Thanks
 

NJDude

Expert
Licensed User
Longtime User
You could save the user's preference on a file, when the app runs you check the file and according to the value start the activity the user selected. That's a quick way of doing it.
 
Upvote 0
Top