什么是之间的内部存储,外部存储,SD卡和移动存储的区别在哪里? [英] What are the differences among Internal storage, external storage, sd card and removable storage?

查看:170
本文介绍了什么是之间的内部存储,外部存储,SD卡和移动存储的区别在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

官方文档

使用外部存储

每一个Android兼容设备支持共享外部存储   你可以用它来保存文件。 可以是一个移动存储   媒体(诸如SD卡)或内部(不可移动)   存储...

Every Android-compatible device supports a shared "external storage" that you can use to save files. This can be a removable storage media (such as an SD card) or an internal (non-removable) storage ...

我真搞不清楚这个问题。据我了解,使用外部存储并不一定意味着使用一个可移动的卡,是吗?然而,当谈到外部存储,它总是称为SD卡。

I'm really confused about this subject. From what I understand, using external storage doesn't necessarily mean to use a removable card, am I right? However, when talking about external storage, it's always referred as "sd card".

我正在开发一个应用程序,下载.mp3文件从互联网。我想保存在手机内存中的文件(不希望使用任何可移动设备),但我已经学会了,这些文件都被保存在外部memory.However,我想提供导入的可能性从可移动设备文件。我应该在哪里以及如何保存这些文件?

I'm developing an app that downloads .mp3 files from the internet. I want to save those files in the phone memory (don't want to use any removable device) but for what I have learned, those files have to be saved in external memory.However, I would like to offer the possibility of importing a file from a removable device. Where and how should I save those files?

感谢

推荐答案

在构建一个使用内部存储的应用程序,Android操作系统创建一个唯一的文件夹,这将只访问的应用程序,所以没有其他的应用程序,或者甚至用户,都可以看到什么文件夹中。

When building an app that uses the internal storage, the Android OS creates a unique folder, which will only be accessible from the app, so no other app, or even the user, can see what's in the folder.

外部存储更像一个公共的存储,所以现在,它的SD卡,更可成为任何其他类型的存储(远程硬盘驱动器,或其他任何东西)。

The external storage is more like a public storage, so for now, it's the sdcard, but could become any other type of storage (remote hard drive, or anything else).

内部储存应只用于应用数据,(preferences文件和设置,声音或图像媒体该应用工作)。 如果您有意下载许多的MP3,我会reccomend将它们保存到外部存储,作为外部存储往往是更大的。此外,存储在内部存储的数据可能prevent用户安装其他应用程序。

The internal storage should only be used for application data, (preferences files and settings, sound or image media for the app to work). If you intent to download many mp3s, i'd reccomend saving them to external storage, as the external storage is often bigger. Besides, storing data on the internal storage may prevent the user to install other applications.

这篇关于什么是之间的内部存储,外部存储,SD卡和移动存储的区别在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆