Android : Activity Stacking Issue or System Launching Issue -


the main/launcher activity in app login page (activity a). once user authenticated, taken main area of application, e.g. activity b. current activity stack of task > b.

i press home button on phone , taken android home screen. re-launch app via short cut key in htc desire z(see image after space there 2 short cuts 1 , 2), , taken activity a, instead of activity b. either activity stack > b > a, or there 2 separate tasks activity stacks > b, , respectively. want taken activity b when relaunch app..enter image description here

i followed link
the above solution worked 2.3.3 in ics 4.0.3 has issue not taken activity b.
how resolve this,in ics not able see intent flag system using launch activity when short cut pressed,is system bug?
please
nitz

the pattern tend use login this. i'll use a mean login , b mean main application.

i make b launcher activity, , in oncreate() check if login needed , if so, launch activity a. once a done, finish() it, i'm b.

this way activity stack stack never contains login activity, except when it's being used. ie, after login done, b on stack.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -