Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodCode SnippetDelphiFiremonkeyIOSOSXWindows

Handle The Hardware Back And Menu Buttons In Delphi XE7 Firemonkey On Android

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE7 Firemonkey Handle Hardware Buttons On Android | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper Adriano Santos from Brazil has a blog post up with a tutorial for handling the hardware buttons available on Android devices in Delphi XE7 Firemonkey. Some previous hardware button tutorials are for older versions of Delphi and don’t take into account the latest controls like the TMultiView component. This new tutorial for Delphi XE7 shows sample code for handing the hardware back button, the hardware menu button, closing the app, the virtual keyboard, and instances where the MultiView component is open. I would say this tutorial is pretty comprehensive for handling the hardware buttons on Android and the various Delphi controls they interact with. A full code snippet is provided with the tutorial. Obviously other platforms like IOS don’t have hardware buttons so this only applies to Android. The blog post is in Portuguese  but you can use Google Translate or Google Chrome to translate it for you. This code snippet will also work with Appmethod.

Head over and check out the full blog post plus code snippet for handling the device hardware buttons in Delphi XE7 Firemonkey.

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

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

2 Comments

Leave a Reply