title: how to get access of android root directory (/system/app) programatically?
body: <p>I have an apk file in asset folder.<br/>
  Now I need to create a program which will install that apk file as system application.<br/>
  Manually it is possible by copying that apk file into sdcard with following steps,</p>
  
  <pre><code>$ adb push MyApk.apk /sdcard/ 
  $ adb shell
  $ su
  $ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
  $ cat /sdcard/MyApk.apk &gt; /system/app/MyApk.apk
  $ pm install /system/app/MyApk.apk
  </code></pre>
  
  <p>But is it possible to do through code?</p>