keep my android app minimized once app is opened once forever -
i developing android app wanted remain minimised 1 time app opened user 1 time until device reboots. read android home button default minimises app seems app gets closed 1 time clicked home button. if open app again,it showing login page. wanted open page user lastly viewing.
android minimum , target version 3 , 15 respectively. can allow me know how can done serve mentioned purpose?
thanks in advance dudes!
if understand question correctly. need multiple things do.
way minimize app running.
intent startmain = new intent(intent.action_main); startmain.addcategory(intent.category_home); startmain.setflags(intent.flag_activity_new_task); startactivity(startmain);
resume lastly running activity
read android:launchmode in this link. think standard mode default , should work you.
hope help.
android
No comments:
Post a Comment