Do ALL android devices have an internal SD card?

前端 未结 3 656
余生分开走
余生分开走 2020-12-14 10:57

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 m

相关标签:
3条回答
  • 2020-12-14 11:35

    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.

    0 讨论(0)
  • 2020-12-14 11:44

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

    0 讨论(0)
  • 2020-12-14 11:52

    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.

    0 讨论(0)
提交回复
热议问题