Question

On the first run of my app, I am downloading a pretty big file to /sdcard/

I already know this can fail if the internal SD card of the user's phone is full or not mounted (e.g. if the phone is connected to a PC as a mass storage device, or has not been properly disconnected from a PC).

But are there any android devices with NO INTERNAL SD CARD ? (on which my app would definitely be unusable)

Was it helpful?

Solution

But are there any android devices with NO INTERNAL SD CARD ? (on which my app would definitely be unusable)

Any device that has the Android Market will have at least 2GB of storage at Environment.getExternalStorageDirectory(). Whether that is an SD card or something else will vary by device.

OTHER TIPS

I personally have Samsung Galaxy Tab and it doesn't have internal SD card (shipped with, can be bought separately I guess).

In my program I call Environment.getExternalStorageDirectory and it seems to provide with internal memory path when no SD card is mounted. So far works, haven't investigated further.

All Android compatible devices supports external storage. This doesn't necessary have to be a SD card, it could be non-removable internal storage.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top