Delete data
android.intent.action.DELETE
Activity implementing this intent delete the given data from its container.
Read also the Android documentationUse
public void startDeleteData() {
Intent intent = new Intent("android.intent.action.DELETE");
intent.setData(dataUri); // Data to be deleted.
if (intent.resolveActivity(getPackageManager()) != null) {
startActivity(intent);
}
}Example intent filter
<activity ...>
<intent-filter>
<action android:name="android.intent.action.DELETE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Apps Providing an Implementation
Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)