You Are Here:

Community: Developer Discussion Boards

#1 Old Ideas required - 2008-01-28, 14:14

Join Date: Jul 2007
Posts: 27
mindstien
Offline
Registered User
hi guys !

i need to develop application like dictionary in j2me. having inbuilt databse application is used to search and give output as per input string same like dictionary... !

but i am in confusion that what would be the better idea for the database ? should i used record store ? or text file ? or something else....

how i can distribute my application with precreated database. i mean if i use record store, then how can i packege my dictionary data in installatin package....

i will be very thankful to you if you pay some attention here and give me your ideas ! thank you.

chirag gadara
software developer
Auromeera Technometrix Pvt. Ltd.
Reply With Quote

#2 Old Re: Ideas required - 2008-01-28, 14:49

Join Date: Nov 2007
Posts: 191
jackofall
Offline
Regular Contributor
I think,you should use text file because record store is not a good option when you are storing huge data.
Quote:
Originally Posted by mindstien View Post
hi guys !

i need to develop application like dictionary in j2me. having inbuilt databse application is used to search and give output as per input string same like dictionary... !

but i am in confusion that what would be the better idea for the database ? should i used record store ? or text file ? or something else....

how i can distribute my application with precreated database. i mean if i use record store, then how can i packege my dictionary data in installatin package....

i will be very thankful to you if you pay some attention here and give me your ideas ! thank you.

chirag gadara
software developer
Auromeera Technometrix Pvt. Ltd.
Reply With Quote

#3 Old Re: Ideas required - 2008-01-28, 15:35

Join Date: Sep 2007
Posts: 115
Location: Thirunelveli
senthil_k
Offline
Regular Contributor
Hi Mindstien,
Yes it is better to use text file. you can use an index file which stores the names of the files and also the detail as each file contains which all alphabets so that it will be easy to do search. So ther is no need to search all the file for a word starting with "A", get the file which contains words starting with "A" from the index file and do a search only on that file.

Regards
Senthil
Reply With Quote

#4 Old Smile Re: Ideas required - 2008-01-28, 19:09

Join Date: Feb 2006
Posts: 60
Location: Santiago, Chile
awoywood's Avatar
awoywood
Offline
Regular Contributor
Hi Mindstien,
RMS is very slow in some phones, but is the only option if you want your user to be able to download new dictionaries.

Another option would be to have a huge array in code. That's the fastest, but it may use all of your memory, and in some low-end phones the MIDLET may not start.

Probably the best would be to have a set of compressed files, each for a letter or so, in order to reduce access time.

Good luck!
Alejandro.
http://www.amnesiagames.cl
Reply With Quote

#5 Old Re: Ideas required - 2008-01-28, 22:12

Join Date: Aug 2006
Posts: 65
Location: Spain
ncerezo2
Offline
Regular Contributor
There are far better options than using the File API or the RecordStore API directly, you can use a FAST J2ME Relational Database Engine like the one at OpenBaseMovil.
DISCLAIMER: I'm the CTO of Elondra, the company behind OpenBaseMovil.
Try it, it is Open Source with dual license GPL for GPL applications, and a commercial license for closed source / commercial applications.
You've got documentation, templates, samples and everything you need at OpenBaseMovil.org.
There are ways to bundle the database with your application, contact me if you are interested.
If your application is a commercial one you can also apply for the BaseMovil developer program, currently in closed beta. With this program you can use the database synchronization engine that is not included in the open source version. This way, you design your database and application, host them in our servers and forget about database distribution, update, and so on. There's some information about this program in the licensing page for OpenBaseMovil, but you contact me if you are interested. This program is FREE for the developer.

A few facts: currently BaseMovil is being used by many companies in Spain for they daily work (sales force management). The average size for the database has about 30000 rows, having tables with 10000 rows and more. Seek times of around 10-30ms for exact match searches, and around 100-150ms for full-text searches.

Regards


-----------------------
Narciso Cerezo
CTO Elondra

OpenBaseMovil
http://www.openbasemovil.org
The Framework for enterprise class J2ME applications with a pure J2ME relational database engine and much more.
Reply With Quote

#6 Old Thanks every body - 2008-01-29, 09:08

Join Date: Jul 2007
Posts: 27
mindstien
Offline
Registered User
hy ncerezo2 ,
i am not using this for commercial purpose., i am going to develp this application for personal use and for some friends only, and there is no need to update database b'cos my database is static.

thanks for your guidance, i will look out it, and if i feel needy, i will be back here,
thanks again
Reply With Quote

#7 Old Re: Thanks every body - 2008-01-29, 10:01

Join Date: Aug 2006
Posts: 65
Location: Spain
ncerezo2
Offline
Regular Contributor
Then you can use OpenBaseMovil for free under the GPL license!
:-)
If you need asistance you can use also the support request tracker at source forge, where the project is hosted.


-----------------------
Narciso Cerezo
CTO Elondra

OpenBaseMovil
http://www.openbasemovil.org
The Framework for enterprise class J2ME applications with a pure J2ME relational database engine and much more.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to get ideas for peanuts zdenko News, Announcements and Job Listings 3 2008-02-13 22:30
capabilites required Tina_Tibrewal Installation, Certification and Security 8 2007-03-05 20:29
Problem with Cabride.c++ v1.1 markovuksanovic Carbide.c++ IDE and plug-ins 3 2007-01-24 21:05
Requesting feedback for few ideas related to Symbian Platform Security tools Nokia Ron Installation, Certification and Security 4 2006-10-02 12:43
New ideas for Nokia TSVIKA2006 General Symbian C++ 1 2006-06-22 08:33

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia