Q:

Is it possible to get ACTION_DELETE intent callback

I used
Uri packageURI = Uri.parse("package:com.any.app");
Intent intent = new Intent(Intent.ACTION_DELETE, packageURI);
startActivity(intent);

to delete a package, but I can't get the callback or delete success event after the delete action complete.
I searched a lot but not a clue, is it possible to get the ACTION_DELETE callback ?

The event trigger by the confirm button on the dialog

A:

Finally, I found this and this.
The way to observe package installed or removed, is to add a broadcast to receive the intent.
Hope this help someone.

