runtime-permissions Questions

6

Solved

It is showing this error here is my permissions <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_...
Aguste asked 24/1, 2019 at 18:3

1

i'm trying to implement Marshmallow's permission support, but my code inside "onRequestPermissionsResult" is never called. When working in an Activity its working but in fragment I am facing the ...
Progesterone asked 16/5, 2017 at 11:0

5

I'm trying to write an app that sends SMS. When checking if I have the required permissions it returns true but still crashes with SecurityException. When button is pressed private void startAuto...
Megavolt asked 27/6, 2017 at 9:38

0

Before you mark this as duplicate, please note that this isn't about granting permissions to the app under test, but the test apk itself. In my app, there's functionality that takes a file from th...
Wexford asked 12/4, 2018 at 8:3

2

Below is my code, i called this code for getting runtime permission. In this case the "shouldshowrequestpermissionrationale always returns false". I cannot find a solution why it is goind like this...
Giro asked 15/8, 2017 at 0:16

1

I'm using Appcelerator studio for developing my app. In this app I'm taking photos from camera and posting them to my server. For Android 6, I'm asking run time permissions from users for using cam...

3

Solved

I'm getting the user's location through Location location = LocationServices.FusedLocationApi.getLastLocation( mGoogleApiClient); This line of code is inside a method and before calling this m...
Dodecahedron asked 1/2, 2016 at 7:11

1

Solved

I am stuck with this issue of Surfaceview and runtime perssion, I have requirement of showing the camera preview using the Surfaceview at a main activity, So i am asking for the runtime permission...
Jackknife asked 21/6, 2017 at 10:49

2

Solved

I am writing a code to ask for multiple run time permission on Android 6.0. I have followed some good example codes, but ActivityCompat.shouldShowRequestPermissionRationale (context, READ_PHONE_STA...
Aristocrat asked 26/4, 2017 at 6:34

2

Solved

I have struggled trying to figure out how the storage system work on Android. Now I am stuck at requesting permission for WRITE_EXTERNAL_STORAGE, and I am using Android 7.1.1. Here is my code...
Tania asked 13/4, 2017 at 7:17

3

Solved

Firstly, I know this is a duplicate question, but I've been over the answers from other similar questions and haven't been able to find success with any of those solutions. I've developed an app w...
Bagwell asked 5/3, 2017 at 13:10

2

Solved

My app uses location permission. If this permission is revoked at runtime from App Settings and coming back to app, the current activity is destroyed and recreated. How to prevent the recreation of...

2

Sorry for my bad english. I have multiple Activity in my app, I need to centralize the runtime app permission. Do I need to use BaseActivity? If yes, please suggest me how to handle it in case ...
Calicut asked 3/10, 2016 at 10:52

1

Solved

I've got a class that extends Activity and implements IOnRequestPermissionsResultCallback. I want to use OnRequestPermissionResult and I coded it exactly as in XamarinBlog (section Handle Permissi...
Avail asked 13/9, 2016 at 15:23

2

Solved

I'm updating my app to be Android 6-compatible. The permission model is not very complex in theory, but now I'm in the process of implementing it and I find myself writing the same ugly boilerplate...

1

Solved

My apps have always used DeviceId as a unique identifier and this, of course, requires READ_PHONE_STATE as a permission. That has been ok in the past but now I have migrated to Marshmellow 23 where...
Erroneous asked 20/8, 2016 at 23:27

1

Solved

I'm using the Android Marshmallow READ_PHONE_STATE permission and I would like to change the text that appears on the permission request. By default it shows: Allow [App name] to make and manag...

0

Device: android 6.0.1 I wrote an app, use WRITE_EXTERNAL_STORAGE permission in manifest, install this app, and then turn on storage permission for this app from settings. adb shell :/ # ps | grep...
Nirvana asked 12/5, 2016 at 12:21

2

Solved

Problem: I have an existing app that I would like to implement Android 6.0's Runtime Permissions on. I have read a lot of different things on Runtime Permissions, but I just can't seem to wrap my ...
Cosine asked 23/1, 2016 at 3:22

1

Solved

I observed the following strange outcome in my real Nexus 5 device, Android 6.0.1 I run the following simple code during my app launched. Pattern emailPattern = Patterns.EMAIL_ADDRESS; // API lev...
Apodosis asked 1/1, 2016 at 23:41

1

Solved

While migrating one of my apps to use the Android 6.0 permissions system, I found it very hard to debug permissions using the emulator. Findings: Disabling a permission in the app info screen do...

4

Solved

For Android, it is required that we ask permissions at runtime to make sure users understand better why en when permissions are needed. I know this is true for permissions like WRITE_CALENDAR and A...

© 2022 - 2024 — McMap. All rights reserved.