• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Mobile Dictionary

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to develop mobile dictionary, which can be downloaded and installable on your mobile. I have worked on Java/J2EE but dont have exposure of J2ME. Can anybody guide me about the design?

Thanks,
Bhavin
 
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys..

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..
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
What's wrong? Where are you going? Stop! Read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic