Hi
I need to get the following access from the user
"android.permission.READ_CALENDAR"
"android.permission.WRITE_CALENDAR"
manifest:
xxxxxxxxxxxxxxxxxxxxxxxxxx
? ? ? I need to direct the user to the System/Settings/Apps/app X/ Calendar Permissions???
xxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks
I need to get the following access from the user
"android.permission.READ_CALENDAR"
"android.permission.WRITE_CALENDAR"
manifest:
B4X:
AddManifestText(
<uses-permission android:name="android.permission.READ_CALENDAR"/>
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
)
B4X:
RuntimePermissions1.CheckAndRequest("android.permission.READ_CALENDAR")
wait for Activity_PermissionResult (Permission As String, Result As Boolean)
If Result = False Then
Log("NO Permission READ Calendar")
xxxxxxxxxxxxxxxxxxxxxxxxxx
? ? ? I need to direct the user to the System/Settings/Apps/app X/ Calendar Permissions???
xxxxxxxxxxxxxxxxxxxxxxxxxx
Else
RuntimePermissions1.CheckAndRequest("android.permission.WRITE_CALENDAR")
wait for Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
canAccessCal = True
End If
End If
xxxxxxxxxxxxxxxxxxxxxxxxxx
? ? ? I need to direct the user to the System/Settings/Apps/app X/ Calendar Permissions???
xxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks