Nominate our 2022 Qt Champions!

Deleting file from sdcard When uninstalling app from android

  • Hi

    I am creating one folder when installing the application and using it in my app. But it is not deleting when uninstalled this app. How to handle this? Where ( Which event) can i write my delete directory code?

    I am using this app in android device.


  • Not long ago I read the guidelines of Googles SDK and I cannot remember that there was something related written there.

    I think what you are asking for is not supported by Android - although your idea is not that bad. I clean up my SD card manually every few month after uninstalling applications. They all leave some garbage there.

Log in to reply