I have the same problem or I don't understand how to stop listening
location change.


I have a G1 and  "mLocationManager01.removeUpdates
(mLocationListener01);" work well but in emulator in version 1.6 and
2.0 the gps doesn't stop... And someone report me the same issue
concerning my application with droid phone

What I am doing wrong ?

On 19 nov, 23:30, Hong <lordh...@gmail.com> wrote:
> er... so nothing we can do about it?  was it on the G1?
>
>
>
> On Wed, Nov 18, 2009 at 3:20 AM, tstanly <tsai.sta...@gmail.com> wrote:
> > finally I find that it's a gps driver issue.
>
> > On 11月17日, 上午2時57分, Hong <lordh...@gmail.com> wrote:
> > > can u be more specific?  what driver issue?  i seem to have the same
> > > problem.
>
> > > thanks
>
> > > On Mon, Jul 27, 2009 at 12:49 AM, tstanly <tsai.sta...@gmail.com> wrote:
>
> > > > sorry,
>
> > > > I found that is the driver issue.
>
> > > > On 7月27日, 上午11時22分, tstanly <tsai.sta...@gmail.com> wrote:
> > > > > hi all,
>
> > > > > it' so strange about close gps location manager,
> > > > > the gps signal dosen't stop.
>
> > > > > my code is:
>
> > > > > ======code===========
> > > > > public class g extends MapActivity{
>
> > > > >    private LocationManager mLocationManager01;
> > > > >    ....
> > > > >   �...@override
> > > > >   protected void onCreate(Bundle savedInstanceState)
> > > > >   {
> > > > >     mLocationManager01 = (LocationManager)getSystemService
> > > > > (Context.LOCATION_SERVICE);
> > > > >     .....
> > > > >  }}
>
> > > > > ========================
> > > > > and my stop code is:
>
> > > > > mLocationManager01.removeUpdates(mLocationListener01);//stop gps
> > > > > service
>
> > > > > however,
> > > > > this stop code I write into the onDetroy(),onPause(),onStop(),finish
> > > > > (),
> > > > > but sometimes the gps signal will not stop expectly.
>
> > > > > something wrong??
>
> > > > > thanks!
> > > > --~--~---------~--~----~------------~-------~--~----~
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to
> > android-developers@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-developers-unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
> > > > -~----------~----~----~----~------~----~------~--~---
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs 
> > cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to