Discussion Forums  >  Uncategorized

Replies: 1    Views: 622

delete
Aspiring developer
Profile
Posts: 70
Reg: Jun 18, 2011
location unknow...
700
08/20/11 06:57 PM (14 years ago)

Free app with AdMob: Can I delete all the Permissions except access to the Internet?

Hi Gang, I want to publish a free app with AdMob; however, can you advise me if I can remove all the permissions except the Internet? The reason behind is that I don't want users to think that I am collecting private information. Thanks, R. <!-- 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.READ_PHONE_STATE /> Network communication full Internet access Allows an application to create network sockets. vs This application has access to the following: Your location fine (GPS) location Access fine location sources such as the Global Positioning System on the device, where available. Malicious applications can use this to determine where you are, and may consume additional battery power. Network communication full Internet access Allows an application to create network sockets. Phone calls read phone state and identity Allows the application to access the phone features of the device. An application with this permission can determine the phone number and serial number of this phone, whether a call is active, the number that call is connected to and the like.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/21/11 02:26 AM (14 years ago)
The answer depends on a few different things. I would first check to make sure AdMob does't require these permission in the manifest. They may. They may also require more. As far as removing them, you could. But, you'll need to make some adjustments in the AppDelegate.java file. Look for the initDevice method, this is where the READ_PHONE_STATE AND ACCESS_NETWORK_STATE is needed. You'll see where the device sets it's connection type, make, model, etc. Removing this should not hurt anything. After you remove it, remove the permissions from the manfifest, should work. The ACCESS_FINE_LOCATION permission if for the mapping functions. Removing this will require you to remove anything and everything related to a map. Most of these methods are in the Act_ActivityBase.java file. Look for anyting related to the locationManager
 

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.