mercredi 22 juin 2016

help with run time permissions

I am building a gps app but a can't seem to get the run time permissions right. Is there a best practice in how to use them?

I added this to the Activity_Create

Code:
  rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION)  
and this to the manifest

Code:
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />  
in the Activity_PermissionResult

Code:
  Sub Activity_PermissionResult (Permission As String, Result As Boolean)
If Permission =...
help with run time permissions

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

Aucun commentaire:

Enregistrer un commentaire