Recent

Author Topic: LAMW: transfer/synchronize files between phone & pc  (Read 3807 times)

Handoko

  • Hero Member
  • *****
  • Posts: 5149
  • My goal: build my own game engine using Lazarus
LAMW: transfer/synchronize files between phone & pc
« on: July 11, 2016, 04:53:27 am »
Basically, this question is the same as being asked here:
http://forum.lazarus.freepascal.org/index.php/topic,29213.0.html

But I didn't saw any solution on the tread.

On LAMW component tabs, I saw some interesting components like: jTCPSocketClient and jBluetoothClient. Can they be used for file transferring or synchronizing between Android device and Win/Linux PC?

This is the example case:
- I write 2 programs, one run on my PC and the other on the phone
- On both machines, there is a folder called ...\MySharing
- Both of them can list the files of each other machine
- If it found a missing file, it will copy it from the other to local

I know it's not simple but it sounds doable, right? Can anyone tell which component should I use or point me any example of code that might useful?

Handoko

  • Hero Member
  • *****
  • Posts: 5149
  • My goal: build my own game engine using Lazarus
Re: LAMW: transfer/synchronize files between phone & pc
« Reply #1 on: August 03, 2016, 11:33:19 am »
Thanks for the suggestion. I will try them later.

 

TinyPortal © 2005-2018