user3340335
user3340335

Reputation:

How to Sharing Image over other platform

i am developing an social image sharing application in android. which works fine, i want to implement my application like the attachment describes. i want to know what permission should i use to provide that link in the other application's share/attachment link.

any help will be appreciated, if my code is required i can provide that too. Thank You!

attachment image file 1

attachment image file 2

Upvotes: 1

Views: 52

Answers (1)

Abhishek Shukla
Abhishek Shukla

Reputation: 1242

For this, you have to declare an activty with IntentFilter "android.action.SEND" in the Manifest file of your app and "mpeg/jpeg" as the mime type. Then your application will be listed here. You'll get the action and URI in the intent.

Upvotes: 1

Related Questions