[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
no it will chanhe , yo can see by by loading kml file into ddms and press play button in bellow the kml table.yo can the locaton was moving and your location chnged method is called for testing hat put log in on location changed On 6/27/09, Andrew Gee wrote: > > Hi, > > I've just started android development and have come into a problem. > Before I explain, you can find the code I have at > http://pastebin.com/m5ca71390 > > I have created a LocationListener class, as you can see, called > MyLocationListener. I have onLocationChanged in that class which grabs > the location change and creates a Toast notification and updates two > TextViews on the interface. > > You can see the LocationManager variable where the > requestLocationUpdates method is called, referencing the > MyLocationListener object. > > ==The Problem== > Using DDMS, I change the location information. The first time I set > this I see the Toast notification and the TextView objects update, > showing the latitude and longitude. > > But subsequence changes do not get recognised by the application, as > onLocationChanged is not called at all. > > Does anyone have any good ideas? It would be very much appreciated. > > Thanks, > Andrew Gee > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
On Jul 7, 11:39 pm, kartheek karthikeya wrote: > no it will chanhe , yo can see by by loading kml file into ddms and > press play button in bellow the kml table.yo can the locaton was > moving and your location chnged method is called for testing hat put > log in on location changed Thanks for the response but, The location does not change in the emulator. I have even tried using the Google Maps application. Any other ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
Your code seems to work fine. Your Toast notification does pop up when location changes. Do you have "Enable GPS satellites" setting on? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 9, 7:23 am, Andrew Gee wrote: > On Jul 7, 11:39 pm, kartheek karthikeya > wrote: > > > no it will chanhe , yo can see by by loading kml file into ddms and > > press play button in bellow the kml table.yo can the locaton was > > moving and your location chnged method is called for testing hat put > > log in on location changed > > Thanks for the response but, > > The location does not change in the emulator. I have even tried using > the Google Maps application. > > Any other ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 sends one update and does not trigger an location updates anymore. Same as I manually add a GPS location using DDMS. Tested with both my own application as well as the Google Maps application. In the emulator settings I got both 'Use wireless networks' as well as 'enable GPS satellites' switched on. anyone experiencing the same with 1.5R3? On Jul 10, 12:08 am, Jack Ha wrote: > Your code seems to work fine. Your Toast notification does pop up > whenlocationchanges. Do you have "Enable GPS satellites" setting on? > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this email are those of > the author solely in their individual capacity, and do not > necessarily represent those of T-Mobile USA, Inc. > > On Jul 9, 7:23 am, Andrew Gee wrote: > > > > > On Jul 7, 11:39 pm, kartheek karthikeya > > wrote: > > > > no it will chanhe , yo can see by by loading kml file into ddms and > > > press play button in bellow the kml table.yo can the locaton was > > > moving and yourlocationchnged method is called for testing hat put > > > log in onlocationchanged > > > Thanks for the response but, > > > Thelocationdoes not change in the emulator. I have even tried using > > the Google Maps application. > > > Any other ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
Yes, same problem for me... On 21 juil, 16:50, Friso wrote: > I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 > sends one update and does not trigger an location updates anymore. > Same as I manually add a GPS location using DDMS. Tested with both my > own application as well as the Google Maps application. In the > emulator settings I got both 'Use wireless networks' as well as > 'enable GPS satellites' switched on. > > anyone experiencing the same with 1.5R3? > > On Jul 10, 12:08 am, Jack Ha wrote: > > > > > Your code seems to work fine. Your Toast notification does pop up > > whenlocationchanges. Do you have "Enable GPS satellites" setting on? > > > -- > > Jack Ha > > Open Source Development Center > > ・T・ ・ ・Mobile・ stick together > > > The views, opinions and statements in this email are those of > > the author solely in their individual capacity, and do not > > necessarily represent those of T-Mobile USA, Inc. > > > On Jul 9, 7:23 am, Andrew Gee wrote: > > > > On Jul 7, 11:39 pm, kartheek karthikeya > > > wrote: > > > > > no it will chanhe , yo can see by by loading kml file into ddms and > > > > press play button in bellow the kml table.yo can the locaton was > > > > moving and yourlocationchnged method is called for testing hat put > > > > log in onlocationchanged > > > > Thanks for the response but, > > > > Thelocationdoes not change in the emulator. I have even tried using > > > the Google Maps application. > > > > Any other ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
me too.Both 1.5R2 1.5R3. any idea ? On 7月28日, 上午6時19分, Zoorg wrote: > Yes, same problem for me... > > On 21 juil, 16:50, Friso wrote: > > > I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 > > sends one update and does not trigger an location updates anymore. > > Same as I manually add a GPS location using DDMS. Tested with both my > > own application as well as the Google Maps application. In the > > emulator settings I got both 'Use wireless networks' as well as > > 'enable GPS satellites' switched on. > > > anyone experiencing the same with 1.5R3? > > > On Jul 10, 12:08 am, Jack Ha wrote: > > > > Your code seems to work fine. Your Toast notification does pop up > > > whenlocationchanges. Do you have "Enable GPS satellites" setting on? > > > > -- > > > Jack Ha > > > Open Source Development Center > > > ・T・ ・ ・Mobile・ stick together > > > > The views, opinions and statements in this email are those of > > > the author solely in their individual capacity, and do not > > > necessarily represent those of T-Mobile USA, Inc. > > > > On Jul 9, 7:23 am, Andrew Gee wrote: > > > > > On Jul 7, 11:39 pm, kartheek karthikeya > > > > wrote: > > > > > > no it will chanhe , yo can see by by loading kml file into ddms and > > > > > press play button in bellow the kml table.yo can the locaton was > > > > > moving and yourlocationchnged method is called for testing hat put > > > > > log in onlocationchanged > > > > > Thanks for the response but, > > > > > Thelocationdoes not change in the emulator. I have even tried using > > > > the Google Maps application. > > > > > Any other ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
Same problem here 1.5r3 On Jul 31, 12:32 pm, allen wrote: > me too.Both 1.5R2 1.5R3. > > any idea ? > > On 7月28日, 上午6時19分, Zoorg wrote: > > > Yes, same problem for me... > > > On 21 juil, 16:50, Friso wrote: > > > > I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 > > > sends one update and does not trigger an location updates anymore. > > > Same as I manually add a GPS location using DDMS. Tested with both my > > > own application as well as the Google Maps application. In the > > > emulator settings I got both 'Use wireless networks' as well as > > > 'enable GPS satellites' switched on. > > > > anyone experiencing the same with 1.5R3? > > > > On Jul 10, 12:08 am, Jack Ha wrote: > > > > > Your code seems to work fine. Your Toast notification does pop up > > > > whenlocationchanges. Do you have "Enable GPS satellites" setting on? > > > > > -- > > > > Jack Ha > > > > Open Source Development Center > > > > ・T・ ・ ・Mobile・ stick together > > > > > The views, opinions and statements in this email are those of > > > > the author solely in their individual capacity, and do not > > > > necessarily represent those of T-Mobile USA, Inc. > > > > > On Jul 9, 7:23 am, Andrew Gee wrote: > > > > > > On Jul 7, 11:39 pm, kartheek karthikeya > > > > > wrote: > > > > > > > no it will chanhe , yo can see by by loading kml file into ddms and > > > > > > press play button in bellow the kml table.yo can the locaton was > > > > > > moving and yourlocationchnged method is called for testing hat put > > > > > > log in onlocationchanged > > > > > > Thanks for the response but, > > > > > > Thelocationdoes not change in the emulator. I have even tried using > > > > > the Google Maps application. > > > > > > Any other ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
HELLL! (same, 1.5r3) On Sep 6, 3:08 am, piuccio wrote: > Same problem here > 1.5r3 > > On Jul 31, 12:32 pm, allen wrote: > > > me too.Both 1.5R2 1.5R3. > > > any idea ? > > > On 7月28日, 上午6時19分, Zoorg wrote: > > > > Yes, same problem for me... > > > > On 21 juil, 16:50, Friso wrote: > > > > > I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 > > > > sends one update and does not trigger an location updates anymore. > > > > Same as I manually add a GPS location using DDMS. Tested with both my > > > > own application as well as the Google Maps application. In the > > > > emulator settings I got both 'Use wireless networks' as well as > > > > 'enable GPS satellites' switched on. > > > > > anyone experiencing the same with 1.5R3? > > > > > On Jul 10, 12:08 am, Jack Ha wrote: > > > > > > Your code seems to work fine. Your Toast notification does pop up > > > > > whenlocationchanges. Do you have "Enable GPS satellites" setting on? > > > > > > -- > > > > > Jack Ha > > > > > Open Source Development Center > > > > > ・T・ ・ ・Mobile・ stick together > > > > > > The views, opinions and statements in this email are those of > > > > > the author solely in their individual capacity, and do not > > > > > necessarily represent those of T-Mobile USA, Inc. > > > > > > On Jul 9, 7:23 am, Andrew Gee wrote: > > > > > > > On Jul 7, 11:39 pm, kartheek karthikeya > > > > > > wrote: > > > > > > > > no it will chanhe , yo can see by by loading kml file into ddms > > > > > > > and > > > > > > > press play button in bellow the kml table.yo can the locaton was > > > > > > > moving and yourlocationchnged method is called for testing hat put > > > > > > > log in onlocationchanged > > > > > > > Thanks for the response but, > > > > > > > Thelocationdoes not change in the emulator. I have even tried using > > > > > > the Google Maps application. > > > > > > > Any other ideas? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once
Issue reported here http://code.google.com/p/android/issues/detail?id=2545 workaround on comment 38, it worked for me http://code.google.com/p/android/issues/detail?id=2545#c38 There's a problem with the time zone On Sep 11, 7:20 am, Erik Babel wrote: > HELLL! > > (same, 1.5r3) > > On Sep 6, 3:08 am, piuccio wrote: > > > Same problem here > > 1.5r3 > > > On Jul 31, 12:32 pm, allen wrote: > > > > me too.Both 1.5R2 1.5R3. > > > > any idea ? > > > > On 7月28日, 上午6時19分, Zoorg wrote: > > > > > Yes, same problem for me... > > > > > On 21 juil, 16:50, Friso wrote: > > > > > > I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 > > > > > sends one update and does not trigger an location updates anymore. > > > > > Same as I manually add a GPS location using DDMS. Tested with both my > > > > > own application as well as the Google Maps application. In the > > > > > emulator settings I got both 'Use wireless networks' as well as > > > > > 'enable GPS satellites' switched on. > > > > > > anyone experiencing the same with 1.5R3? > > > > > > On Jul 10, 12:08 am, Jack Ha wrote: > > > > > > > Your code seems to work fine. Your Toast notification does pop up > > > > > > whenlocationchanges. Do you have "Enable GPS satellites" setting on? > > > > > > > -- > > > > > > Jack Ha > > > > > > Open Source Development Center > > > > > > ・T・ ・ ・Mobile・ stick together > > > > > > > The views, opinions and statements in this email are those of > > > > > > the author solely in their individual capacity, and do not > > > > > > necessarily represent those of T-Mobile USA, Inc. > > > > > > > On Jul 9, 7:23 am, Andrew Gee wrote: > > > > > > > > On Jul 7, 11:39 pm, kartheek karthikeya > > > > > > > wrote: > > > > > > > > > no it will chanhe , yo can see by by loading kml file into ddms > > > > > > > > and > > > > > > > > press play button in bellow the kml table.yo can the locaton > > > > > > > > was > > > > > > > > moving and yourlocationchnged method is called for testing hat > > > > > > > > put > > > > > > > > log in onlocationchanged > > > > > > > > Thanks for the response but, > > > > > > > > Thelocationdoes not change in the emulator. I have even tried > > > > > > > using > > > > > > > the Google Maps application. > > > > > > > > Any other ideas? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---