Friday, February 28, 2014
[Urgent] throws the rest of the full score, ask for a solution
Send these days to get a shortcut to the desktop, ran into a problem: I have created on the desktop of A, B, C, D four shortcut, click on any one of them to jump to the interface named X Activity . But I have clicked on the 1, respectively, each time to press the Home key to hide the background and not finish off.
So I want to implement such a feature: When I click again to A, B, C, D arbitrary, direct pop-up interface has been displayed before, rather than re-open a new Task?
~ ~ I hope that Great God help, I have thrown the rest of the whole score.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
In Manifest plus android in X's activity tags: launchMode = "singleTask", as long as the background is not X still Destroy, is to go directly to the front, does not re-create this activity.
Reply:
Well, I understand what you mean. I encountered a situation, ABCD Jump to Activity class with the same name, such as Test.java. Only through different shortcuts, passing a different parameter values. That this situation then?
Reply:
You actually try to know, and it should be.
Reply:
In operation it wants inside onResume
No comments:
Post a Comment