12-02-2008 12:01 PM
I am new to programming for the Blackberry platform and have a program that I would like to make my test/first program
General questions are...
This is a good start for general information.
To anybody that is willing to address my general questions and help me understand, Thanks in advace!!!
12-02-2008 12:27 PM - edited 12-02-2008 12:30 PM
can or should the local information be in some sort of database on blackberry device
is there a free database that runs on blackberry device / what is the desktop counterpart
Blackberry file system is not like Windows file system. It is like a hashtable, where information blocks are accessed via unique keys.There is no free database application for blackberry. For plain&simple databases for testing purposes you can use java.util.Vector class. It is persistable and can be saved to the Blackberry Persistent Store. Make sure that all your data model classes going to be added to Vector - also implement Persistable interface.
Is there a way to connect to a server that cannot be exposed to the general internet, limited currently by IT department. Assume that server cannot have specific outside IP or port forward on router.
If you run your app on device simulator with MDS Simulator (to allow networking for simulator) - then your local servers with local ip-addresses can be accessible.
Also it is strongly recommended to look at Blackberry Developer Guide (there are 2 books/parts).
It can be downloaded here:
Welcome to the club
12-02-2008 06:09 PM
Thanks for the Information...you have definitely pointed me in a constructive direction.
I am sure this will not be the last time I reach out for assistance!
12-04-2008 02:38 PM
12-05-2008 11:16 AM
regarding: can or should the local information be in some sort of database on blackberry device
Check PersistentStore. This class lets you save any object to disk. You can even encrypt the contents. Check:
For an example of a persistent store key/val class.
11-23-2010 11:45 AM
I'm looking into doing the same thing you did. I am also new in BB-pgm. Would you mind sharing what you found most helpful? Did you find good sources? Do you have "demo" program you wrote to test the features?
Thanks for any kind of reply!