Share data

android.intent.action.SEND

Deliver some data to someone else.

Who the data is being delivered to is not specified; it is up to the receiver of this action to ask the user where the data should be sent.

Use

public void startShareData() {
    Intent intent = new Intent("android.intent.action.SEND"); 
    if (intent.resolveActivity(getPackageManager()) != null) { 
        startActivity(intent);
    }
}

Example intent filter

<activity ...>
    <intent-filter>
        <action android:name="android.intent.action.SEND" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>
            

Apps Providing an Implementation

Search on Github

Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)

For Specification Writers

Edit on Github