My app consists of 7 activities. For the first time when it has been installed in a device, I want to show all the activities. When the app has been closed and used later, I want a particular activity to be hidden. How to work out this? Please help me. If I have to use onResume or onStart, how to implement it?
My app consists of 7 activities. For the first time when it has been
Share
The first time your application is launched set a boolean values such as
isLaunchedtotrueusingputBoolean(), and then subsequently, when you launch the app, if getBoolean of
isLaunchedistrue, don’t show that particular Activity.