Jim McKeeth shared his code snippet for opening and viewing URLs on both Android and iOS apps with Delphi XE5, on the Delphi.org website. He also provided some example protocols (e.g. http, tel, sms, fb, mailto, twitter, geo, etc.) that can be used with his code, as well as example URLs common to both iOS and Android, iOS specific URLs, and Android specific URLs. The code uses Indy’s “TidURL.URLEncode”. It wraps the TJIntent
API on Android and the SharedApplication
.
openUrl
API on IOS.
Go to Delphi.org and read Jim’s short blip, grab his unit, and add the capability to open urls in your own iOS and Android Delphi XE5 Apps.