stefanoa Active Member Licensed User Longtime User Oct 20, 2011 #1 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:
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:
Erel B4X founder Staff member Licensed User Longtime User Oct 21, 2011 #2 As part of your application or during development? How do you plan to connect the device to the computer? USB cable? Wifi? Bluetooth? Upvote 0
As part of your application or during development? How do you plan to connect the device to the computer? USB cable? Wifi? Bluetooth?
stefanoa Active Member Licensed User Longtime User Oct 21, 2011 #3 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 Upvote 0
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
Erel B4X founder Staff member Licensed User Longtime User Oct 22, 2011 #4 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. Upvote 0
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.