java - Why does my Android app stops, when I move it to the background? -
i'm developing android application , have following code lines:
@override public boolean onkeydown(int keycode, keyevent event) { if (keycode == keyevent.keycode_back || keycode == keyevent.keycode_home) { movetasktoback(true); return true; } [... more code ...] }
when test on emulator, works , closes app , opens @ point before. when load apk on real device, stops application , starts new, when open again. loading screen.
where problem?
have tried saving state of activity ? solution here
Comments
Post a Comment