Hi,
I have the same problem. After the user has pressed the home key and
relaunches my application I want it to return to the state it had
before the home key was pressed. If I use standard as the launch mode
a new instance of my task root activity is created and put on top of
the task stack.
Hi, I just replied to the bug, but should say something here as well --
This is intentional behavior, since launching a single task activity means
bringing it to the foreground, the stack is cleared so it can always receive
the new intent. So for example Browser, which is one of the few single
That's what the documentation says, but that's not what the
ActivityManager does.
From what I can see, the problem lies in the following code:
That's what the documentation says, but that's not what the
ActivityManager does.
From what I can see, the problem lies in the following code:
When users press on your icon again to come back they are launching
your activity, not the settings activity. Where do you start the
settings activity in your code? If it's outside of the onCreate/
onStart/onResume methods then the user will have to repeat that action
to get back there.
On Sep
From http://developer.android.com/guide/topics/fundamentals.html#acttask
As noted above, there's never more than one instance of a
singleTask or singleInstance activity, so that instance is
expected to handle all new intents. A singleInstance activity is
always at the top of the stack (since it
After I launch my program, press menu key and select settings menu
will start the settings activity.
How can I make Settings activity still focus when users come back just
like when he left?
Thanks for your reply.
On 9月25日, 上午2时45分, justinh henderson.jus...@gmail.com wrote:
When users press on
7 matches
Mail list logo