dev1303 / gtalksms

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

GTalkSMS is unable to enable/disable the GPS #216

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The code was working on my SGS with 2.1 / 2.2, but with 2.3.3 the "where" 
command does not enable the GPS if it's disabled.

Original issue reported on code.google.com by fschm...@gmail.com on 25 Aug 2011 at 3:27

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 25 Aug 2011 at 6:14

GoogleCodeExporter commented 8 years ago
Also seems to be non functional on my Huewai u8100 rooted and running Android 
2.1 pro Celestial V2 from XDA 
http://forum.xda-developers.com/showthread.php?t=741643

Original comment by snkiz...@gmail.com on 30 Aug 2011 at 12:58

GoogleCodeExporter commented 8 years ago
Smashed my screen so I have a new phone; Alcatel onetouch 908s stock 2.2.2 
Froyo (No Root, yet.) still doesn't work. Throws this error:

Could not enable GPS: java.lang.NoSuchMethodException: updateProviders

I do get a "Last known location", and current location from the cell towers, 
but now it wont shut off.

Original comment by snkiz...@gmail.com on 11 Oct 2011 at 6:50

GoogleCodeExporter commented 8 years ago
Programmatically enabling/disabling of the GPS was never supported by the 
Android API. All methods for 2.2, 2.3 and so on where "internal" hacks, that 
fail on one device or another software version.

I am going to set this to done, since we are able to start and stop the GPS on 
most devices. If you have an device that doesn't work AND you know the internal 
API (code snippets) that allow use to do so, please drop us an mail.

Original comment by fschm...@gmail.com on 2 Nov 2011 at 7:34