Hi,
I have tried to run my application on Android phone from AppStudio Player and installed from apk file. AppStudio Player disables screen timeout and application view stays the same for all time of using no matter there are some actions on it or not.
If I use application installed from apk, then after time specified in phone Screen timeout setting application goes to screen saving mode (gets dark).
Is it possible using ArcGIS AppStudio API to get the same behavior like from AppStudio Player? Is there another way to get avoid screen timeout?
Solved! Go to Solution.
Hi.
The AppStudio AppFramework Platform component includes a "stayAwake" property which you can set to prevent your custom app from going to sleep.
You can find the documentation for this here:
https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-platform-platform
Hi.
The AppStudio AppFramework Platform component includes a "stayAwake" property which you can set to prevent your custom app from going to sleep.
You can find the documentation for this here:
https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-platform-platform
Thank you for the solution. It works fine.