Android: last "back" should minimize to cover instead of "closing" Android runtime
When on the first view of the Android session and tapping the back button once more, the Android runtime closes and its cover disappears. It is obviously still running in the background, at least previously openend apps are still open when starting it again.
IMHO it would be preferable to minimize Android runtime to show its cover when hitting "back" on the first view. It would be more intuitive with regards to Android usage patterns (being able to restore the app from a list of open apps) as well as to Sailfish's navigation concept (where closing a native app is always done with a dedicated gesture).
Since the handling of Android app covers has been changed with version 1.0.8.19, the problem still exists, but an intuitive solution is just a single step away. With Android apps handling now having a nearly native feeling, we could simply do one of the following to make this consistent:
- Minimize to cover instead of closing the app (my preferred solution)
- Hide back button when there is no previous page to navigate to (not sure whether this is feasible)
- Replace back icon with close icon (X) when there is no previous page to navigate to (not sure whether this is feasible)
Related: https://together.jolla.com/question/5281/closing-an-android-app-closes-the-whole-android-layer/
ovekaaven ( 2014-03-14 21:38:57 +0200 )editThanks for pointing this out, maybe this is even a duplicate, but I don't know the implementation so I cannot judge this.
tokaru ( 2014-03-14 22:00:11 +0200 )editI'm voting yes. I don't know how many times I closed the android layer by accident and in confusion because I'm not counting how many times I pressed "back". It's very much related to the link from @ovekaaven, if the implementation allows better management and overview of the android apps. And the android apps should be closed when we actually want to close it, instead of running in the background.
spacenewt ( 2014-03-14 23:36:39 +0200 )editIf on Android you press the back button too often, you also move the app into the background – without any warning – and end up on the Android home screen. The same you see on Sailfish: The Sailfish home screen. So current implementation is consistent with the OS being mimicked. (What do you expect to see in the cover once the last Android app has been "closed"? An Android home screen?)
I would regard it as a fault of Android, that closing an app does not close it but just pushes it into the background, where eventually it is closed by the OS when the resources are needed by other apps. Alien Dalvik should not change the Android behavior just because Sailfish behaves more sensible.
PS: I am tempted to put this into an Answer instead of a comment ...
jgr ( 2014-03-15 00:57:01 +0200 )edit@jgr, I think it is an answer, maybe not a fix, but an answer to why it works this way.
spacenewt ( 2014-03-15 01:18:47 +0200 )edit