Kanaksinh / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Control GPS state #215

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This app has been good to me so far. I like the remote control features, 
however one glaring omission is gps. I want to be able to turn on gps with a 
command like bluetooth. Lets face it no one leaves their gps turned on, it uses 
too much juice. This problem makes the location feature next to useless.

Keep up the great work, cheers!

Original issue reported on code.google.com by snkiz...@gmail.com on 25 Aug 2011 at 12:24

GoogleCodeExporter commented 8 years ago
The `where` command should already enable the GPS. Or are you asking to 
enable/disable just the GPS without sending a location message?

Original comment by fschm...@gmail.com on 25 Aug 2011 at 7:20

GoogleCodeExporter commented 8 years ago
I was under the understanding that you had to have gps already turned on. I'll 
admit I hadn't tried it til now. And it did not turn on my gps. I received the 
start locating phone msg but then nothing. Yes it would also be handy to be 
able to turn on gps with out the location ping. there are lots of services that 
allow you to locate your phone while gps is on, Latitude comes to mind.

Original comment by snkiz...@gmail.com on 25 Aug 2011 at 12:38

GoogleCodeExporter commented 8 years ago
I should add I am running rooted A few other apps that claim to have this 
capability sate they require root to do it.

Original comment by snkiz...@gmail.com on 25 Aug 2011 at 1:11

GoogleCodeExporter commented 8 years ago
Enabling the GPS without user interaction and without root is only possible 
with some java magic to reach the internal API (Just as it is with the 
telephone manager: see issue 210). In the past GTalkSMS was able to activate 
the GPS, but I just found out that it stopped working on my Galaxy S. Maybe 
because of the Gingerbread update (2.3.3). As google doesn't need to document 
the internal API, things are subject to change and maybe this just happened 
with 2.3.

I'll leave this issue as the new enhancement to control the GPS just like it's 
done with bluetooth and added a new bug as blocker.

Original comment by fschm...@gmail.com on 25 Aug 2011 at 3:32

GoogleCodeExporter commented 8 years ago
That's a little worrisome. I'm on a 2.1 custom rom 

Original comment by snkiz...@gmail.com on 25 Aug 2011 at 7:37

GoogleCodeExporter commented 8 years ago
Well, maybe the custom rom has different internal APIs. In that case it is very 
likely that we'll never be able to turn the GPS on. Please report in issue 216 
if it's still not working after we have relased GTalkSMS with an fix for issue 
216 and make sure to state the name of your custom rom also :)

Original comment by fschm...@gmail.com on 25 Aug 2011 at 8:31