you are RUNNING CODE in sub Sub Class_Globals????? REALLY?
the rp-call should not be there.
sorry, no, I did a wrong copy paste in this post. of course it's not in class_globals .
it's in private Sub B4XPage_Created (Root1 As B4XView)
I fixed the code section in the post now
ok, sorry ,-) , let's go on
1. Edit: In B4XPages the permission result event signature is: Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) 2. Important to read: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content If the targetSdkVersion is...
thank you
as I read in the post you linked:
"The CheckAndRequest method can only be called from an Activity."
weird, as point 1 says
1. Edit: In B4XPages the permission result event signature is: Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)
so I am using b4xpages, code is inside sub B4XPage_Created (Root1 As B4XView), i use Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)
... same issue: the app stops there