Domanda

When setting to a single instance, the Activity does not allow another Activity to update it using the Activity for results method. What is the flag I should set so that I do not have to remove the initial launch mode as single instance?

Note: I am using another activity as an image loader, that updates the launcher activity. Launcher activity should be a single instance, because I am using it to notify using the status bar.

This is a challenge, so I can not use another activity for notifications.

È stato utile?

Soluzione

Yes, even I faced the same problem. That's why I was not able to use Activity for results with the launch mode as a single instance as I found I get the call on onActivityResult as the acivity B starts.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top