JCGTS
Aspiring developer
Profile
Posts: 31
Reg: Jun 17, 2013
McIntosh
5,610
06/30/13 01:08 PM (12 years ago)

android apps ask for all kinds of permissions. real turn off to customers.

hi there: i am fairly new to android. when i make an android app and install it, the app asks for all kinds of permissions that it doesn't need. how do i make an app that will ask only minimal permissions from the user? Thanks
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/30/13 02:46 PM (12 years ago)
In your AndroidManifest.xml file, your app permissions are listed like... <!-- required device permissions --> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WRITE_CONTACTS" /> remove the ones you don't want/need, but make sure you keep the ones you do! Cheers! -- Smug
 
JCGTS
Aspiring developer
Profile
Posts: 31
Reg: Jun 17, 2013
McIntosh
5,610
like
06/30/13 03:04 PM (12 years ago)
Thank you very much. Excellent answer.
 
Imagenparaweb
Aspiring developer
Profile
Posts: 121
Reg: Dec 13, 2011
Cordoba
1,210
like
07/31/13 06:12 AM (12 years ago)
Hey, what about android.permission.READ_CALL_LOG? It does not appear on the Manifest file but when I upload the app to Google Play it is on the list.. How can I remove it?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/31/13 06:17 AM (12 years ago)
That has to do with the SDK version, although there is a sneaky way around it. http://developer.android.com/reference/android/Manifest.permission.html#READ_CALL_LOG gives you the official version. According to this if you remove 'readcontacts' you might get away with it... http://stackoverflow.com/questions/12963187/google-play-warns-about-added-permission-android-permission-read-call-log Cheers! -- Smug
 
Imagenparaweb
Aspiring developer
Profile
Posts: 121
Reg: Dec 13, 2011
Cordoba
1,210
like
07/31/13 06:26 AM (12 years ago)
Oh, I did not know that ! Thanks Smug, I'll do some tests :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.