Questions tagged [android-permissions]

Permissions in the AndroidManifest.xml that allows an app to perform certain actions that are disallowed by default

3946 questions
1
vote
0 answers

How to store Video on my device on android 11

I am trying to use https://github.com/zoontek/react-native-permissions for storing the video but my video is not getting stored and I am using android 11 I have given the READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE permission. How can I store the…
1
vote
2 answers

Android - Download Unsuccessful and Parsing Error while trying to download and install .apk from server

The goal is to update my app without using the google play store. I’m trying to download a .apk file from a server and then install it programmatically. I’m currently getting an error that the download is unsuccessful and that there was an error…
1
vote
1 answer

Download Manager gives error code 16 with rn-fetch-blob

download manager gives error code 16 with rn-fetch-blob. If I use the android download manager. If I don't, use the android download manager, then the app crashes. android version: 11. Code: let dirs = RNFetchBlob.fs.dirs; RNFetchBlob .config({ …
1
vote
1 answer

RNCGeolocation.requestAuthorization undefined not a function

I can not build for android on react-native. I am getting error about geolocation. All spermissions added to AndroidManifest like the code below; Do you have any idea, how can i solve this issue?
1
vote
0 answers

Not able to access storage in Android 12 using permission handler in flutter

I'm trying to access the "/storage/emulated/0/Download" directory in Android. I'm using the permission_handler package to request this permission. I added READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE in AndroidManifest.xml. The issue is that I am…
Akhil B
  • 69
  • 3
  • 10
1
vote
1 answer

What happened when deny android app' s permission in system settings

Step 1: Open my app Step 2: Open system settings(My app is still alive, not killed) Step 3: Choose a permission of my app(e.g. camera or location), which state is allow and turn it to deny Step 4: Open my app My app dead in Step3, and in Step4 it…
Krahmal
  • 195
  • 13
1
vote
0 answers

ContentResolver (Client App) Can't Get Data from Content Provider (Server App)

I m new to android development. so please accept my apology in advance for any simple questions. My Content Resolver app (Client App) can't get the data from Content Provider (Server App). It is worth mentioning that when i try to test the…
1
vote
1 answer

Android 10: Delete denied by permission:android.permission.ACCESS_MEDIA_PROVIDER

Target SDK in my project is 31 and when I'm trying to delete a file from DCIM directory, I'm getting following error such as delete denied by permission:android.permission.ACCESS_MEDIA_PROVIDER. Please consider file path like this:…
BradPitt
  • 11
  • 3
1
vote
2 answers

Google Play Console - Advertising ID

I am using Unity Ads SDK for my app, so do I need to add the permission for Ad ID? My app targets Android 12 (API 31). And how to do it if so?
user16123931
1
vote
2 answers

Loading all images & videos from gallery in the app activity & selecting some of them

I want to choose multiple media (videos or images) from gallery on clicking a button, but only, after showing all the media from the gallery in activity of my app only, (without opening my phone default gallery) & then, show them in the Recycler…
1
vote
1 answer

What are acceptable permissions for ActivityCompat.requestPermissions() to request?

In my Android app using Java, I define a checkForPermission() method to check the grant status of a single permission. If the permission has not already been granted, it requests this permission from the user using…
1
vote
0 answers

When User rejects background location permissions using ActivityResultLauncher,, the activity is restarted

I am asking for a set of permissions on Android OS 6+ for the use of Bluetooth. Pre-12 the run time permissions required are ACCESS_FINE_LOCATION (for use of the Bluetooth Low Energy Scanner) and ACCESS_BACKGROUND_LOCATION to use the same scanner in…
Brian Reinhold
  • 2,313
  • 3
  • 27
  • 46
1
vote
3 answers

Neither user 10200 nor current process has com.huawei.permission.SECURITY_DIAGNOSE

While trying to implement SafetyNet, I've added this dependency: implementation 'com.huawei.hms:safetydetect:6.3.0.301' And also added the permission to AndroidManifest.xml:
1
vote
1 answer

Android Studio - java.io.FileNotFoundException: /abc.csv open failed: EACCES (Permission denied)

I am trying to read a CSV file, load its content to a spinner. I have given relevant permissions MANAGE_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE to read a file from external storage. I have placed the CSV file in a…
1
vote
0 answers

Can (and how) Android App read the GMAIL (email address) of the play store it was downloaded from?

Android 9 + I was not sure if Account permission is the same as the email address. I have the same app on 2 different phones, I want to understand if they have the same "Account" owner, can it be done…
Si si
  • 317
  • 1
  • 6
1 2 3
99
100