Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ICS Android enable gps programmatically?

I know this question been asked a lot here, but just wondering since ICS got released, is there a way to enable gps programmatically?

am trying to enable gps and send the location of the device to an email, the app will start when it receives an sms message.

like image 964
HeWhoProtects Avatar asked Apr 24 '12 17:04

HeWhoProtects


1 Answers

is there a way to enable gps programmatically?

I hope not, as that would be a privacy flaw. AFAIK, all known holes that allowed malware to enable GPS programmatically have now been closed.

am trying to enable gps and send the location of the device to an email

The user controls whether GPS is enabled or not.

like image 111
CommonsWare Avatar answered Oct 21 '22 06:10

CommonsWare