I am working to create a db file in my application. Now I want to create the .db file on application installation just one time.
When I open the app, it just check for the existence of the file.
How can we check for a .db file in sdcard and if it exists before installation than to delete the file.
You can check if file exists or not using following code
and next you want to check this when application first time instalation using