hi,
i have created an application where i am storing current lat long through position source element, i want to know does this element work and save my coordinate even when the application is closed whole time until some condition meet.
hi @ErwinSoekianto
i am trying to get state of application in qml
console.log(Qt.application.state);
but how to make gps work on 2 states active and hidden. when it is active it return 4 and when i close the app with middle button. it return 0, and i have to make gps working in both state.
How to do it.
Thanks in advance
i have enabled the location in capabilities in background modes.
@rsharma
It sounds like you are describing "Background Location" functionality, is it correct? https://doc.arcgis.com/en/appstudio/extend-apps/capabilities.htm (see Background Location section.)
Erwin
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.