Hi,
I have an app with several distinct activities.
What is the best way to get from one to the other and then back again?
In my example I have an order entry app.
I use main as the log in, I then start a dashboard and have a 'New Order' button which starts the Ordering activity.
In Main I do a StartActivity(Dashboard) and when the New Order button is clicked I do a StartActivity(Order). On completion I want to go back to the Dashboard.
I tried a StartActivity(Dashboard) which seems to work but if I click 'New Order' again it seems to resume the Order rather than start a new activity, ActivityCreate is not fired!
Activity.Finish and exit activity in the order activity closed the entire app.
Tried to find a tutorial but there are no examples that say to do anything differently.
Many thanks
I have an app with several distinct activities.
What is the best way to get from one to the other and then back again?
In my example I have an order entry app.
I use main as the log in, I then start a dashboard and have a 'New Order' button which starts the Ordering activity.
In Main I do a StartActivity(Dashboard) and when the New Order button is clicked I do a StartActivity(Order). On completion I want to go back to the Dashboard.
I tried a StartActivity(Dashboard) which seems to work but if I click 'New Order' again it seems to resume the Order rather than start a new activity, ActivityCreate is not fired!
Activity.Finish and exit activity in the order activity closed the entire app.
Tried to find a tutorial but there are no examples that say to do anything differently.
Many thanks