我可以在 Android 操作系统应用程序中使用的数据库大小是否有限制?

发布于 10-18 15:37 字数 310 浏览 12 评论 0原文

我长期以来一直想构建一个 Android 应用程序,但我只是没有时间尝试学习如何制作它,所以我将其外包给印度一家信誉良好的公司。我的应用程序是一个非常简单的数据库驱动的阅读器应用程序。最初,开发公司说我的应用创意没有问题,他们会在两周内完成。

但后来,他们回复我说我的内容对于 Android 操作系统来说太大了,无法制作。对于内容,我有简单显示的不同语言的一本书的文本。每个 sqlite db 大约为 12-15 mb。

操作系统确实无法处理那么大的数据库吗?这似乎不对。如果这是真的,我该怎么做才能解决这个问题?你们中有人对这个问题有经验吗?

非常感谢

I have wanted to build an Android app for a long time now, and I just haven't had time to try to learn how to make it so I have outsourced it to a reputable company in India. My app is a really simple db driven reader app. Initially, the development company said there was no problem with my app idea, they'd have it done in 2 weeks.

But then, they got back to me and said that my content is too large for the Android OS, and that it wasn't possible to make. For content, I have the text of a book in different languages that is simply displayed. Each sqlite db is about 12-15 mb.

Is it true that the OS can't handle db's of that size? THat doesn't seem right. If that is true, what can I do to get around the issue? Do any of you have experience with this issue?

Thanks very much

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧瑾黎汐2024-10-25 15:37:21

据我所知,数据库大小没有限制,您可以使用setMaximumSize(DB_SIZE)以编程方式限制数据库大小。只要您的设备有足够的存储空间,您的数据库就会根据数据大小而增长。

请参阅此帖子:http://groups.google.com /group/android-developers/browse_thread/thread/a743a3a5a6f5f353?pli=1

As far as I know, there is no limit of the database size, instead you can limit you database size programmitically using setMaximumSize(DB_SIZE). As long as your device has sufficient storage your database will grow according the size of data.

Refer this thread : http://groups.google.com/group/android-developers/browse_thread/thread/a743a3a5a6f5f353?pli=1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文