Sample for sync-software approach

Hi,

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
HugoHiaslAsked:
Who is Participating?
 
1ceCommented:
Have you try the BT and USB APIs:

http://developer.android.com/guide/topics/wireless/bluetooth.html

http://developer.android.com/guide/topics/usb/index.html

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.
0
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.