| Reply | « Previous Thread | Next Thread » |
|
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. |
|
I think,you should use text file because record store is not a good option when you are storing huge data.
Quote:
|
|
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 |
|
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 |
|
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. |
|
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 |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |