Android icon sometimes open new app sometimes brings up old

Put your problem here if it does not fit any of the other categories.

Android icon sometimes open new app sometimes brings up old

Postby rackham » Fri Jan 08, 2010 1:23 pm

Hello, I have an android app which i have written, which exhibits some strange behaviour.

When i have an app open, say with three acitivties in the stack

A - B - C

where a is the entry point and C is the currently viewed activity, if i press the home button and reselect the icon for my app sometimes i see A, which on pressing the back button i can see the task now contains the activities

A - B - C - A

and sometime it just reopens the app in the last state

A - B - C

which is what i want to happen. Could anyone inform me of why the inconsitant behaviour is happening. On both cases i press the icon strait after exiting the app via the home key.

Thanks for any help!

ps i have also asked this question on stack overflow here
rackham
Junior Developer
Junior Developer
 
Posts: 15
Joined: Tue Oct 06, 2009 10:47 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 18 guests