[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-11-21 Thread android_dev
Thanks, its working now, i was making mistake in Java side. its working through telnet and DDMS both in windows. thanks a lot On Nov 22, 1:25 am, jotobjects wrote: > Null is a valid return value from this method.  The documentation says > "If the provider is currently disabled, null is returned".

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-11-21 Thread jotobjects
Null is a valid return value from this method. The documentation says "If the provider is currently disabled, null is returned". Possibly there other situations when there is no known last location. http://developer.android.com/reference/android/location/LocationManager.html#getLastKnownLocation%

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-11-21 Thread android_dev
Hi, i am also facing the same problem with android 1.6, i am sending coordinate through telnet but LastKnownLocation is returning null, m using android 1.6 eclipse window vista, am i doing anything wrong in Java code, can please send me java code. is it require any changes in menifest except permis

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-23 Thread jotobjects
Cool. It seems like the best thing is to do both. Call getLastKnownLocation AND register a listener. LastKnownLocation can be null as documented so you have to expect that. And it can be completely wrong if the the phone has been moved (you get off an airplane and turn on your phone). But you

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-23 Thread Brian Conrad
I solved the problem and have it working but not the way it originally worked. Originally in one's code you code set up the location manager and then call from it getLastKnownLocation and get the coordinates. These were what examples did when I first looked at GPS code. That was what got br

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-23 Thread jotobjects
I just used Google Maps to "prove" that geo fix worked and resulted in the platform correctly knowing the location given by geo fix. You might want to try that too to prove that geo fix does or doesn't work in an application other than your own code. That would be interesting confirmation for yo

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-23 Thread Brian Conrad
Are you running on Windows or Linux? I'm running Ubuntu 8.04 and Eclipse. Android acknowledged geo fix was broken in the 1.5 SDK. I am using geo fix to get the longitude and latitude only and not with Google Maps. Everything is set in the manifest correctly too. I have a 20% installed b

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-23 Thread jotobjects
geo fix works for me with both DDMS and the emulator console. Using console this works - telenet localhost 5554 geo fix -117.24 32.883 This locates you in the University of California San Diego campus. I tried this with DDMS manual geo fix and it works there also. My test is using Google Maps

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread Brian Conrad
There is a bug filed for geo fix (not by me but by people who found it earlier). I haven't filed one for DDMS until I'm sure I grok how it works as information still is very sketchy about this stuff and docs rather terse. My app calls getLastKnownLocation when it runs once. It will call it

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread jotobjects
Has there been a bug filed? On Oct 22, 2:11 pm, Brian Conrad wrote: > Thanks. Yes, I know it's been a known issue because I've inquired a > number of times after each update if it's been fixed.   The link you > posted goes back to 2008 but it was working fine in 1.1 last spring.   > It's not wor

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread Brian Conrad
Thanks. Yes, I know it's been a known issue because I've inquired a number of times after each update if it's been fixed. The link you posted goes back to 2008 but it was working fine in 1.1 last spring. It's not working with DDMS either. I'll play around with it some more to try to figure

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread Auguste Lunang
Hi,This is a know issue. One of the discussions you can find here: http://groups.google.com/group/android-beginners/browse_thread/thread/0206ed9cdf7adc81 . Try to use DDMS to fix your GPS coordinates. Hope it helps.. Auguste 2009/10/22 Brian Conrad > > I've tried the geo fix command to set co