samedi 27 août 2016

Persist GPS

In an app with several Activity's, GPS is turned on in Main in Activity_Resume and turned off in Activity_Pause. I'd like to keep the GPS on when going to another Activity within the application (and during an orientation change), but turn off when killing the application or clicking a button to turn it off. From the lifecycle tutorial, these are the four conditions when Activity_Pause is called, and are occurring in the app:

1. A different activity was started.
2. The Home button was...

Persist GPS

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bWPGVR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire