Discussion Board

Results 1 to 10 of 10

Thread: RMS

  1. #1
    Regular Contributor deepu28's Avatar
    Join Date
    Dec 2007
    Posts
    116
    hi

    i am creating a database. someone help me to create,insert and retrieve a data from the record using rms in
    j2me.

    regards
    Deepu G

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello Deepu G,

    here's Sun's article regarding RMS:

    http://developers.sun.com/mobility/m...s/databaserms/

    An example at Forum Nokia Wiki:

    http://wiki.forum.nokia.com/index.ph...re_Data_in_RMS

    More about the issue and examples can be found at for example Forum Nokia Wiki.

    Regards,
    r2j7

  3. #3
    Regular Contributor ncerezo2's Avatar
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    63
    Depending on what you plan to do, you might directly use our J2ME relational database engine.
    If the amount of data is small you might have enough with the RMS, if you plan to have a more complex structure and/or a certain amount of data, then you should go to a real database.
    We will be releasing the libraries today.
    Take a look at the documentation in our site.
    It is Open Source under dual license GPL/Commercial.
    Hope this helps.
    -----------------------
    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.

  4. #4
    Registered User amila325's Avatar
    Join Date
    Jul 2007
    Posts
    14
    Ok here here you will get some practical stuff.I mean some codes
    Click Here

  5. #5
    Registered User saimohan's Avatar
    Join Date
    Aug 2010
    Posts
    27
    hi deepu,
    i am new to this j2me
    i am creating one form based application whch is having 5 to 6 forms
    those forms having textfields and radio buttons and datefields and dropdown boxes
    i created all those but now after entering the data into the Forms
    i want to save that data into RMS
    Al the textfields are saving but come to this datefield and radio buttons and drop down.... how can i store these in RMS
    please help me in this
    give me your valuable suggestions

    Thank U in advance

  6. #6
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    datefield : You can fetch time in milliseconds from it using - (datefield.getdate()).getTime(), store it in RMS as long.
    radio buttons: You can save the int - referring to the selected radio button or selected index from dropdown.
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  7. #7
    Registered User arvind kumar yadav's Avatar
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    38
    hi deepu,
    for create,insert and retrieve a data from the record using rms see-http://j2me-aspnet.blogspot.com/2010...s-in-j2me.html

  8. #8
    Registered User bharatbyadgi's Avatar
    Join Date
    May 2011
    Posts
    3
    hi all...

    i amgettin login for the twitter app....but gettin stuck with postin tweets...can anyone help me pls...

    Here is my code :


    Credential c2 = new Credential(usrName, pwd, "Ag8CobO925yAMc6TOCiXMg", "YbZCWnTv6rmuEbDNzFyVXvaylUr4aAFPyQr2HpsR4");
    UserAccountManager m2 = UserAccountManager.getInstance(c2);

    try {
    if (m2.verifyCredential()) {
    Tweet t = new Tweet("Hi!!! This is my first tweet via Twitter API ME.");
    System.out.println("t = "+t);

    TweetER ter = TweetER.getInstance(m1);
    System.out.println("ter = "+ter);

    try {
    System.out.println("333333333333");
    t = ter.post(t);
    System.out.println("44444444444444");
    System.out.println("t = " + t);

    } catch (IOException ex) {
    ex.printStackTrace();

    } catch (LimitExceededException ex) {
    ex.printStackTrace();


    Error is : java.lang.SecurityException: Invalid / expired Token
    gettin at the line : t = ter.post(t);


    please anyone reply...

  9. #9
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    You need to provide more details about what are you doing?

    I guess you are using some sort of REST API for the verification inside your app and your request token has been expired. Let us know more details about.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  10. #10
    Registered User prssupe's Avatar
    Join Date
    Dec 2009
    Posts
    376
    Quote Originally Posted by saimohan View Post
    hi deepu,
    i am new to this j2me
    i am creating one form based application whch is having 5 to 6 forms
    those forms having textfields and radio buttons and datefields and dropdown boxes
    i created all those but now after entering the data into the Forms
    i want to save that data into RMS
    Al the textfields are saving but come to this datefield and radio buttons and drop down.... how can i store these in RMS
    please help me in this
    give me your valuable suggestions

    Thank U in advance
    You should create new thread or if you want to ask to user please send him personal message

Similar Threads

  1. RMS data LOST problem in 3410!!!
    By bitsonic in forum Mobile Java General
    Replies: 6
    Last Post: 2009-03-27, 09:50
  2. RMS record sizes.
    By earamsey in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-18, 13:51
  3. About RMS database secutity
    By browndrf in forum Mobile Java Networking & Messaging & Security
    Replies: 9
    Last Post: 2007-07-27, 18:45
  4. Create a RMS before 1º execute
    By Pepper_91 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-07-11, 17:27
  5. 7210 & 7250 RMS resetting problem
    By keithmcneill in forum Mobile Java General
    Replies: 1
    Last Post: 2003-11-13, 21:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved