管理大数据量(约400MB) [英] Managing big amount of data (around 400Mb)

查看:169
本文介绍了管理大数据量(约400MB)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑开发一种鸟类目录为Android。
它将包含400MB左右许多照片和音频文件。

I am thinking about developing a birds catalog for Android. It will contain many pictures and audio files, around 400Mb.

我开始在这个世界上,但一些阅读后,我没有找到这样那样的应用太多的信息。我有以下几个问题:

I am starting in this world but after some reading I didn't find too much info about such kind of applications. I have following questions:

1:我有什么样的选项安装? 400MB从Android Market下载?从Android Market,并在第一次执行最小化安装连接到另一台服务器,下载所有的数据?其他选项?

1.- What kind of options do I have for installation? 400Mb downloaded from Android Market? Minimal installation from Android Market and in the first execution connect to a second server to download all the data? Other options?

2:这是存储数据的这种量的最佳方法?文件系统中的SD卡? SQLite的DB?

2.- Which is the best way to store such amount of data? File system in the SD Card? SQLite DB?

3 .-有什么办法在清单文件中指定,以避免失败安装(想象你支付应用程序,该应用程序无法安装,因为没有足够的空间)所需的最小文件系统空间?

3.- Is there any way to specify in the manifest file, the minimum file system space required to avoid failure installations (imagine you pay for the app, and the app doesn't install because there is no enough space)?

有关这种应用任何提示或指针文件将AP preciate。

Any tip or pointer to documentation about this kind of applications will be appreciate.

由于提前,

CHEMI。

推荐答案

抓取所有的文件在第一次运行时间和时间做增量更新,时间大概是这里最好的。您将需要建立一个LASTUPDATEDATE网络服务,您的应用程序会在每次启动时查询但这不是非常困难的。

Fetching all the files at first run time and doing incremental updates from time to time is probably the best here. You will need to build a "lastUpdateDate" web service that your app will query each time it starts but this is not very difficult.

当你想对数据进行加密并为您打算用这个数据作为文件,我认为最好的是,你接收字节到SD卡中保存为加密的文件。

As you would like to encrypt the data and as you plan to use this data as files, I think the best is that you save the received bytes to the SD card as encrypted files.

这篇关于管理大数据量(约400MB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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