On Thu, Sep 23, 2010 at 9:03 AM, elubin <elubin1...@gmail.com> wrote:
> However, when I leave the app over night and look at it again the next day, > I receive NullPointerExceptions when attempting to use that same data. I do > not believe Application objects get garbage collected, so I have no idea > what is going on? > > I also lose static objects in classes used by my Activity classes. > Hard to say without more details on how your app is structured, but it sounds like your app is being killed and restored, but you're not reloading / resetting your data. Perhaps the path through which you do this loading / initializing of variables is being skipped? Logging all of the entry and exit points to your app you give you a better idea of what's happening and when. ------------------------------------------------------------------------------------------------- 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