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.
1 Comment