how to call user mobile other application from inside my qml application.
Solved! Go to Solution.
It's the same, you need to know the URL to the target apps, like Youtube or Google Maps.
Here's an example I created to open Google Maps or Apple Maps (if running on iOS) with a click of a button,
I found their link and parameters to send from their documentation, for example, Google Maps docs, Get Started | Maps URLs | Google Developers
As far as opening it from AppStudio App, the QML code that you need is Qt.openUrlExternally(target), that's all.
Thank you,
Erwin
cc ArcGIS AppStudio does AppFramework have any helpers for this?
Hello,
This can easily be done by calling Qt.openUrlExternally(target). Qt QML Type | Qt QML 5.15.0 . You need to know the URL Scheme or App link for the target application.
For example to open Survey123 field app, based on this doc, Integrate with other apps—ArcGIS Survey123 | Documentation
Qt.openUrlExternally(arcgis-survey123://?itemID=89bc8c7844e548e09baa3aad4695e78b);
Qt.openUrlExternally(https://survey123.arcgis.app/?itemID=36ff9e8c13e042a58cfce4ad87f55d19);
If you are going to use URL Scheme to open another app from your custom AppStudio app, you need to specify the target URL Scheme in the setting of your app, in AppStudio Desktop. Settings->Advanced->Launch URL Schemes
Thank you,
Erwin.
Hi erwin,
I want to know about non arcgis apps like open youtube and google maps .
How to open them from arcgis apps
It's the same, you need to know the URL to the target apps, like Youtube or Google Maps.
Here's an example I created to open Google Maps or Apple Maps (if running on iOS) with a click of a button,
I found their link and parameters to send from their documentation, for example, Google Maps docs, Get Started | Maps URLs | Google Developers
As far as opening it from AppStudio App, the QML code that you need is Qt.openUrlExternally(target), that's all.
Thank you,
Erwin