Hi All

This is a very basic & a whacky question.

I have an activity class which has a setContentView() for a class
which is a view. All my activities are done in the view. Now i need to
call Activity.finish() so my whole acticity is closed when i opt for
an exit of the app.


Had i been in an activity class, i can easily call this as
"this.finish()" but how do i do this being in a View?


Inshort how do  I do a proper general exit/cleanup when my app closes?
How do i call an activity.finish() being in view?


Please do shower some light on this.


thanks
Latha

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to