There is a code method to copy a file (db) from pc to device or from device to pc ?
i need to build a function that copy the db file from/to pc.
thanks
:sign0085:
As a part of my application..
as an utility function with a form with 2 button "RESTORE From PC" and "BACKUP TO PC" to sinchronize (copy) the db file (sqlite) from/to pc.
i had to connect phone via USB and after if possible also via wifi and bt
thanks
If you are connecting over Wifi then you can use the Network library to transfer the file. This is how B4A Bridge works. The source code of B4A Bridge is available in the forum.
If you connect with USB as a storage card then it will probably be easier to create a batch file that will pull the files from Windows.