Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is a wild guess from a novice:</p> <p>Android sits on top of the linux operating system as shown <a href="http://developer.android.com/images/system-architecture.jpg" rel="nofollow">here</a>. If you connect to your android virtual device (avd) and open the terminal emulator or connect through the <a href="http://developer.android.com/guide/developing/tools/adb.html" rel="nofollow">ADB</a>, you will find that you have access to various linux commands. </p> <pre><code>C:\Users\james&gt;adb -e shell # cd /system/bin # ls -a -l ... lrwxr-xr-x root shell 2010-06-30 15:32 insmod -&gt; toolbox -rwxr-xr-x root shell 18172 2010-06-30 15:32 installd lrwxr-xr-x root shell 2010-06-30 15:32 ioctl -&gt; toolbox lrwxr-xr-x root shell 2010-06-30 15:32 ionice -&gt; toolbox -rwxr-xr-x root shell 10036 2010-06-30 15:33 keystore -rwxr-xr-x root shell 6520 2010-06-30 15:33 keystore_cli lrwxr-xr-x root shell 2010-06-30 15:32 kill -&gt; toolbox </code></pre> <p>Notice that most of the commands are just links to one small program (toolbox). I can list the running programs with the <code>ps</code> command but if I try to kill them with the <code>kill</code> command... it says i do not have permission. You might be able to create a task manager that uses the underlying ps and kill commands in order to do the dirty work for you. You may have to overcome some permission issues though.</p> <p>I expect you could run the system commands with something like this:</p> <pre><code>Runtime.getRuntime().exec("ls"); </code></pre> <p>Edit:</p> <p>I skimmed through <a href="http://code.google.com/p/freetaskmanager/" rel="nofollow">this</a> open source task manager but I didn't see how it goes about killing tasks. Maybe someone more experienced can explain it.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload