On Wed, Jan 13, 2010 at 8:27 PM, Kevin Duffey <[email protected]> wrote: > I agree with above... why? Is there a method you need in MainActivity to > call from NewActivity? Or is there a variable you need access to? > > On Wed, Jan 13, 2010 at 10:13 AM, TreKing <[email protected]> wrote: >> >> Why do you want to do this? There's probably a better way to go about it.
MainActivity implements a method which cares for safe exiting the application and I thought to call this method from an other activity. Now I decidet to start such activities with startActivityForResult() and setting a result code which indicates MainActivity to exit the application. I hope that's an propper way to do that ;-) thx Hannes
-- 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

