lrq3000 / iamnotok

(Mirror) An easy to use Android service, that allows the user to send a silent alarm sms with your location to a relative when in danger.
https://code.google.com/p/iamnotok/
1 stars 0 forks source link

gps location does not work #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Always sends unknown location
2.
3.

What is the expected output? What do you see instead?
Should see location, instead see unkown location.

What version of the product are you using? On what operating system?
Newest posted here

Please provide any additional information below.
My GPS is turned on, in fact as soon as this app failed I tested my GPS with 
another app and it worked perfectly. 

Original issue reported on code.google.com by brianrsm...@gmail.com on 21 Jan 2013 at 1:47

GoogleCodeExporter commented 9 years ago
I checked into this problem a little bit more. At first I thought your code was 
timing out when attempting to acquire GPS data. So, I removed your location 
code and supplied my own code that wrote the longitude and latitude locations 
to a text file. This proved to me that the issue is not a time out, the GPS of 
my device worked perfectly and that there is a flaw in the code when trying to 
acquire this data.
I tested this on a Galaxy S3 and S2. In your code, when tested, it turns the 
GPS on, which you can plainly see in the notification area, but when 
translating the data you are getting unknown location, when in actuality the 
location data is present, just not being read correctly.

Original comment by brianrsm...@gmail.com on 22 Jan 2013 at 2:35