how to call user mobile other application from inside my qml application.
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
Hi erwin,
I want to know about non arcgis apps like open youtube and google maps .
How to open them from arcgis apps
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<SPAN class="punctuation token">.</SPAN><SPAN class="token function">openUrlExternally</SPAN><SPAN class="punctuation token">(</SPAN>arcgis<SPAN class="operator token">-</SPAN>survey123<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">/</SPAN><SPAN class="operator token">/</SPAN><SPAN class="operator token">?</SPAN>itemID<SPAN class="operator token">=</SPAN>89bc8c7844e548e09baa3aad4695e78b<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Qt<SPAN class="punctuation token">.</SPAN><SPAN class="token function">openUrlExternally</SPAN><SPAN class="punctuation token">(</SPAN>https<SPAN class="punctuation token">:</SPAN><SPAN class="operator token">/</SPAN><SPAN class="operator token">/</SPAN>survey123<SPAN class="punctuation token">.</SPAN>arcgis<SPAN class="punctuation token">.</SPAN>app<SPAN class="operator token">/</SPAN><SPAN class="operator token">?</SPAN>itemID<SPAN class="operator token">=</SPAN>36ff9e8c13e042a58cfce4ad87f55d19<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
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
Erwin.
cc ArcGIS AppStudio does AppFramework have any helpers for this?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.