Handle Hardware Back Button In Delphi XE5 Firemonkey On Android

Handle Back Button Delphi AndroidIf you are looking for how to handle the hardware back button in your Delphi Android application then I think I have found the best answer to it on Stackoverflow. There are quite a few answers to the question multiple times but I think this one handles it the best. In addition to handling the back button it also takes the virtual keyboard into account and also handles a back button press when the virtual keyboard is visible. Here is a short snippet on how to just handle the back button but you’ll need to view the full answer to get the virtual keyboard part of it.

Click over and get the full code snippet for Android.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Handle Hardware Back Button In Delphi XE5 Firemonkey On Android by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Show Buttons
Hide Buttons
Read previous post:
Check Network State Delphi Firemonkey
Check Network Connectivity State With Delphi XE5 Firemonkey On Android And IOS

If you are looking for a cross platform way to check for connectivity in your Delphi Firemonkey apps on Android...