android-permissions Questions

11

Solved

When it comes to the M Developer Preview runtime permissions, according to Google: If you have never asked for a certain permission before, just ask for it If you asked before, and the user said ...
Davenport asked 10/8, 2015 at 20:48

9

Solved

Trying to implement the notification permission for android 13 or "Tiramisu" but failed to get the import for that permission. Currently: targeted SDK version is 32 compile SDK version is...
Combings asked 26/5, 2022 at 8:11

1

Solved

Introducing app using Cordova 12 which requires target SDK Android 13 / API 33. My app depends on the following plugins (among many others)... cordova-plugin-camera cordova-plugin-media-capture Bo...

4

Solved

I'm using the accompanist library for handling permissions in jetpack compose. The sample code in the docs doesn't have a scenario to handle permissions such as checking permission on button clicks...

2

Solved

In Shot:, In onRequestPermissionsResult grantResults on some device return empty and some device have a value PackageManager.PERMISSION_DENIED when user decline the permission. I have implmeneted ...

0

I'm using Settings.ACTION_APPLICATION_DETAILS_SETTINGS in order to request when the user does not grant permission in purpose. Intent intent = new Intent(); intent.setAction(Settings.ACTION_APPLICA...
Hanks asked 23/8, 2023 at 6:14

1

I've been working lately on a method that checks and asks for location permission. I followed android's guideline for implementing user permissions but I also added some stuff to manage the case wh...
Nagel asked 24/8, 2022 at 21:12

2

Solved

I am trying to request permissions using ActivityResultLauncher with ActivityResultsContract.RequestMultiplePermissions. import android.content.pm.PackageManager; import android.os.Bundle; import a...
Saponaceous asked 4/3, 2021 at 12:27

2

In Android Studio I created an emulator... avdmanager create avd --force --name testAvd --abi google_apis_playstore/x86 --package "system-images;android-29;google_apis_playstore;x86" and tried to...
Saltpeter asked 21/1, 2020 at 20:38

1

Hy guys Situation I have been updated MyApp to target Android 12 and ran into some odd behavior with the new SCHEDULE_EXACT_ALARM permission. I have following problem with the new introduced permis...

3

Solved

If an app calls ActivityCompat.requestPermissions(...), the OS displays a dialog with "Deny" and "Permit" buttons. There is also a "Never show this again" tick box. Th...
Bluing asked 19/10, 2015 at 21:42

4

I have defined all the dangerous permissions in a String array as below: String[] perms = {Manifest.permission.READ_CONTACTS, Manifest.permission.READ_PHONE_STATE, Manifest.permission.CALL_PHONE...
Ludwick asked 9/2, 2017 at 17:35

3

Solved

I need to ask for runtime permission to use camera in my fragment class.my code is like this.. int currentapiVersion = android.os.Build.VERSION.SDK_INT; if (currentapiVersion >= Build.VERSION...

7

I'm using Espresso and UIAutomator to write my test cases. I'm testing external storage permissions when it's denied and when it's allowed. I have different test cases which all require the permiss...

1

I am a little bit curious about the new permission model for android M and above especially about the method "shouldShowRequestPermissionRationale()". In the Documentation : To help find...
Sagerman asked 16/11, 2016 at 12:46

4

Solved

I start image picker intent using: final Intent pickIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); pickIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); s...

6

In my android app, I am trying to load a webpage (that must access the camera) on WebView. On my laptop, when I load the webpage, I could access the camera. Everything else on the html page is sho...
Tanning asked 17/11, 2016 at 15:45

12

Solved

Bluetooth is the main dependency of our app. So, We already try to implement new Android 12 Bluetooth permissions. Our only resource is Android developers New Bluetooth permissions in Android 12. T...

2

Steps to replicate: react-native init project <add code below to the project(App.js component)> react-native run-android I called the function in onPress of a text component. The permi...
Clinician asked 11/4, 2018 at 9:13

10

Background I'm trying to create an app that can grant and revoke permissions of other apps. To do this I'm using adb commands: pm grant packageName permissionName This works great if I call it...
Chemoprophylaxis asked 29/8, 2018 at 14:3

2

Solved

So, I've been experimenting with the new Android emulators (namely Android 13 or Android Tiramisu, API 33) and on an app, I need a foreground service. The app's target SDK is currently 33. Due to t...
Submersed asked 21/7, 2022 at 14:23

12

Solved

I'm trying to write code to send an SMS from an Android app, but when I try to send the SMS it sends me back the error: 09-17 18:37:29.974 12847-12847/**.**.****E/AndroidRuntime﹕ FATAL EXCEPTION: ...
Halfcocked asked 17/9, 2015 at 16:44

3

Solved

Constant USE_FINGERPRINT was deprecated in API level 28 and we should use more generic USE_BIOMETRIC which has been added in same API level. I swap these constants in my Manifest and I'm getting e...

2

Solved

In API 33 (Android 13), granular media permissions have been introduced, and developers have to request these granular permissions instead of READ_EXTERNAL_STORAGE. READ_MEDIA_AUDIO is one such gra...
Crochet asked 7/10, 2022 at 10:2

4

Solved

I want to call Emergency number using Android SDK. I am using following code to call the number (911). This code works fine for all the numbers except 911 (Emergency Number). When I use 911, then ...

© 2022 - 2024 — McMap. All rights reserved.