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

<pre><code>&lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;


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

Environment.getExternalStorageDirectory() = always return "mnt/sdcard"
</code></pre>

<p>Can i write files on usb stick?</p>

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