[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-05 Thread Georgy
I just noticed that it's just the current location. Even when I hardcode a specific location, the map would not move!! PS: I just updated my device to 1.5 thought it might help but no luck On Jun 5, 12:08 am, iDeveloper wrote: > Can someone please help me with this Have been trying to solv

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread iDeveloper
Can someone please help me with this Have been trying to solve this problem for the past week now. The GPS notification icon is there all the time, but I can't get a fix. Can anyone please tell me what could possibly be the problem? On 05-Jun-09, at 1:31 AM, Georgy wrote: > > Correcti

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread iDeveloper
I still have the problem. I get the GPS icon but not the location... On 05-Jun-09, at 1:31 AM, Georgy wrote: > > Correction: I meant I AM getting the GPS notification on the screen > (GPS is enabled from the phone) > > On Jun 4, 1:21 pm, Georgy wrote: >> I am getting the same issue as iDevelo

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread Georgy
Correction: I meant I AM getting the GPS notification on the screen (GPS is enabled from the phone) On Jun 4, 1:21 pm, Georgy wrote: > I am getting the same issue as iDeveloper. I tried playing around with > the listener  (putting 2, 200, or 2000) , but the thing is the map is > not changing at

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread Georgy
I am getting the same issue as iDeveloper. I tried playing around with the listener (putting 2, 200, or 2000) , but the thing is the map is not changing at all. Also, I am not getting the GPS icon on the phone screen. any luck? thanks PS: Everything is working perfectly with the emulator On

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread iDeveloper
I removed the code from onProviderDisabled. Had some other code there initially (was getting location from network - but thats very inaccurate) Also tried changing the 2000 to 2 but it doesn;t make a difference. I still can't get a fix. Any help please? On 02-Jun-09, at 4:03 PM, Mark Mur

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread Mark Murphy
iDeveloper wrote: > Hi > > This is what I tried based on the suggestions in the below chain mail > > MyLocationListener myListener = new MyLocationListener(); > LocationManager myManager = > (LocationManager)getSystemService(LOCATION_SERVICE); > myManager.requestLocationUpdates(LocationManager.G

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread Sujay Krishna Suresh
try changing the 2000 to 0... On Tue, Jun 2, 2009 at 3:08 PM, iDeveloper wrote: > The GPS icon shows up, stays there for some time but for some reason can't > get a fix, even outdoors.Anything wrong with the code? I can't figure out > if there is. > > > On 02-Jun-09, at 2:54 PM, Sujay Krishna Su

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread iDeveloper
The GPS icon shows up, stays there for some time but for some reason can't get a fix, even outdoors. Anything wrong with the code? I can't figure out if there is. On 02-Jun-09, at 2:54 PM, Sujay Krishna Suresh wrote: > check if ur gps got a location fix... if the gps icon in the > notificat

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread Sujay Krishna Suresh
check if ur gps got a location fix... if the gps icon in the notification space keeps blinkin then there's some prob... u better move to a place where sunlight falls directly on ur phone then it might work... it worked for me tat way... but i dunno y... On Tue, Jun 2, 2009 at 2:47 PM, iDevelo

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread iDeveloper
Hi This is what I tried based on the suggestions in the below chain mail MyLocationListener myListener = new MyLocationListener(); LocationManager myManager = (LocationManager)getSystemService(LOCATION_SERVICE); myManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 2000, 0, myListene

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-01 Thread Mark Murphy
> I know this has been discussed over and over now but I just got it > workign and it works perfectly on the emulator when I mock the > location with long and lat however, I am still getting NULL in the > location when I run the code on my phone. I'm pretty sure I answered your question when you

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-05-29 Thread Mark Murphy
Georgy wrote: > I know this has been discussed over and over now but I just got it > workign and it works perfectly on the emulator when I mock the > location with long and lat however, I am still getting NULL in the > location when I run the code on my phone. > > here's the main code > > ... >