java - How to write files from Android to PC and back? -


the situation:
client has android phone not activated use cellular services , office not have wifi. wants me write him simple customized contact list can view names , phone numbers of people(already completed). however, wants desktop client (done in java) can update contacts, bit older , prefers using standard sized keyboard instead of slider keyboard on phone.(this completed well).

i need complete class app read file on pc's local hard drive , update contacts file on sd card.

options:
far can tell, option in case use usb port phone. have desktop client write contacts file sd card on android device.

question:
can use usbmanager class have app:
1. xml contact file on pc.
2. read file on pc , update file on sd card.

additional information:
client's phone model: motorola droid ii global
android os version: 2.3.4

perhaps may easier have desktop client access sdcard , write files android device. willing review concepts , ideas process. thank you.

if device in "development mode" can use android debug bridge (adb) push/pull files device on usb connection.

http://developer.android.com/tools/help/adb.html#copyfiles

if sd card removable sounds might easier purchase sd card reader pc , have pc java program write sd card, remove pc , re-insert android device , android app can read sd card. said in last paragraph...


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -