How to write files to a usb memory? (root)
<p>Tablet usb plug in a memory stick and it would like to access</p>

<pre><code>try {
    Runtime.getRuntime().exec("su");
} catch (IOException e) {
    e.printStackTrace();
}

File testFile = new File("mnt/usbhost0");
boolean b1 = testFile.canRead();   //b1 = true
boolean b2 = testFile.canWrite();  //b2 = false
</code></pre>

<p>Why b2 is false?</p>

<p>My device is rooted</p>

<p>ps. sorry my english bad..</p>
