Removed exception on string index when strings have never been set.

This commit is contained in:
Xawotihs@gmail.com
2012-04-14 17:20:20 +00:00
parent ae90a4ba61
commit ec50690a3b
@@ -88,9 +88,9 @@ public class SDLActivity extends Activity implements OnKeyListener{
private String userFolder; private String userFolder;
// path to the onboard sd card that is not removable (typically /mnt/sdcard ) // path to the onboard sd card that is not removable (typically /mnt/sdcard )
private String internalPath; private String internalPath = "";
// path to removable sd card (on motorala devices /mnt/sdcard-ext, samsung devices: /mnt/sdcard/external_sd ) // path to removable sd card (on motorala devices /mnt/sdcard-ext, samsung devices: /mnt/sdcard/external_sd )
private String sdcardPath; private String sdcardPath = "";
// Android only supports internal memory and internal sdcard. removable media is not currently accessible via API // Android only supports internal memory and internal sdcard. removable media is not currently accessible via API
// using StorageOptions for now gives us a temporary interface to scan all available mounted drives. // using StorageOptions for now gives us a temporary interface to scan all available mounted drives.