11-05-2009 06:01 PM
I am working on an app that has stored information in a local database, and I want to be able to pull information from that database to use within the program. Can anybody shed some light on how I can accomplish this without using SQL on the blackberry pre-5.0 devices? Thanks!
11-05-2009 06:47 PM - edited 11-05-2009 06:48 PM
PersistentStore is only useful if you need to make the information persist across reboots and you do not want to serialize and unserialize the data yourself onto non-volatile memory.
There are also memory concerns with the PersistentStore; you don't want to store anything inordinately large in it.
11-05-2009 06:54 PM
Or (plug plug plug) you could use UltraLiteJ, which is Sybase's local database and as a bonus is a synchronization client (handles change tracking; handles network communications to a server, etc). There is a license fee, but for commercial developers we can usually find mutually agreeable terms. It's part of SQL Anywhere and you can find out more here: http://dcx.sybase.com/index.html#1101en/ulj_en11/u
Disclaimer - I work for Sybase.
11-05-2009 07:01 PM
This approach would make it much easier to integrate and update with the information on my current database. How much do licenses run?
11-05-2009 09:20 PM
Depends on your revenue model - we can do percent-of-revenue arrangements for consumer apps, and there's more of a fixed price for enteprise apps. But I don't like talking money, I prefer to leave that to our sales team. If you want someone to call you, you could leave me a message.
04-05-2011 03:59 AM
is it opensource or do u plan to release it in opensource some day ?