简体   繁体   English

SD卡存储与Android系统存储

[英]SD Card storage vs Android System storage

This is purely a design problem. 这纯粹是一个设计问题。 When building a video capturing application for Android which storage we should allow the app to store the captured data ?.If you have faced something like this when building your app let do let know what storage choice you decided to use. 在为Android存储设备构建视频捕获应用程序时,我们应允许该应用程序存储捕获的数据?如果在构建应用程序时遇到类似情况,请告知您决定使用哪种存储选择。

SD Card or System Storage SD卡或系统存储

Pros (SD Card perspective) -The app will not be using the system storage which is good. 优点(从SD卡角度看)-该应用将不会使用系统存储,这很好。 -Swapping of saved data will be easy between from one Android device to another. -从一台Android设备到另一台设备之间的交换已保存的数据将很容易。

Cons (SD Card perspective) 缺点(SD卡角度)

-Not all Android users will necessarily have SD Card.Nor it would be fair to ask the user to have a SD Card just for using the application..right ? -并非所有的Android用户都一定会拥有SD卡。或者公平地要求用户为使用该应用程序而拥有SD卡。

我认为最好的选择就是为用户提供选择,如果可以的话,最好默认为SD卡,因为视频可能很大,并且正如您在帖子中提到的那样,视频可能希望将其移动到某处,这样SD卡在这种情况下会更好。

I would suggest this option should be dynamic and not fixed. 我建议该选项应该是动态的而不是固定的。 below are some of my opinion/suggestions for you. 以下是我对您的一些意见/建议。

1) Why don't you ask user to input which storage he prefers. 1)为什么不要求用户输入他喜欢的存储空间。 You can do it via a dialog box in the app starts(may be once, or as par requirement) lets user choose this as you are going to use their phones :) 您可以通过应用程序启动中的对话框来做到这一点(可能是一次,或者作为标准要求) 以便用户在使用手机时选择它 :)

if you are not agree with 1st here some more suggestions 如果您不同意这里的第一条建议

2) As you mentioned App is Video Capturing feature , that implies it would need high/long Storage volume. 2)正如您所提到的,App是视频捕获功能 ,这意味着它需要高/长存储量。 I would suggest you to go for SD-CARD. 我建议您去购买SD-CARD。

Not all Android users will necessarily have SD Card.Nor it would be fair to ask the user to have a SD Card just for using the application..right ? 并非所有Android用户都一定会拥有SD卡。要求用户仅出于使用该应用程序而拥有SD卡也就不公平了。

3) Neither there is lots of phone with High Internal memory . 3)都没有很多具有较高内部存储器的电话。 so SD-Card is good option here too, and it is not bad to ask for SD-Card if not available. 因此SD卡在这里也是不错的选择,如果没有SD卡,也不错。 Many apps does that. 许多应用程序都可以做到这一点。

内部存储将可以更快地向其中存储数据,但是,如果用户拥有SD卡,则应该为其提供选择。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM