Mobile application - Activity Handin
Our MainActivity file contains two buttons, one to call an another activity with a flag (ActivityWithFlag) and one to call it without flag (ActivityNoFlag). We splitted them in two files because it is easier for calling the MainActivity back after.
You can download the APK file here: http://ge.tt/4M197Qe/v/0?c
The source code here: http://ge.tt/8XPg7Qe/v/0?c
The source code here: http://ge.tt/8XPg7Qe/v/0?c
I. Without the flag
And then, coming back to the MainActivity from the ActivityNoFlag when clicking on the back button:
Drawing of the stack
II. Calling the other activity with the flag ACTIVITY_REORDER_TO_FRONT
In the ActivityWithFlag class to come back to the MainActivity when clicking on the back button:
Drawing of the stack
0 Love Mail:
Post a Comment