You Are Here:

Community: Developer Discussion Boards

#1 Old Exclamation 3rd party databse. - 2009-06-30, 11:27

Join Date: May 2008
Posts: 95
Location: Kochi,Kerala,India
vivartpandey's Avatar
vivartpandey
Offline
Regular Contributor
in my software i have to create a static database of some what 500 records.
static means this database will not change by the user.
so is there any 3rd party database available like excel,mysql, etc in which i can directly put all data
and after some time if database is extended by me , i will just provide the new database to the user not the whole software.
e.g. in the dictionary applications dictionary viewer part is different from the database part.
and further if some more words entered in the dictionary server just provide the new updated database and viewer just be same.


Be hungry,Be foolish
vivart pandey
Reply With Quote

#2 Old Smile Re: 3rd party databse. - 2009-06-30, 11:54

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
is this data base is supposed to be on the Mobile itself,in case of the standalone application?
or are you putting the database on the server?
like in the application based on the client server architecture.


Thanks

R a j - The K e r n e l
Reply With Quote

#3 Old Re: 3rd party databse. - 2009-06-30, 11:57

Join Date: May 2008
Posts: 95
Location: Kochi,Kerala,India
vivartpandey's Avatar
vivartpandey
Offline
Regular Contributor
Quote:
Originally Posted by raj_J2ME View Post
Hi,
is this data base is supposed to be on the Mobile itself,in case of the standalone application?
or are you putting the database on the server?
like in the application based on the client server architecture.
ya database resides on the mobile.it works offline.


Be hungry,Be foolish
vivart pandey
Reply With Quote

#4 Old Smile Re: 3rd party databse. - 2009-06-30, 12:03

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
Then thats not possible,since you can not get the database access on the mobile.Once a database is created then you can just access the same using the application only,but not like you are talking about,that the application will remains installed,and you will change the database and then application will start to use the newer database.Nup,thats not possible man,

In the case of server side application you can do so,


Thanks

R a j - The K e r n e l
Reply With Quote

#5 Old Re: 3rd party databse. - 2009-06-30, 13:00

Join Date: Jun 2003
Posts: 4,325
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Online
Forum Nokia Champion
How big is each record? What information is in the records? How do you need to search it?

Graham.
Reply With Quote

#6 Old Re: 3rd party databse. - 2009-06-30, 13:13

Join Date: May 2008
Posts: 95
Location: Kochi,Kerala,India
vivartpandey's Avatar
vivartpandey
Offline
Regular Contributor
Quote:
Originally Posted by grahamhughes View Post
How big is each record? What information is in the records? How do you need to search it?

Graham.
i cant disclose the project just use the example of dictionary.
500-1000 records are there in the database and search database with simple word search.
user cant modify the database.this requirement is not feasible using recordstore.
i want to create a file like dict.db or something dict.d that's alone not readable by user
but software can fetch data from this file.if in future some updates are available for database,
user will just replace the dict.db file with new dict.db file.


Be hungry,Be foolish
vivart pandey
Last edited by vivartpandey : 2009-06-30 at 13:22.
Reply With Quote

#7 Old Re: 3rd party databse. - 2009-06-30, 13:53

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
Quote:
user cant modify the database.this requirement is not feasible using recordstore
If you will just read the record from the record store and you not code for the updating the RMS,then how you think that RMS is not feasible.

I wonder if you can do this using any of the Data bases.Since on the device you will not be able to browse the RMS so that you can replace the existing RMS/DB/D file and then you expect that your device starts reading the updated data.The data base is created when the application gets installed.And you do not have the access right for the same.


Thanks

R a j - The K e r n e l
Reply With Quote

#8 Old Cool Re: 3rd party databse. - 2009-06-30, 14:04

Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
Send a message via MSN to ansh.chauhan Send a message via Yahoo to ansh.chauhan
ansh.chauhan's Avatar
ansh.chauhan
Offline
Regular Contributor
Quote:
Originally Posted by vivartpandey View Post
i cant disclose the project just use the example of dictionary.
500-1000 records are there in the database and search database with simple word search.
user cant modify the database.this requirement is not feasible using recordstore.
i want to create a file like dict.db or something dict.d that's alone not readable by user
but software can fetch data from this file.if in future some updates are available for database,
user will just replace the dict.db file with new dict.db file.
Hey buddy
Just create file using File connection Api and Save it on Your memory card.you want user cannot read that file for this you have to encrypt that file.and decrypt that file using your applcation.So no one can read or use your data base you can modify this also after that encrypt it again.

may be this will help you buddy


Anshu Chauhan
J2me Developer
Reply With Quote

#9 Old Re: 3rd party databse. - 2009-06-30, 14:30

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
I guess that this appliction is supposed to be the secured application.Therefore,the data must be not accessible. I really agree with ansh,you can do so.However if any user come and then delete the same.Or,any individual make the new file with the same name and replace the original file with the latest one,then I suspect that the entire data you are going to loose.

I would rather recommend that he should make this application using the RMS and make the new version of the application with the latest database.Either the application must be server based and the database must be changed on the server side.

Please correct me if somewhere I am wrong.


Thanks

R a j - The K e r n e l
Reply With Quote

#10 Old Re: 3rd party databse. - 2009-06-30, 15:11

Join Date: Jun 2003
Posts: 4,325
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Online
Forum Nokia Champion
Without some clue as to the size of the data, it is hard to advise you.

You can just store the data you want in the JAR file, and read it from there. If it is small enough, you can load it all into the heap when the application starts, and search it very quickly (load the records as objects in a Hashtable, for example). If there is too much data for this, it can be split across several files, and the correct file loaded and searched each time.

Update the data by updating the JAR.

Graham.
Reply With Quote

#11 Old Re: 3rd party databse. - 2009-07-01, 13:33

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi,
IF u think that the record size is high i would suggest you to put it in a server and access it via GCF.If so u can change ur data at anytime without affecting the presentation layer.

Thanks
Soku
Reply With Quote

#12 Old Re: 3rd party databse. - 2009-07-01, 13:59

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi,
Yup,thats what I suggest.But He is looking for the standalone application.However this is the best way.RMS is also not a bed choice,as I have written in my previous post,you have to keep the track of the version changing.However he is not looking for this kind of approach.


Thanks

R a j - The K e r n e l
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
Icons in s60 drizzt6 Mobile Java General 5 2009-03-06 10:32
3rd party MTM in create Message menu option of contact application. shafali gupta General Symbian C++ 3 2008-11-20 17:00
3rd party dual mode phone app on the S60 3rd edition SDK ZelimirD VoIP 7 2007-11-30 15:49
Executing a 3rd party program from my program gostaf Mobile Java General 2 2007-09-26 10:25
PC Suite 4.5a don't work with 3rd party Bluetooth equipment Nokia_Archive Bluetooth Technology 2 2002-05-28 11:20

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