更新时间:2023-09-27 23:19:04
但有没有内部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.