On Wed, Apr 28, 2010 at 12:39 AM, NicoToc <[email protected]> wrote:
> I've read some comments on onConfigurationChanged() but is there a better > way to be sure I'm checking the GPS only when the activity is first > created? > The bundle passed to you in onCreate will be null when the activity is first created and non-null after an orientation change or being resumed after being killed (for low memory for example). On Wed, Apr 28, 2010 at 3:46 AM, Andreas <[email protected]> wrote: > You could consider moving part of the logic of your application to > a service. > It sounds like he wants to prompt the user when they start his activity. A Service does not make sense in this scenario. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://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 at http://groups.google.com/group/android-developers?hl=en

