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

AndroidCode SnippetDelphiDemoFiremonkey

Launch Activities And Catch The Result In Delphi XE6 Firemonkey On Android

Delphi XE6 Firemonkey Android Activity ResultBrian Long has a new comprehensive article up which covers launching activities and returning the result in Delphi XE6 Firemonkey on Android. Delphi XE6 has expanded functionality to get the results returned from an activity which was much more difficult to do in Delphi XE5. In addition to the activity results the article demonstrates how to show an Android Toast, show the Android battery usage screen, launch a URL, send an SMS, send an email, and launch a QR Scanner. The most important part of the article is the code demonstrating how to get results from the launched activity. Previously with the QR Scanner for example the tricky way to do it was via the Clipboard. Now with Delphi XE6 Firemonkey you can actually return and process the results of the startActivityForResult() Android API call. Here is a sample of the source code that starts the activity and then processes the results:

At the top of the article there is also a link to a similar article for Delphi XE5.

Head over and read the full article about starting an Activity on Android and processing the results with Delphi XE6.

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

Related posts
AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

Sign up for our Newsletter and
stay informed

3 Comments

Leave a Reply to Veeresh Cancel reply