问题
Is SQLite available for BlackBerry ?
Is any other Database option available other than SQLite ?
回答1:
SQLite has been shipped in Blackberry 5.0; here is the link: http://docs.blackberry.com/en/developers/deliverables/8682/SQLite_overview_701956_11.jsp
回答2:
SQLite is scheduled to be released in the next version of the BlackBerry device software, no idea when that will be. Think they were scheduled to announce at hte recent WES event.
You could try using Sybase SQL Anwhere as it's available for Blackberry.
回答3:
SQLite is available as of BlackBerry OS version 5.0. Here's the link for more information:
http://docs.blackberry.com/en/developers/deliverables/8682/SQLite_overview_701956_11.jsp
Please be aware that there are a couple of things you have to watch out for when using SQLite in BlackBerry development. One is that there is a known issue when writing a SQLite to internal memory of certain devices (ie; Bold 9700 series).
In terms of other options for databases on the BlackBerry, no. At least none that I'm aware of. You have to use SQLite. This isn't necessarily a problem as SQLite is efficient and has a small memory footprint.
In terms of other methods of storage, you could use the Persistent Store. This can be a little tricky, but you could use a Vector object to organize how you are storing data.
回答4:
As stated before: "SQLite has been shipped in Blackberry 5.0; here is the link: http://docs.blackberry.com/en/developers/deliverables/8682/SQLite_overview_701956_11.jsp"
but SQLite is also available in the WebWorks SDK. See: http://www.blackberry.com/developers/docs/webworks/api/Database.html
回答5:
Yes you can use Persistent Store for storing data in a Blackberry Application
see this Persistent data storage
回答6:
I simply use txt files, it is a lot more complicated but the problem is some phones require a a memory card and others don't in order to use SQLite DB and the developers cant control whether the subscribers have a memory card or not.
回答7:
UltraliteJ is paid version for SQLite.
来源:https://stackoverflow.com/questions/847292/sqlite-for-blackberry