I developed a small android application and recently discovered a strange behavior.
When I navigate to an arbitrary Activity after installing this app using usb and eclipse I can leave the app, go to the android home screen or another application and then return to the mentioned arbitrary Activity directly by "starting" the application again.
But when I install the application on the phone directly by downloading the apk-file, I will always return to the root Activity of the application when I return to this app, after I switched to another application or the android home screen.
Does anybody know where this behavior comes from or how I can fix this issue?
UPDATE: I run the application on real hardware in both cases.