Discussion Forums  >  Uncategorized

Replies: 5    Views: 393

piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
08/12/11 05:11 PM (14 years ago)

How to remove GPS from android app w/ eclipse?

I've had a few of my customers e-mail me asking why my app uses GPS, and some have said they won't buy the app because of it. Android is the only platform my apps are on. How do I remove the gps functionality from my apps with either buzztouch or eclipse? Thanks!
 
slater
Android Fan
Profile
Posts: 87
Reg: Aug 09, 2011
St. Pete FL
870
like
08/12/11 05:14 PM (14 years ago)
androidmanifest.xml look for line that says <uses-permission android:name=android.permission.ACCESS_FINE_LOCATION /> Delete. save / export. Give this a try. When you upload to appstore it will tell you what it will warn your customers about.. if its not there then it worked :-)
 
piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
like
08/13/11 01:24 AM (14 years ago)
Thanks! Worked like a charm.. the only problem now is when I first made the app, after I was done uploading it to the market I deleted all the files... including the keystone.. which I realize now is bad because I have no way to update my app without creating a whole new application! :(
 
delete
Aspiring developer
Profile
Posts: 70
Reg: Jun 18, 2011
location unknow...
700
like
08/19/11 06:17 PM (14 years ago)
Hi gang, I left: <!-- permissions --> <uses-permission android:name=android.permission.INTERNET /> I only left this one. I deleted: <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 /> This is what I see at my account: VersionCode: 2 VersionName: 1.4 Size: 328k Localized to: default Permissions: android.permission.INTERNET Features: android.hardware.touchscreen However, this is what I see on the Android Market: Permissions 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. In addition, I changed the size of the letters. I submitted the update about 9 hours ago. How long is going to take effect? People want privacy, and I agree with that, so I really want to remove these features except the Internet permissions. Any advice will be highly appreciate, :-) R.
 
slater
Android Fan
Profile
Posts: 87
Reg: Aug 09, 2011
St. Pete FL
870
like
08/22/11 06:31 PM (14 years ago)
Can anyone answer this?
 
delete
Aspiring developer
Profile
Posts: 70
Reg: Jun 18, 2011
location unknow...
700
like
08/22/11 06:51 PM (14 years ago)
Hi Gang, I found the answer at Google AdMob Ads Android Fundamentals. This is the link:http://code.google.com/mobile/ads/docs/android/fundamentals.html. Look here: Permissions Making ad requests requires the networking permissions INTERNET and ACCESS_NETWORK_STATE, so these must also be declared in the manifest: Leave these two in the manifest: <!-- permissions --> <uses-permission android:name=android.permission.INTERNET /> I only left this one. <uses-permission android:name=android.permission.ACCESS_NETWORK_STATE /> Delete these two in the manisfest: <uses-permission android:name=android.permission.ACCESS_FINE_LOCATION /> <uses-permission android:name=android.permission.READ_PHONE_STATE /> My Android App was submitted yesterday without problem. I hope this helps! :-) R.
 

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.