According to Android docs:
http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html
"When the user leaves the task by pressing the Home button, the current activity stops and its task goes into the background. The system saves the state of each action in the task. If the user later resumes the task by selecting the launch icon that launched the task, the task goes to the front plan and resume activity at the top of the stack. "
If I understand this correctly, it means:
- Action A as a MAIN ACTIVITY.
- Action B, which runs in A, through "startActivity" is a regular, simple instance of an intent.
- I am opening the application for the first time, A is loading.
- I press the button in and B. Opens.
- I press the home button.
- I am opening the application again, for the second time, and it is expected that B will be
... is not it? I assume this is the correct behavior to expect ...
However, I do not see this in my application.
If I clicked the "Home" button and then resumed my application by clicking the launch icon, it will start from the main action, and not from the top or last one.
I am coding on a Samsung Galaxy Tab Android 2.2.1. I have the most common options in Android manifests. The fact that I process as 10 different actions with different intentions, as well as the approach of the Dispatcher class - or save each state of activity - sounds pretty demanding.
I am using the Eclipse IDE with ADT version 12; and I found something very interesting:
Eclipse IDE, , . , .
, , apk Google Play; .
: - , ?
? - ?
Android?
, , :
, Google, APK, , "" openend. .
, Android, " ".
, .
- !:)