On Tue, Feb 1, 2011 at 8:16 PM, Scott Deutsch <[email protected]> wrote: > Ok, so I debugged it and my thoughts were correct. It is releasing memory > from the globals class.
More accurately, it is terminating your process. > How can I tell it not to release memory from the > globals class? You don't. > So...if anything in th global class dies...my program dies since different > activities relys on different things and each activity can change something > in the global so I can't just re-init everything. Use a database. Or a file. Your application process will not keep running forever; anything that needs to persist needs to be persisted. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Atlanta: http://bignerdranch.com/classes/android -- 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

