I have my android app (with source codes, but I am not very experienced android programmer) and I need second small app, which will be able to backup (simply copy) whole database file from first app to folder on device. I think something like "content provider" must be implemented in the first app to allow second app to copy its database (to grant permissions). Could you point me please how to do it (implement content provider) and how to make second app?
It should be just icon and when I click on this icon it will copy database and shows toast "Database backed up.". That's it. P.S. tutorial is highly appreciated if possible.