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,738
  • 21
  • 105
  • 131
Abhinav Saxena
  • 1,990
  • 2
  • 24
  • 55

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,738
  • 21
  • 105
  • 131
Dheeresh Singh
  • 15,643
  • 3
  • 38
  • 36