You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Could also set the hardware back button to do PreviousStoryItem till HomeStoryItem is reached.
If ActiveStoryItem.Home = true it would prompt the user if they want to exit back to the Home screen
and if already at the Home screen could ask if they want to exit the application (and terminate it in that case, not just suspend it)
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.
birbilis
changed the title
Pressing hardware back button suspends the application going to OS home screen
Make use of hardware back button
Jul 17, 2022
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
"Ensure that the back button isn't gated by confirmation screens or part of an infinite loop." https://developer.android.com/training/tv/start/navigation
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: