In the file browser on android, when you use the 'back' button on the phone, it just quits the app; instead, it should go one level up (in the folder hierarchy), and quit the app only when we are in the root folder / top folder on the sdcard.
Jacobo: Adding you to CC, in case this is of interest for you :-)
Thanks Kendy :)
The common flow in an Android application involves stacking activities one upon another; for example, browsing into some directory usually implies opening a new activity that stacks on the previous one. Pressing back will take the user to the previous activity.
As it is now, our document browser refreshes its contents when browsing the filesystem, instead of stacking activities.
I think we should transform our flow to work like most Android applications. It would automatically enable the back button, and we could implement nice transition animations. Besides, it will probably simplify our code and that's always a win :)
The best solution is the one above, but there is a workaround we can do meanwhile :)
Jacobo Aragunde Pérez committed a patch related to this issue.
It has been pushed to "master":
tdf#87434: android: system back key to go one level up
It will be available in 5.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
version: 184.108.40.206.alpha0+ / build id : 45511d9 / android 5.1