Sample for sync-software approach


I'm fairly new to Android and plan to implement a sync software for various data from the pc. I digged into the approaches with Activities, RESTful server and so on.

What I did not understand is, how is a server-software part accessed if the Android phone is attached via USB to a pc.

The scenario is:

Android phone will be attached via USB or Bluetooth to a PC and should then be able to communicate with a software on the pc to get data.

Is there a good tutorial which could help me to bring light into this secret?

Thanks in advance.
LVL 12
Who is Participating?
Have you try the BT and USB APIs:

I'm assuming that you know what to do on the PC side to setup the server end of the comm.

To be honest unless you need high transfer rate / better security. Going over the network is much easier imho.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.