[android-developers] Re: Nexus one gps issue

2010-05-12 Thread Namrata
thanks Streets, I will try this solution.. On May 11, 9:08 pm, Streets Of Boston wrote: > You probably do NOT want to put the starting and stopping of the > location (GPS) providers in the onStart() and onStop(). > > The onStop() may not be called when your activity goes to the > background: >  -

[android-developers] Re: Nexus one gps issue

2010-05-11 Thread Streets Of Boston
You probably do NOT want to put the starting and stopping of the location (GPS) providers in the onStart() and onStop(). The onStop() may not be called when your activity goes to the background: - It is not called because your activity remains active in the background - It is not called because

[android-developers] Re: Nexus one gps issue

2010-05-11 Thread Namrata
Please anybody knows about it?? On May 11, 1:42 pm, Namrata wrote: > Hi, > > I am working app for nexus one which uses gps. I have placed turning > on code of gps in onStart() of Activity and and turning off code in > onStop(). As per logs On/Off works fine specially turning off. But > then gps i