Hi Mark,

Sorry, I forgot to mention that I would like to destroy the activity
from a different class not associated with the activity. Is that
possible?

Thanks again.


On Nov 12, 11:32 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> g1bb wrote:
> > Is there a good way to destroy the activity programmatically?
>
> Call finish(). Once you return control back to Android (e.g., leave the
> on...() callback you're in), your activity should be gracefully shut
> down, including having onDestroy() called.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 
> 2009http://www.bignerdranch.com/schedule.shtml
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to