Discussion Board

Results 1 to 15 of 15

Thread: RMS path

  1. #1
    Regular Contributor mahesh_aquarius's Avatar
    Join Date
    Aug 2008
    Posts
    166
    Can anyone tell me how to get rms path on device i.e *.db file
    is it possible to get all rms files path from device

  2. #2
    Registered User bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    Hi,
    Through programmaticlly ? No You can't access the path. The Ams Will hide all your RMS.

  3. #3
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi mahesh,
    I guess you can not watch/see the rms file..if you are talking about the device..however you can look and see the rms file in case of the emulators..

    You have a bed luck this time,
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Regular Contributor mahesh_aquarius's Avatar
    Join Date
    Aug 2008
    Posts
    166
    Atleast there might be a path where the rms files might be saved is this path different for all midlets or same if it is different then this task becomes impossible but if all rms is saved at same path then it might be possible to read them.


    thnks

  5. #5
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Mahesh,
    I guess is that the RMS path would be same but in that path AMS creates the different data bases for the different installed applications,Might be I am wrong..if yes please apologizes me.

    Is this make sense,?
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  6. #6
    Regular Contributor mahesh_aquarius's Avatar
    Join Date
    Aug 2008
    Posts
    166
    Actually im trying to make an application which displays all rms files from phone and memory and user can read data from the rms file
    in this application first part i.e displaying all rms files seems to be impossible in j2me.

  7. #7
    Nokia Developer Champion honest_success's Avatar
    Join Date
    Sep 2007
    Posts
    915
    Quote Originally Posted by mahesh_aquarius View Post
    Actually im trying to make an application which displays all rms files from phone and memory and user can read data from the rms file
    in this application first part i.e displaying all rms files seems to be impossible in j2me.
    Rms is a secure way of storing data. It stores data in Midlet suite so it will not be possible for all the application.

  8. #8
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by mahesh_aquarius View Post
    Actually im trying to make an application which displays all rms files from phone and memory and user can read data from the rms file
    in this application first part i.e displaying all rms files seems to be impossible in j2me.
    Hi Mahesh,
    Reading the data from file is ok,
    But tell me dont ultimately you required the data??
    whether you first read the file and then data..or just data directly,

    I personally like that user need data - provide the same ----
    Its less matter from where data is coming...is this make a sense?
    Thanks
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  9. #9
    Regular Contributor mahesh_aquarius's Avatar
    Join Date
    Aug 2008
    Posts
    166
    Hi all

    thnks for reply,


    I have planned the application to be like this

    at start up a list is displayed which contains names of all rms files on phone and memory

    then user selects any name from the list, then a form or will be displayed which will show the contents of that file.

    thnks

  10. #10
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi Mahesh,
    I guess that you can not read the RMS file from the device..I understand the flow of you application..and i wonder if it can be done...so please read the last post of mine..might be that can help you,
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  11. #11
    Regular Contributor mahesh_aquarius's Avatar
    Join Date
    Aug 2008
    Posts
    166
    I think this might not be possible to create such an application
    any ways guys thnks for ur replies.

  12. #12
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi,
    One more thing is that what user will do of the RMS file...most of the user must not be aware of about the RMS file..even they can be surprise that what it is displayed..therefore just draw the data directly..will be understandable..

    Hope this make sense,
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  13. #13
    Regular Contributor mahesh_aquarius's Avatar
    Join Date
    Aug 2008
    Posts
    166
    hi raj

    this application was not for user but for us developers by which we can view what is written in rms or data written in rms is correct .....

    any ways
    thnks for reply

  14. #14
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    well because u can only access the RMS of ur own midlet/suite, u can programmatically keep track of the created RMS instances, and just go through them and show the content onscreen...
    If u'd like (as a developer) to see ALL RMS instances on the mobile then afaik thats just not feasable, simply because ur midlet wont have access outside the RMS instances of ur own midlet/suite...

  15. #15
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Many devices do not give you access to the file system.

    Also, the format for RMS data files is undocumented, and is not identical for all devices.

    There are two ways for a developer to look at RMS data in a "debug" kind of way:

    1. Use an emulator (you can probably find the RMS files for these, though the format will not be not documented).

    2. Create an "RMS Viewer" midlet, that can be placed in the same JAR as the application you want to debug. It will have access to all the same record stores as the main application. Record stores are not private to a midlet, they are private to a midlet suite (JAR file).

Similar Threads

  1. Replies: 8
    Last Post: 2008-07-27, 03:30
  2. Replies: 13
    Last Post: 2008-01-04, 11:15
  3. where is the path of the rms files in nokia mobile
    By ravibabu in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-02, 22:15
  4. RMS record sizes.
    By earamsey in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-18, 13:51
  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