java - Android onResume open specific activity -


i need following in app, dont know possible? if can tell me how can that?

i start app - > first actvity - >second activity(child)->third activity(second activity child) - , here ex. press home button , third goes pause. , when return app need return first activity not same one. can tell me how can this?

set android:cleartaskonlaunch="true" on activity launched home screen.

from developer.android.com:

"when value "true", every time users start task again, brought root activity regardless of last doing in task , regardless of whether used or home button leave it. when value "false", task may cleared of activities in situations (see alwaysretaintaskstate attribute), not always."

set on main activity ie. 1 launched home screen.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -