Do ALL android devices have an internal SD card?

前端 未结 3 664
余生分开走
余生分开走 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: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.

提交回复
热议问题