Most voted "android-permission" questions
Permissions declared in Androidmanifest.xml file to allow an application to perform actions that are not allowed by default.
Learn more…34 questions
Sort by count of
-
11
votes1
answer2979
views"java.lang.Securityexception: Permission Denial" on Android 6 Marshmallow (API 23)
I’m trying to register a broadcastreceiver so I can check a new sms that might arrive on the device. I’m getting an error only on android marshmallow in the following snippet of my code: public…
-
9
votes1
answer5927
viewsFileuriexposedexception error on Android N
Hello friends I am facing the following error: android.os.Fileuriexposedexception: file:///Storage/Emulated/0/Pictures/1488344088086.jpg Exposed Beyond app through Clipdata.item.getUri(). The…
-
4
votes1
answer379
viewsAndroid 6 problem with map.setMyLocationEnabled(true)
I have a problem with the Google Api 23+ specifically in the method mapa.setMyLocationEnabled(true); You need permission to run, and on android 6.0+, I can’t implement the new permissions method.…
android google-maps-android-api-2 android-permissionasked 8 years, 4 months ago Roger Casagrande 123 -
4
votes2
answers498
viewsBlocked installation when debugging app by Android Studio
When trying to debug or install an application I am developing, the following message appears on the device where the APK is being installed. Blocked installation. This app contains code created…
-
4
votes2
answers498
viewsHow can I easily make application location permission?
I found this tutorial https://inthecheesefactory.com/blog/things-you-need-to-know-about-android-m-permission-developer-edition/en but I didn’t understand anything. I looked at this tutorial: //…
-
3
votes1
answer168
viewsAndroid Widget - Permission Denial
I’m having a permission problem that’s gone a little overboard. Inside a widget I inserted a button, that when pressing I receive the following message: 04-13 14:10:44.340: E/databaseutils(2362):…
-
3
votes0
answers100
viewsHow to request permission to access sdcard on Android 6+?
I have an app that accesses sdcard, everything was working perfectly, but I noticed that Android 6 has a permissions system where the user has to accept the permission not when the application is…
-
2
votes1
answer418
viewsHow to minimize the reduction of compatibiliade due to the use of permissions?
In my new version when putting these permissions in Manifest, I had a reduction of compatibility with various devices, would have some way to check this or who does not have support for these…
-
2
votes2
answers1079
viewsPermission for android app
I created an app in eclipse for android, when the phone install it does not give permission, in case it was an APK of web streaming radio, on Samsung devices works 100%, but in Motorola do not work.…
-
2
votes1
answer632
viewsProblems with permission ACCESS_COARSE_LOCATION android studio
I’m building a project that uses the class Gsmcelllocation. I can know such information from the class Telephonymanager. For this, I need permissions where the problem is born. An…
-
2
votes0
answers139
viewsRequesting running permissions on Android Marshmallow
I’m working on a app integrated into the services of GoogleMap. The app was working perfectly but I want to add the controls of permissões for use in API23 (Android Marshmallow). I studied the part…
-
2
votes1
answer618
viewsPermission denied when accessing gallery image
I need to allow the user to choose an image from the gallery and for that I am trying to get the application to request the user’s permission. I created the variable ok to give permission to the…
-
2
votes1
answer3740
viewsCamera permission on Android
I have the following permission to access the camera and store the Androidmanifest.xml file: <uses-permission android:name="android.permission.CAMERA"/> <uses-permission…
android android-camera android-manifest android-permissionasked 7 years, 7 months ago Raphael Prado de Oliveira 1,472 -
2
votes0
answers122
viewsHow to insert Runtime permission into a webview that gets the user’s location?
So.. I’m starting to create a webview and the site I’m basing on has an option to get the coordinates from a certain location, on the site this works perfectly, but when I put on APP he opens the…
-
1
votes1
answer1944
viewsError 505 when installing Google Play App on Lollipop
I’m a developer and I’m having trouble installing an app in the Lollipop version. I did some research and I believe it’s a duplicity error Packages, ie have two Apps calling the same package (but…
-
1
votes2
answers129
viewsSilent applications
Some applications or most of them have an "unassisted" or silent installation option, known as Silent install, which is to install an application without the user or support team needing to interact…
-
1
votes1
answer400
viewsRuntime Permissions Android
I am having some difficulty in being able to request the permissions in Runtime, only the permissions accepting dialog of one of the two required permissions is shown when I click the button.…
-
1
votes0
answers12
viewsAndroid project does not delete record in Sqlite database
My application makes insertions and reading the existing records in the Sqlite database, but when I will run a delete I have the following log message: W/Fileutils: Failed to…
-
1
votes1
answer1542
viewsjava.lang.Securityexception: Permission Denial: Tarting Intent
I’m developing an Android phone call app. Give me the following exception: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.CALL dat=tel:xxxxxxxxx…
-
1
votes1
answer3152
viewsError: The apk has Permissions that require a Privacy policy set for the app, e.g: android.permission.CAMERA
I’m trying to publish an APP in my test stores, build works normal, but when I try to publish in the store appears the error described above. For what I have visa it is necessary to inform in Google…
-
1
votes0
answers29
viewsProblems with localization request
Hello, good afternoon! I am having problems with the return of my location in my code (it is also not asking permission to the user) CODE OF ACTIVITY public class GPSActivity extends…
java android android-studio google-maps android-permissionasked 6 years ago Gabriel Júnior de Souza 13 -
0
votes2
answers122
viewsandroid.permission.MODIFY_PHONE_STATE - How to assign system permission?
People need to use in my App the following permission: android.permission.MODIFY_PHONE_STATE But it shows an error in Manifest saying that permission is only granted to system apps. I need to…
-
0
votes2
answers192
viewsAndroid Activitycompat
Hello by I searched from android 7.1, it is necessary to request permission running for user and it is necessary to use the class ActivityCompat for this purpose, my application saves a PDF on disk…
-
0
votes2
answers66
viewsWhat permissions need to be requested at runtime?
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission…
-
0
votes1
answer1193
viewsPermission Denial: Starting Intent with revoked permission android.permission.CAMERA
Code to call camera public void TirarFoto() { final Random numRandomico = new Random(); String resultado = String.valueOf(numRandomico.nextInt(20)); Intent intent = new…
-
0
votes2
answers771
viewsSecurityexception android
When I run in Android Studio the code below: public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
0
votes1
answer42
viewsConnection problem with Database
I made a program to try to connect to a hosted database. However an error is occurring : 08-30 10:42:13.088 1710-1710/genus.qrcodefinal E/log_tag: Error in http Connection…
-
0
votes1
answer234
viewsError trying to fetch location
I have a project that when accessing Activity, it already searches the place and fills the data, to save them, later. But when it is the first access, when searching for permissions, he always…
-
0
votes1
answer119
viewsError java.lang.Nosuchmethoderogate: Mainactivity.checkSelfPermission
I am making several attempts, but I cannot get the current location of a user using the Location API. I am running the following example: public class MainActivity extends AppCompatActivity…
-
0
votes2
answers664
viewsDifficulty with Permission Location Android
I’m trying to get a project up and running open-source found on the internet but I’m having some problems trying to implement the permissions for Location now required by compileSdkVersion 23 and…
-
0
votes1
answer11327
viewsGet permission to write to SD card on Android 6+
I’m creating an app that reads and writes files on Android, it turns out I can’t get permission to record on the device’s external storage. After researching I saw that I need to call this screen to…
-
0
votes1
answer781
viewsRuntime permissions on android
I have a code in android studio that asks the user, permission to use the phone service (to pick up Imei) well, my code is working perfectly, with a problem, when entering the page, a message is…
-
0
votes1
answer79
viewsContinue code after accepting permissions, Android Studio
Good night. I am trying to make a page just to request the necessary permissions and then forward users to another application activity, however I am not able to make after accepting the permissions…
-
-1
votes1
answer678
viewsPermission error in Android Studio
I’m adding a function in the application I’m developing in android studio, which makes direct links from the app, but this error is asking for some kind of permission, and I’ve already added…