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)
Android has supported SD cards since the G1 started it all. The overall idea is simple enough — slap an SD card in your phone and expand the storage so you have room for more stuff.
The reason that smartphone manufacturers are ditching micro SD card slots in their devices, especially at the high end, is money. Manufacturers can't charge a premium for an SD card slot, but they can charge a $100 for a few extra gigabytes of flash storage.
A Secure Digital (SD) card is a tiny flash memory card designed for high-capacity memory and various portable devices, such as car navigation systems, cellular phones, e-books, PDAs, smartphones, digital cameras, music players, digital video camcorders and personal computers.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With