Hallo,
We have a problem with our activity stack.
The normal way is navigate from main to message and from message to newmessage by using startActivity(message) an startActivity(newmessage).
Closing every activity with activity.Finish works fine.
But by using the notification bar an click on the notification, while the app last activity is newmessage, the main activity pop up.
On close the application by using ExitApplication, the both activities message and newmessage show up.
We don´t want the user to always go back to their last used activity.
So my main question is: Is there a better way to close the application and all of its activities?
We have a problem with our activity stack.
The normal way is navigate from main to message and from message to newmessage by using startActivity(message) an startActivity(newmessage).
Closing every activity with activity.Finish works fine.
But by using the notification bar an click on the notification, while the app last activity is newmessage, the main activity pop up.
On close the application by using ExitApplication, the both activities message and newmessage show up.
We don´t want the user to always go back to their last used activity.
So my main question is: Is there a better way to close the application and all of its activities?