Hi, What you have to do is, build a MIDlet which has a database of words. The Record Management Store (RMS) allows you to store data persistently on the Mobile phone. The RMS package has the RecordEnumertion interface which you can configure to search and sort the words. The basic UI classes are under the javax.microedction.lcdui package. Good luck. If you have any questions please do post them, we are there help you. Regards.
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
I don't think RMS is a good idea for storing dictionary data, when you download MIDlet to your phone, if it does not connect the network for data, then it should have data inside the jar file, then you can directly access those data within your MIDlet without RMS. Furthermore, dictionary data is usually very large so it's not possible to store everything to RMS as RMS has size limit(depending on device).
Yep, i understand that RMS may not be appropriate for storing Dictionary Data...
And you said there is a way we could put that into the JAR itself..
If thats the case.. 1)How do we implement this...? 2)Will be able to do the same stuff like update the data (Dictionary data)? 3)well about Explicit sharing available in RMS? 4)Any other advantages over RMS, except enumerating workload..
Thanks in adv...
Since i am a newbie to this domain...your replies will be very helpful for me..
Since you mention that you want to update the dictionary data, I do not think having a csv within the JAR is such a good idea. In this case I would go for an RMS. I am not sure of how to go about updating a file in the JAR (I believe the FileConnection API should be of help) so please do post if this is possible.
If you go for the File in JAR approach then the best way is to read resource as stream and then have a wrapper class that does all the enumeration for you.
RMS does have a size limitation but you have the advantage of updating the data etc.
Everything that can go wrong will go wrong -Murphy
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop