Check Mobile App
Read now
Start a Project

Android: sharing data with other applications


For almost all the applications we at some time require to share the data with other apps. And when its messaging or social networking app its a must requirement. A app can provide share option for promotional purpose like inviting friends , sharing a product you liked with someone and many more. So basically its an important feature for all applications.

This requirement can be fulfilled by using ACTION_SEND intent, all you have to do is specifing the data and its type. And is remaining is system work system will identify all the app with the filter intent and supporting the data type for you.

The system will the provide you a choose dailog with all the applications compatible with your request select any one and share your data.

For all this you have to just add a simple code in you app that is

If you select a default action from the chooser dailog then there will be no dailog next time so if you want to always have a chooser dailog you can have it by adding

Note: If you only want to support whatsapp the you can add package to your intent like

If there is no application supporting your request then system will show a sysytem message so you dont have to worry about that case too.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.

Michael Urresta

Michael Urresta

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home