Share Text in Android

In many application there is a share button for share some text and/or link of application. Or in many apps which share some text to other applications using android sharing functionality by sharing Intent . In many application like Quotes, need to share their quotes to other apps using sharing functionality.

Using Intent.ACTION_SEND we can send some data to other apps. Its show popup of listing of shareable applications. You may also able to share to direct some application using setPackage().

Let’s see one simple example,

Now run project. Our output looks like below

android-share-text-output1-skynils  android-share-text-output2-skynils  android-share-text-output3-skynils


Download Project.

Now see next tutorial Rating Bar in Android.

(Visited 1,306 times, 2 visits today)