Camera permission on Android [duplicate]

1

I have the following camera access and storage permission in the AndroidManifest.xml file:

<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

But when I install the application on my Smartphone, the camera permission is disabled, I have to enter the application permissions and manually enable the application to work.

Storage permissions, a question appears when opening the application if the user wants to allow the application to save photos. But the camera does not ask. What should I do for the question to appear for camera permission too?

    
asked by anonymous 09.05.2017 / 23:51

1 answer

-1

The camera does not request user permissions. Change this permission on your AndroidManifest:

<uses-feature
    android:name="android.hardware.camera"
    android:required="true" />
    
10.05.2017 / 00:19