是否所有的Android设备都内置SD卡? [英] Do ALL android devices have an internal SD card?
问题描述
在我的应用程序第一次运行时,我下载一个pretty的大文件/ SD卡/
我已经知道这会失败,如果用户的手机内置SD卡已满,或者未安装(例如,如果手机连接到PC作为大容量存储设备,或者未从电脑正常断开)。
但有没有内部SD卡上的任何Android设备? (上我的应用程序肯定是无法使用)
但有没有内部SD卡上的任何Android设备? (上我的应用程序肯定是无法使用)
这有Android市场将会有应至少2GB的 Environment.getExternalStorageDirectory任何设备()
。这是否是一个SD卡或别的东西会因设备而异。
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)
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.
这篇关于是否所有的Android设备都内置SD卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!