Delete data


Activity implementing this intent delete the given data from its container.

Read also the Android documentation


public void startDeleteData() {
    Intent intent = new Intent("android.intent.action.DELETE"); 
    intent.setData(dataUri); // Data to be deleted. 
    if (intent.resolveActivity(getPackageManager()) != null) { 

Example intent filter

<activity ...>
        <action android:name="android.intent.action.DELETE" />
        <category android:name="android.intent.category.DEFAULT" />

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