문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top