Skip to content Skip to sidebar Skip to footer

Lollipop: Making My Activity Stay In The Task That Launched The Share Intent

“My First App” has an activity that handles a “share” intent. Its activity in AndroidManifest.xml looks like this:

If you have issues with having multiple instances of your "share" activity, you could declare your "share" activity as launchMode="singleTask" or launchMode="singleInstance" (depending on your needs. This may, however, break other things.

Post a Comment for "Lollipop: Making My Activity Stay In The Task That Launched The Share Intent"