[android-developers] should i be reusing the same location manager?

2010-09-14 Thread dadada
Hi all,

I have a few activities within an app.

Should i be reusing the same location manager or should i call
(LocationManager) this.getSystemService(Context.LOCATION_SERVICE) for
each new activities?

Thanks
Bryan

-- 
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


Re: [android-developers] should i be reusing the same location manager?

2010-09-14 Thread TreKing
On Tue, Sep 14, 2010 at 2:20 AM, dadada ytbr...@gmail.com wrote:

 Should i be reusing the same location manager or should i call
 (LocationManager) this.getSystemService(Context.LOCATION_SERVICE) for each
 new activities?


What's easier?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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