On Fri, Mar 26, 2010 at 3:30 PM, westmeadboy <westmead...@yahoo.co.uk>wrote:
> But, of course, the Context is not available at that time. Do a lazy load in your Activity: static boolean isInitialize = false; onCreate(...) { if (!isInitialized) initialize(this); // Sets isInitalized to true } Or something like that. ------------------------------------------------------------------------------------------------- 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 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.