Android Question how to prevent sqlite from deleted

Endien

Member
Licensed User
Longtime User
Hi all,

I have create android app that put sqlite file on sd card.
And i notice when i uninstall the app, the sqlite file will be deleted too.
As far as i know this is the default android behaviour.
When unistall, all files related to the app will be deleted whether its on internal or external storage. (correct me if i am wrong)

My question is, can we prevent the sqlite file being deleted when the app got uninstall?
 
Top