Removed exception on string index when strings have never been set.
This commit is contained in:
@@ -88,9 +88,9 @@ public class SDLActivity extends Activity implements OnKeyListener{
|
||||
private String userFolder;
|
||||
|
||||
// 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 )
|
||||
private String sdcardPath;
|
||||
private String sdcardPath = "";
|
||||
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user