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

AndroidAppmethodCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

Launch A Phone Call And Access Carrier Info In Delphi XE7 Firemonkey On Android And IOS

Delphi XE7 Firemonkey Phone Dialer API Android IOSOne of the demos included with Delphi XE7 Firemonkey is the PhoneDialer demo. The PhoneDialer demo demonstrates how to use the IFMXPhoneDialerService in FMX.PhoneDialer to access carrier information and launch a phone call. The demo is available in the Mobile Snippets directory as well as from the Embarcadero SourceForge repository. It supports both Android and IOS according to the documentation and is also available in Appmethod. The carrier information that it shows is GetCarrierName, GetIsoCountryCode, GetMobileCountryCode, and GetMobileNetwork. And the Call functionality is as simple as passing the phone number string to the Call() function of the service. You can check out the two code snippets from the demo for accessing the carrier info and making a call below:

Head over and check out the full source code for the Phone Dialer API demo for Delphi XE7 Firemonkey.


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

Related posts

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


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


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

Sign up for our Newsletter and
stay informed

Leave a Reply