android - How to switch to an Activity that is running through an already running Activity -
I know there is a lot of discussion about this but I can not get it to work properly.
When I select a photo from the Android gallery and open it with (A) - (A) Redirect (B) intends. It is working properly and if I press home and select (A) from Lankar then (B) is brought in front. Now, if I press Home and reopen the Android Gallery then (A) is > > >> I would like to switch this problem to (b) because the user needs to complete what he was doing. I can not see a good way to start the Android Gallery (A) Why does it? Based on limited information in the question, it is possible logic, assuming A is redirecting B to intent to its secret (). 1) Open Gallery, select a picture, open it with A., redirect it to B. This is the scenario, you can try to redirect the meaning of A to Onstart () Or do not have B in the form of SingleTasks. Activity (a) =
Eklitap and
android.intent.action.SEND can get
< Code> Activity (b) = SingleTask
Onstart () and
onResume () . And I'm looking (A).
Maybe I do something wrong with opening the Android gallery (A)
Any help would be appreciated
In the Task 1, in the stack the gallery, A, B (Stack Press the Home, select A from the launcher
Launcher app creates a new task, in the new Task 2 stack Activity A is a new example, its on krait () is implemented and intent is redirected to B. B is moved from Task 1 to Task 2 and its On Newentant () is implemented. 3) Press Home, and Open Gallery
Task1 is restarted and now it is above the heap. Its on-start (), onstart () and again () are applied
Comments
Post a Comment