Hi

You can disable your GPS in the onPause or onStop of ur
actvity.......Go through the documentation to disable the gps i guess
it is----

locationMgr.removeUpdates(this);
locationMgr=null;

where locationMgr is the LocationManager object.

On May 4, 8:42 pm, TreKing <[email protected]> wrote:
> On Tue, May 4, 2010 at 3:46 AM, Pierre <[email protected]> wrote:
> > I need a system to determine if my application is visible on screen.
>
> Read up on the activity lifecycle in the documentation. Specifically onPause
> and onStop.
>
> ---------------------------------------------------------------------------­----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to