I am developing an Android application that installs material on the phoneโs SIM card. I do not want the application to perform the last action when uninstalling: delete everything on the SIM card. This means: I need to take the last action when my APK is removed.
Problem: I did not find a way to do this. (Besides having a secondary application that picks up the intention to remove and does the job, but it is very dangerous because of what Iโm not afraid of)
If anyone has a solution, I'm really interested.
Thanks in advance.
(PS: I'm afraid there really is nobody)
Redwarp
source share