Quantcast
Viewing all articles
Browse latest Browse all 204402

Deleting another apps sql db within code.

Hi guys,

We have several apps that connect to SQLite databases, which are all stored in the system/data/data/app name/databases folder. From time to time, the data becomes corrupt, and the need to delete the database is what we would like to do.

I have created a common app within Xamarin that first checks to see if a specific database exists, then tries to delete it. However when I try to delete the database I get the message 'Access/Permission is Denied'

Any ideas how I can delete these databases?

Its worth mentioning that these apps were origannally created by another developer in eclipse.

Thanks.

Sam


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>