[android-beginners] Re: closing multiple activities

2010-07-02 Thread Tollas
My solution: I changed startActivity to startActivityForResult on all actions and performed actions based on the setResult. On Jul 2, 3:10 pm, Justin Anderson wrote: > I would probably recommend not trying to change views within an activity. > > While in theory it could be done it is not really

Re: [android-beginners] Re: closing multiple activities

2010-07-02 Thread Justin Anderson
I would probably recommend not trying to change views within an activity. While in theory it could be done it is not really the recommended way and there have been multiple posts with people trying to do this and running into multiple problems. Most of them eventually end up switching to using di

Re: [android-beginners] Re: closing multiple activities

2010-07-02 Thread Kostya Vasilyev
Tollas, First of all, there is Activity.finish(), which closes the activity. But if the way you want your app to interact with the user doesn't fit the way Activities are managed by Android, perhaps you can consider switching views inside an Activity? You can call setContent at any time to s

[android-beginners] Re: closing multiple activities

2010-07-02 Thread Tollas
All activities are developed by me. The NEW SEARCH button will be in all 3 activities. B is launched from A. C is launched from B by the user (based on button clicks). On Jul 2, 2:13 pm, Justin Anderson wrote: > Are all three activities developed by you or are B & C third-party > activities?  In