×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    34

    Database on Symbian?

    Hello,

    I am developing an application using the Symbian SDK for Java. I need to store some data (mabye a 100KB text file) on the mobile phone locally and I might access and modify the data very frequently. Basically, I want to keep the data up-to-date in the storage device. I am wondering what is the best method to do this. Is it necessary to use a database for accessing the data? Thanks.

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: Database on Symbian?

    I am developing an application using the Symbian SDK for Java.
    you mean, you are developing application in J2ME?
    If its,then there is a way to store data i.e RMS
    Regards
    $-Nitesh-$

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Faridabad(Delhi NCR)
    Posts
    343

    Re: Database on Symbian?

    Symbian SDK for Java.
    Whats that mean buddy can you please explain me
    Anshu Chauhan
    J2me Developer

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Database on Symbian?

    Quote Originally Posted by hainingwu View Post
    Hello,

    I am developing an application using the Symbian SDK for Java. I need to store some data (mabye a 100KB text file) on the mobile phone locally and I might access and modify the data very frequently. Basically, I want to keep the data up-to-date in the storage device. I am wondering what is the best method to do this. Is it necessary to use a database for accessing the data? Thanks.
    Hi hainingwu,
    Welcome to the Forum Nokia Developer Board,
    You can use the Record Management System to accomplish your objective,read about the same here
    http://library.forum.nokia.com/index...7626043FD.html
    http://www.ibm.com/developerworks/library/wi-rms/
    I hope that these line can help you,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: Database on Symbian?

    Quote Originally Posted by hainingwu View Post
    Hello,

    I am developing an application using the Symbian SDK for Java. I need to store some data (mabye a 100KB text file) on the mobile phone locally and I might access and modify the data very frequently. Basically, I want to keep the data up-to-date in the storage device. I am wondering what is the best method to do this. Is it necessary to use a database for accessing the data? Thanks.
    As nitesh already suggest u me also wanna suggest u to take use of RMS to record data in javame. No other option in java me. Also u can store data on filesystem using FC api but its not safe.
    thanks,
    jitu_goldie..

    KEEP TRYING..

  6. #6
    Registered User
    Join Date
    Jul 2009
    Posts
    34

    Re: Database on Symbian?

    Quote Originally Posted by Nitesh Bhardwaj View Post
    you mean, you are developing application in J2ME?
    If its,then there is a way to store data i.e RMS

    Yes, I mean J2ME. RMS looks like the thing I need. So I can store the data permanently in by using RMS and retrieve the data later next time I launch the program, right? My only concern is the performance. Is RMS ok for my case? (no more than 100KB data size)

    Thank you.

  7. #7
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Database on Symbian?

    Quote Originally Posted by hainingwu View Post
    Yes, I mean J2ME. RMS looks like the thing I need. So I can store the data permanently in by using RMS and retrieve the data later next time I launch the program, right? My only concern is the performance. Is RMS ok for my case? (no more than 100KB data size)

    Thank you.
    Hi,
    Yeah that will not lead you any issue as far as the performance is concern.The things you have to keep in mind is that,do not open and close the RMS in the code that is not running on a infinite loop.In addition to that you should keep track that the time you have open the RMS do the operation on the same and just close the RMS.This will avoid the rrecordstorestillopenexception,and many more.

    Also note that the ID of the RMS start from 1 not from 0.
    I would recommend you that read the data over the link that we have gave you,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  8. #8
    Registered User
    Join Date
    Jul 2009
    Posts
    34

    Re: Database on Symbian?

    Thanks for all you guys. It helps me a lot.

    haining

  9. #9
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    387

    Re: Database on Symbian?

    really kool if your problem is solved. but it would had been much clear if you would have said ..i am developing an app for j2me (symbian sdk means nokias sdk) instead

    Quote Originally Posted by hainingwu View Post

    I am developing an application using the Symbian SDK for Java.
    Thanks and Regards,
    Manjul.

  10. #10
    Registered User
    Join Date
    Oct 2006
    Location
    Bangalore
    Posts
    9

    Smile Re: Database on Symbian?

    Hi

    Just wanted to add some more information regarding RMS, as 'hainingwu' said he is going to save 100KB, in that case you should be also considering RMS data corruption problems causing with 'Red Button' press (i.e Force exit) while the application is accessing the record store, battery removal, etc. If your data is trivial for your application then you should plan for recovery of that data too. I had faced this problem a lot of times. FYI.
    Regards
    Yellappa Damam

Similar Threads

  1. Replies: 35
    Last Post: 2009-04-11, 14:36
  2. how to use database in symbian
    By tlr in forum Symbian
    Replies: 4
    Last Post: 2009-03-20, 10:16
  3. Current Symbian Opportunities
    By mobile2004 in forum Symbian
    Replies: 0
    Last Post: 2005-02-03, 12:01
  4. Database Size on Symbian OS with C++
    By anupamcins in forum Symbian
    Replies: 2
    Last Post: 2004-08-05, 08:15
  5. database problem
    By sridhar_ratna in forum Symbian
    Replies: 1
    Last Post: 2003-04-18, 09:07

Posting Permissions

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