write file to sd card and not usb storage
<p>I am developing an application that needs to write files to the SD card.  I am using GetExternalStoragePublicDirectory() to determine the directory to write to.</p>

<p>I have two phones I am developing with.  On a Google Nexus S, running Android 4.0.4 (Ice cream sandwich) it is returning a directory on the SD card.  However, on a Samsung Exhibit 2 running Android 2.3.5, it is writing directly to the USB storage on the phone.</p>

<p>Is there a way to force the SD card?</p>

<p><b>edit: </p>

<p>I found that getExternalStoragePublicDirectory(), and getExternalStorageDirectory() are always returning "/mnt/sdcard/".  This is not actually the mount location for the sd card.  On the Samsung Exhibit 2, this is the USB storage location.  The card mount location is "/mnt/sdcard/external_sd".  Is there a way to return this actual sd location?</p>

<p>I see that the camera and other apps have found a way to do it.  The camera app has a "storage" setting with options "phone" and "memory card".  If "memory card" is specified, images are actually stored on the sd card.</b></p>
