I want to clear data through coding for my application. Right now I am Clearing Data from Settings->Applications->Manage Application->My Application->Clear Data.
But I want to do it through coding. Please help me if any one have answers.
Use Context's getFilesDir method to get the directory, and then delete all directory and data as explained here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With