Yes, it is best to do that...
But i tried adding this as a ShutdownHook, but it failed to execute on app
exit...
I'd suggest that u release resources used by an activity in its onDestroy
method.

On Thu, Jul 16, 2009 at 5:03 PM, Ivy <ytang1...@gmail.com> wrote:

>
> i have some static variables and some registerListeners.
> Do i need to release them all and remove these listeners?
> >
>


-- 
Regards,
Sujay
Lenny Bruce <http://www.brainyquote.com/quotes/authors/l/lenny_bruce.html>
- "Communism is like one big phone company."

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

Reply via email to