Is it possible to tell what application sent an intent, or any kind of related information?
Here is an example scenario: My application is selected from a Share menu in some other app. My app then receives the ACTION_SEND intent, with some content to share, like some text.
Then, I would like to do different things based on where that text came from. If it came from the Facebook app, I would like to do such and such. If it came from the Twitter app, I would like to handle it slightly differently.
Is any information available to identify the sender to the receiver?
Thanks
Don’t think it’s possible since the Intent class in Java does not have a private member to hold this data, see a discussion on a very similar question here.