K kuosda Active Member Licensed User Longtime User Aug 3, 2018 #1 I removed the ToastMessageShow.... status no longer occurs. But I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug? Am I using the error?
I removed the ToastMessageShow.... status no longer occurs. But I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug? Am I using the error?
Geezer Active Member Licensed User Longtime User Aug 3, 2018 #2 Once your app has permission it won't ask for it again unless you reinstall. The toasts won't show if you have notifications for your app turned off Upvote 0
Once your app has permission it won't ask for it again unless you reinstall. The toasts won't show if you have notifications for your app turned off
K kuosda Active Member Licensed User Longtime User Aug 3, 2018 #3 Hello Geezer Only one of the dangerous permission lists will respond to the rest of PResult = false Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2018 #4 I don't understand the question. Upvote 0
K kuosda Active Member Licensed User Longtime User Aug 6, 2018 #5 hello Erel I tried to list the code as (https://www.b4x.com/android/forum/threads/runtime-permission-splash-screen.91847/#post-580168) Only the first time have message box response, after select the permission ,the second time without message box response and Result = false skip directly, is my use error? Upvote 0
hello Erel I tried to list the code as (https://www.b4x.com/android/forum/threads/runtime-permission-splash-screen.91847/#post-580168) Only the first time have message box response, after select the permission ,the second time without message box response and Result = false skip directly, is my use error?
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2018 #6 Please create a small project that demonstrates the problem and upload it. Upvote 0
K kuosda Active Member Licensed User Longtime User Aug 6, 2018 #7 hello Erel This title is wrong and should be changed to "RuntimePermissions bug" but I don't understand how to correct it. No demos Please try to link (https://www.b4x.com/android/forum/threads/runtime-permission-splash-screen.91847/#post-580168) I only tried these codes. Upvote 0
hello Erel This title is wrong and should be changed to "RuntimePermissions bug" but I don't understand how to correct it. No demos Please try to link (https://www.b4x.com/android/forum/threads/runtime-permission-splash-screen.91847/#post-580168) I only tried these codes.
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2018 #8 If you think that there is a bug then create a small project that reproduces it and upload it. Upvote 0
K kuosda Active Member Licensed User Longtime User Aug 6, 2018 #9 Only these codes Only the first time have message box response, Please correct me if I use the error My Android OS: 6.0.1 Attachments RuntimePermissionsDemo.zip RuntimePermissionsDemo.zip 4.2 KB · Views: 392 Upvote 0
Only these codes Only the first time have message box response, Please correct me if I use the error My Android OS: 6.0.1
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2018 #10 Your code is wrong. Watch the runtime permissions video tutorial. As you can see in the above image, only the READ_PHONE_STATE permission is listed. Requesting other permissions at runtime will fail. Upvote 0
Your code is wrong. Watch the runtime permissions video tutorial. As you can see in the above image, only the READ_PHONE_STATE permission is listed. Requesting other permissions at runtime will fail.
K kuosda Active Member Licensed User Longtime User Aug 6, 2018 #11 So should we use the permission list to use it? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2018 #12 The question in this thread is: kuosda said: ut I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug? Click to expand... No, it is not a bug. Only permissions that are listed in the generated manifest file can be requested at runtime. Click on Logs - List Permissions to see the list. kuosda said: So should we use the permission list to use it? Click to expand... If you have any other question then start a new thread. Make sure to make the questions more clear. I don't really understand what you are trying to do. Upvote 0
The question in this thread is: kuosda said: ut I found that using different RuntimePermissions will only respond once and it will not appear. Is this a bug? Click to expand... No, it is not a bug. Only permissions that are listed in the generated manifest file can be requested at runtime. Click on Logs - List Permissions to see the list. kuosda said: So should we use the permission list to use it? Click to expand... If you have any other question then start a new thread. Make sure to make the questions more clear. I don't really understand what you are trying to do.