Skip to content Skip to sidebar Skip to footer

Callback From Chooser

I just started implementing a share functionality but was wondering if its possible to tell how my content was shared (facebook/twitter/text/etc) without writing my own implementat

Solution 1:

My initial guess was to use startActivityForResult when launching the chooser but haven't managed to figure out which requestcode to use.

That will not work reliably. ~99% of activities are not set up to work with startActivityForResult.

I just started implementing a share functionality but was wondering if its possible to tell how my content was shared (facebook/twitter/text/etc) without writing my own implementation of chooser

Sorry, you will need to write your own chooser for this.

Post a Comment for "Callback From Chooser"