-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make use of hardware back button #247
Comments
Could also set the hardware back button to do PreviousStoryItem till HomeStoryItem is reached. |
Another idea is to implement document/story history (for those documents where a source url or path [updated upon saving] is available and accessible) and have back load previous document/story, till there's no more such, in which case it would go to default embedded document and upon back from which (but checking if this is indeed the top item in the history with no more to go back to) would prompt to terminate the app loading the default story directly by the user could just be ignored in the history (should always just keep a single entry for that at the top of the history, placed before the loaded from saved state content). Not sure if that would confuse though. |
note that back's behaviour on AndroidTV shouldn't show an exit warning in general, unless destructive action / data loss might occur by the exiting |
Version: 0.6.0
Pressing hardware back button suspends the application and goes to OS Home screen on mobiles like Android
Could capture the hardware back button and show some confirmation prompt or even cancel the default back action or make it close the app after confirmation
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Creating_an_Android_App#Using_the_Android_Device.27s_Back_Button
not sure if such a prompt would be too intrusive for users who want to go back and forth from the app to other apps, but might help younger children not get lost, esp. if the back button action is canceled (though it might annoy more advanced users)
alternatively the back could ask what user wants to do, like Exit, Suspend or Cancel (via some popup with icons ideally)
The text was updated successfully, but these errors were encountered: