tags:

views:

95

answers:

1

Let's say I have 2 files on Desktop: (Note that I have another file than .apk application.)

  • .apk file
  • .zip file (wich contains a large of data that .apk must unizp and do some work with it).

I want to plug an Android device and programmatically copy these both files to Android.

The application must be visible to user and the .zip file must be "visible" to the application, wich will unzip it and do some work with it.

With PalmOS, I use HotSync API. With WinMobile I use ActiveSync (rapi) API. How to do it on Android?

A: 

http://developer.android.com/guide/developing/device.html explains how to set up a device to allow this

http://developer.android.com/guide/developing/tools/adb.html gives shell commands to install APK files

You should be able to call this programatically using system()

Maz