开发者

Android icon sometimes open new app sometimes brings up old app, help!

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 andde开发者_如何学编程v here


It sometime happens if you are running your app through a shortcut on your desktop. Delete shortcut and re install and you should be fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜