1

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.

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
Abhinav Saxena
  • 1,940
  • 2
  • 26
  • 54

1 Answers1

2

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.

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
Dheeresh Singh
  • 15,570
  • 3
  • 36
  • 36