如何在j2me中为S40开发创建数据库选项?
我一直在寻找如何在J2ME中为S40开发制作数据库,但似乎Derby太复杂并且RMS不具备添加其他列和行的功能...... 我只是想知道是否有类似 SQLite 的东西用于 S40 开发。 或者是否有关于如何在 Visual Midlet 中使用数据库组件进行 S40 开发的教程。因为我不知道如何使用它,而且我确实需要为我的应用程序创建一个数据库。
顺便说一句,我无法摆脱数据库并使用文件通信,因为它又慢又复杂。
预先非常感谢您:)
I've been searching on how to make a database in J2ME for S40 development, but it seems that Derby is too complicated and RMS doesn't have the capabilities of adding other columns and rows...
I just want to know if there's anything like SQLite for S40 development.
Or if there's a tutorial on how to use the Database component in the Visual Midlet for S40 development. because I don't know how to use it, and I really need to make a database for my application.
btw, I can't get rid of the database and use file communication because it's slow and complicated as well.
Thank you very much in advance :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Series40 不支持 SQLite。事实上,我不知道有任何 SQL 数据库可用于 Series40。 RMS是您此时最好的选择。我建议使用对象持久性框架,例如 Floggy,以便更轻松地使用 RMS 进行开发。
SQLite is not supported on Series40. In fact, I am not aware of any SQL databases that is available for Series40. RMS is your best option at this time. I can recommend using an object persistence framework such as Floggy for easier development with RMS.
SQLite 从不支持 Java ME。查看用于 Java ME 开发的数据库框架列表。但我建议 S40 不要使用第三方数据库。因为大多数 s40 手机都有少量堆内存(不超过 2 MB)。所以更好的方法是使用 RMS。
SQLite never support with Java ME. Look at List of database framework for Java ME development. But I suggest don't use 3rd party database for S40. Because most of the s40 mobiles having small amount of heap memory (not more than 2 MB). So better way, Go with RMS.