Changed references to /sdcard to use getExternalStorage() instead.