This note we need to create Android Application that has auto update feature for our android application. We do that for PandaBoard and other device that rooted.
1. Install BusyBox (for PandaBoard you can copy binary from BusyBox and paste to /system/bin/busybox) (for general device you can install BusyBox from Android Market)
2. set permission /data/app to 777 (some time you need to set 777 permission for /system/bin/busybox)
3. Make your own application that contained this code
Process install;
try {
install = Runtime.getRuntime().exec("/system/bin/busybox install " + Environment.getExternalStorageDirectory() + "/Download/" + "XXX.apk /data/app/XXX.apk");
int iSuccess = install.waitFor();
Log.e("TEST", ""+iSuccess);
} catch (IOException e) {
} catch (InterruptedException e) {
}
4. Run and Enjoy it!!
