(Android 23 and higher) Dangerous permissions can give the app access to the user's confidential data. If your app lists a normal permission in its manifest, the system grants the permission automatically. If you list a dangerous permission, the user has to explicitly give approval to your app.
Questions tagged [dangerous-permissions]
7 questions
5
votes
1 answer
Android runtime permissions process: Can I send extras with ActivityCompat.requestPermissions?
Are there any methods to send bundle/extras (like what we do with intents) during a request for granting dangerous permissions of android?
In normal process for granting dangerous permissions for android, we should call…

VSB
- 9,825
- 16
- 72
- 145
3
votes
1 answer
READ_PHONE_NUMBERS not working below android O
I am requesting this permission READ_PHONE_NUMBERS . On and above 26 is working fine but below 26 the permission dialog to show allow and deny is not popping up. Coded as below .
ActivityCompat.requestPermissions(mActivity, new…

SimpleCoder
- 1,665
- 1
- 21
- 34
1
vote
2 answers
Can we get dangerous permissions without asking for it in Android?
My understanding is this that we cannot use dangerous features of Android without asking the permissions for it. But I came across this application which is a camera application. I have installed it on 3 devices all above android Marshmallow but it…

Aiman Muzafar
- 385
- 1
- 4
- 11
0
votes
1 answer
android app not asking for permissions after getting installed
I created an app and its supposed to ask for permissions at run time . But its not asking for any permissions. I am able to grant permissions manually from settings but its not requesting permissions on its own. Also when click on button,its…
user8549777
0
votes
1 answer
Cant see dialog-box for dangerous permission on the fly
I tried to test my GPS permission on my app .
I have built permission manager and added GPS permission in the manifest because GPS is a dangerous permission.
However, when I run my app I cannot see any dialog box for this permission,
because of that…

Tamir Abutbul
- 7,301
- 7
- 25
- 53
-1
votes
1 answer
How to migrate to API level > 22 in my Android app code?
I am trying to migrate legacy code of my customer's Android app source code. Since i am going for API level > 22 (26 to be exact), what are my options or ways to know all the places in the large codebase, where i need to put in code explicitly for…

Akash Agarwal
- 39
- 9
-2
votes
1 answer
Android / Turning on dangerous permissions automatically without user's consultation
requestPermissions(permissionsToRequest.toArray(new String[permissionsToRequest.size()]), 101);
In Android, after Marshmallow version, is there any way to turn on dangerous permissions like accessing device's fine location, camera or microphone…

V. Raman
- 211
- 1
- 4
- 17