Good evening, I'm implementing a part of my program in which I would like to find a file and make a backup of this. Exactly would be to backup the Whatsapp conversations, but do not know how I can do to capture the path of that file (or any other).
You can already search for a file with File.ListFiles. The problem is that you need to know the file name. It is also possible that the app stores the files in its internal folder which is not accessible by other apps.
I have a question, you could search through terminal without being root, and take the value of that variable somehow?
Ok Erel. In this case the file in question is called msgstore.db.crypt and in the case of my SGS2 is in / storage/sdcard0/Whatsapp/Databases (the route is showing Root Explorer).
What would be the command to store the path of the directory and file?
I'm a little confused with the use of this command ... forgive but it's Monday: S