Accessing RMS of a different Midlet Suite

Hi,
I read the following in a document released from Nokia on MIDP 2.0.
"MIDlets are allowed to create multiple record stores, as long as they have different names, and MIDlets
can access record stores relating to other MIDlets within the same suite. Also, if explicit permission is
given, MIDlets within other suites can also access the record store (a new feature in MIDP 2.0)."
I would like to access an RMS in another MIDlet suite from my midlet. Does anybody know how I would do this or where I could find more information on this?? Also what does it mean when it says "explicit permission".
My motivation behind this question is that I would like to maintain the data on my application even if a new version of the application is released. I take it that is I release a new version of my application that I would have to install a new midlet suite and that this would overwrite the existing RMS in the MIDlet suite. Therefore by having my RMS in a seperate MIDlet suite I can maintain my data. Is all of this correct?? Would this be the best way to approach this problem??
Thanks,
Brian

Hi,
Thanks for both of your replies!! i have tested this and found it to be sucessful making my task a lot easier. :-)
Anyhow my other question regarding this is - on phones that ask you if you want the user data to persist.. is it possible to ensure that the user data is always saved.. thus removing this prompt or is this prompt standard on the device and cannot be changed.
Thanks,
Brian

Similar Messages

  • How to access midlet suite from ms-dos?

    I tried to type in dos:
    "j2mer2 MyCanvasMidlet"
    but it doesn't appear the screen "select one to launch" for the list of midlets in the midlet suite.
    it can display the screen when I user the tool kit though.

    you can't do this (run a midlet from dos).
    use the j2me wireless toolkit.

  • Communication between MIDlets within the MIDlet suite.

    Hi Friends,
    I'm using WTK 2.2. I'm planning to have two MIDlets within the same MIDlet suite.
    I had two MIDlet files but after creating the Jar package , In the display screen, Only one MIDlet is displayed for launching.
    Please guide me the steps. If there is a local variable int i; then, how I do check the value of the variable between the different MIDlets?
    Please guide me on the steps .
    Thanks,
    Ravi.

    Here's the source code:
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.*;
    public class A extends MIDlet
         public int i=10;
         public A()
         protected void startApp()
         protected void pauseApp()
         protected void destroyApp(boolean unconditional)
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.*;
    public class B extends MIDlet
         public B()
         protected void startApp()
              A a=new A();
              a.i=10;
              System.out.println(a.i); //throws SecurityException at this line.
         protected void pauseApp()
         protected void destroyApp(boolean unconditional)
    }

  • Trojan installation over trusted Midlet suite?

    hello,
    imagine i've signed my jar and is installed with no problem. Could a malign Midlet, which claims to be part of the original Midlet Suite be installed over the trusted one? I mean, the malign midlet has no MIDlet-Jar-RSA-SHA1 property in its JAD, so according with MIDP2.0 specification:
    "When an MIDlet suite is downloaded, the device MUST check if authentication is required. If the attribute MIDlet-Jar-RSA-SHA1 is present in he application descriptor then the JAR MUST be authenticated by verifying the signer certificates and JAR signature as below.
    Application descriptors without the MIDlet-Jar-RSA-SHA1 attribute are not authenticated but are installed and invoked as untrusted MIDlet suites."
    So, could that second midlet be installed, even as an Untrusted one?
    This second one, could read the shared RMS storage of the host Midlet Suite.
    thanks.

    Hey Friend.
    I'm also facing same problem. I also use socket to connect to remote server While connection to server i faced 2 symbian OS errors >Error -33(timeout) and then Error -5105(no route found).
    Please, if you get solution then inform me.
    My email: [email protected]

  • How to create a MIDlet suite??

    hello everyone !! I have an easy (I hope) question.How can I create the Midlet suite. For Instance I have to midlets and I want them to belong to the same midle suite in order to be able to access the private data storage (in some sense common for both of them - some recordStore ). Thank you for any help. All the best:)

    Hi
    Make sure u seperate each midlets package name and U have to specify the both midlet names in the jad file instead of one.Name jad nad jar files appropriately which suits for both names.For ex in my it was MeasurmentHealthCalculator since i have two midlets Measurement and HealthCalculator
    Ravi

  • APEX Application accessing data from two different databases

    Hi All,
    Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
    I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
    Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
    Is it possible to configure this scenario?
    The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
    Thanks
    Nil

    1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
    2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
    3. I mean create synonyms on DB1 for reports VIEWS in DB2.
    Hope all is clear!

  • Need help to access a web page using midlet to retrieve some informations

    Hi everyone i'm trying to access a web page using midlet to retrieve some informations in text format, the web page is [http://daviddurand.info/D228/?villes|http://daviddurand.info/D228/?villes] for my project.
    the problem is that i always get error 10049 in socket::open meaning no adresse could be found i tried IP adresse and still the same.
    i managed to recreate the same web page to test it on local and the surprise that it works fine but when accessing it online i have this error.
    i tried also to get the page i created on a webserver i own to try it saying that there might be security issues but the same error appears again. so help plz
    here is my code :
    package mobileapplication5;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class GetMidlet extends MIDlet {
    private Display display;
    String url = "http://dayaati.com/villes/index.php?villes";
    public GetMidlet() {
    display = Display.getDisplay(this);
    public void startApp() {
    try {
    getBirthdayFromNameUsingGet(url);
    } catch (IOException e) {
    System.out.println("IOException " + e);
    e.printStackTrace();
    public void pauseApp() {   }
    public void destroyApp(boolean unconditional) {  }
    public void getBirthdayFromNameUsingGet(String url) throws IOException {
              HttpConnection httpConn = null;
              InputStream is = null;
              OutputStream os = null;
              try {
    httpConn = (HttpConnection)Connector.open(url);
    httpConn.setRequestProperty("User-Agent", "Profile/MIDP-2.1 Configuration/CLDC-1.1");
    httpConn.setRequestProperty("Content-Language", "en-US" );
    httpConn.setRequestProperty("Content-Type", "text/html; charset=iso-8859-1");
    httpConn.setRequestProperty( "Connection", "keep-alive" );
    httpConn.setRequestProperty("Content-Length","51200");
              getConnectionInformation(httpConn);
              int respCode = httpConn.getResponseCode();
              if (respCode == httpConn.HTTP_OK) {
                   StringBuffer sb = new StringBuffer();
                   os = httpConn.openOutputStream();
                   is = httpConn.openDataInputStream();
                   int chr;
                   while ((chr = is.read()) != -1)
                   sb.append((char) chr);
                   // Web Server just returns the birthday in mm/dd/yy format.
                   System.out.println(sb.toString());
              else {
                   System.out.println("Error in opening HTTP Connection. Error#" + respCode);
              } finally {
                   if(is!= null)
                   is.close();
                   if(os != null)
                        os.close();
              if(httpConn != null)
                        httpConn.close();
    void getConnectionInformation(HttpConnection hc) {
    System.out.println("Request Method for this connection is " + hc.getRequestMethod());
    System.out.println("URL in this connection is " + hc.getURL());
    System.out.println("Protocol for this connection is " + hc.getProtocol());
    System.out.println("This object is connected to " + hc.getHost() + " host");
    System.out.println("HTTP Port in use is " + hc.getPort());
    System.out.println("Query parameter in this request are " + hc.getQuery());
    **Heeeeeeelp Please**

    [http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/crashes.html]
    SIGSEGV (0xb)Most common cause of that is JNI code used directly or indirectly through a 3rd party library.
    64-Bit Server VM (11.2-b01 mixed mode linux-amd64)Conversely that VM gets less traffic than others so you might have hit a bug in it.

  • How does my wife access this with a different ID

    How can my wife access iMatch using a different ID on her iPad?  She is not able to get the music I have loaded in iCloud.

    She doesn't. iTunes Match is designed to be a single-user service that is not sharable. It is associated with one, and only one, iTunes Store account. To access your music your wife will have to sign into the iTunes Store with your account ID and stay signed in.
    Also keep in mind that iTunes Match and iCloud are not the same thing. The two services are distinct services and one does not require the other.

  • Template.xsn. Access to locations on different site collections is blocked for security reasons

    I am using sharepoint 2010 onpremise.
    I created a custom list, content type and columns. After this I go to the list and click on the infopath button in the ribbon to customize the form. I changed the form and published to the server.
    Now I get this error when I go to some page where I have added a infopath webpart:
    The following location is in a different site collection:
    http://www.myCompany.nl/someSubsite/Lists/VraagEnAntwoord/VraagEnAntwoord/template.xsn. Access to locations on different site collections is blocked for security reasons. For more information, contact your site administrator.
    This website has anonymous access.
    I have googled and found many people with this problem, but I dont find some solution. Someone talk about create a template from infopath and then publish it to a content type. I dont understand this solution. Can someone help?

    You are actually running an older version of Firefox (8). You should update to Firefox 9.0.1 and see if that helps

  • J2ME toolkit (midlet suit debugging problem)

    Hi,
    I installed the SUN's J2ME wireless toolkit and made all the necessary configurations. I can run my midlet suit using any emulator. I can deploy my project into a jad file.
    However, I cannot debug my project.
    When I try to debug using any emulator I get:
    "KVM not ready" message and I'm stuck.
    Did anybody experience this issue before?
    Thanks

    It probably comes from the sequence you use to start debugger and debuggee. A MIDlet Suite will necessary be remote debugged. Please see the viewlets at http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/j2me/content.html, scroll at the bottom of the page, and click "Dbug the MIDlet Suite".
    Please feel free to ping me directly at [email protected] if you need more info.

  • How to access form objects from different class?

    Hello, I am new to java and i started with netbeans 6 beta,
    when i create java form application from template i get 2 classes one ends with APP and one with VIEW,
    i put for example jTextField1 with the form designer to the form and i can manipulate it's contents easily from within it's class (let's say it is MyAppView).
    Question>
    How can i access jTextField1 value from different class that i created in the same project?
    please help. and sorry for such newbie question.
    Thanks Mike

    hmm now it says
    non static variable jTree1 can not be referenced from static context
    My code in ClasWithFormObjects is
    public static void setTreeModel (DefaultMutableTreeNode treemodel){
    jTree1.setModel(new DefaultTreeModel(treemodel));
    and in Class2 it is
    ClasWithFormObjects.setTreeModel(model);

  • No Midlet Suites Found. Check the URL to make sure it is correct

    hi,
    i am very much in need of solution so plz respond as early as possible
    i am trying to simulate OTA provisioning through J2ME Wireless Toolkit for this i am using Apache HTTP Server Version 1.3
    i placed the .jad files and .jar files in htdocs directory and i added the below two lines to httpd.config file
    AddType text/vnd.sun.j2me.app-descriptor .jad
    AddType application/java-archive .jar
    i changed the MIDlet-Jar-URL property in .jad file to point to .jar file
    i restarted the Apache server and started the toolkit when i pointed to the .jad the error i got is "No Midlet Suites Found. Check the URL to make sure it is correct"
    can any one help me out in finding what i missed in the process of installing the midlet suite through OTA provisioning in the toolkit

    try adding these lines in the configuration file as applicable to your server
    <mime-mapping>
    <extension>jar</extension>
    <mime-type>application/java-archive</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jad</extension>
    <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
    </mime-mapping>
    Also, check if your JAD file contains the following information
    MIDlet-Jar-URL: http://<server_ip_or_name>:<port_if_other_than_80>/<context_root>/<name_of_your_file.jar>

  • The kerberos PAC verification failure when all users of only one RODC Site, trying to get access iis webpage of different site using Integrated Windows Authentication

    The kerberos PAC verification failure when all users of only one Site which having only one RODC server(A), trying to get access iis webpage of different site which having WDC server(B) using Integrated Windows Authentication. But when they accessing the
    website using IP address, it is not asking for credentials as I think it is using NTLM Authentication at that time which is less secure than Kerberos.
    Note that:- All user accounts and Computers of the RODC has been allowed cache password on the RODC. Nearest WDC for the RODC (A) is the WDC (B).
    The website is hosted on a windows server 2003 R2 and generating below system event log for those users of the RODC site :-
    Event Type: Error
    Event Source: Kerberos
    Event Category: None
    Event ID: 7
    Date:
    <var style="color:#333333;font-family:'Segoe UI', Arial, Verdana, Tahoma, sans-serif;font-size:13px;line-height:normal;">date</var>
    Time:
    <var style="color:#333333;font-family:'Segoe UI', Arial, Verdana, Tahoma, sans-serif;font-size:13px;line-height:normal;">time</var>
    User: N/A
    Computer:
    <var style="color:#333333;font-family:'Segoe UI', Arial, Verdana, Tahoma, sans-serif;font-size:13px;line-height:normal;">computer_name (the 2003 server)</var>
    Description: The kerberos subsystem encountered a PAC verification failure. This indicates that the PAC from the client<var style="color:#333333;font-family:'Segoe
    UI', Arial, Verdana, Tahoma, sans-serif;font-size:13px;line-height:normal;">computer_name</var> in realm <var
    style="color:#333333;font-family:'Segoe UI', Arial, Verdana, Tahoma, sans-serif;font-size:13px;line-height:normal;">realm_name</var> had
    a PAC which failed to verify or was modified. Contact your system administrator.
    This issue has been raised for last one week. Before that everything was fine. No Group Policy changed, Time also same.
    In this situation do I need to do Demotion of the RODC and re-promote it as RODC again  or is there any other troubleshooting to resolve it.
    Thanks in Advanced
    Souvik

     Hi Amy,
    Thanks for your response
    I noticed that Logon server could become incorrect again after user re-login or restart of a workstation.
    It seems root cause is different.  Need a permanent solution.
    The Workstations of the RODC site are getting IP from a DHCP server by automatic distribution of IP from a specific subnet for the site only.  The RODC is
    the Primary DNS server for the site.
    I have checked the subnet and it is properly bound with only with that AD site. The group of users and workstations are in the same site AD organisational Unit.
    Sometime I restarted the NET LOGON service and DNS server service on ther RODC server and sometime rebooted the server. But the Logon server issue has not fixed permanently.
    The internal network bandwidth of the site is better than the bandwidth to communicate with other site.  
    The server is Windows server 2008 R2 standard and hosting the below roles
    RODC
    DNS
    File server
    The server performance is Healthy in core times when maximum users usually logins. 
    Any further support would be much appreciated Amy
    Thanks
    Souvik

  • Add an Access Number for a different location

    Hello - how do I add a Skype Access Number for a different local calling area than my usual one? For example if temporarily I'm in a different city, area code, calling area etc, how do I add a SAN for that locale?
    Solved!
    Go to Solution.

    Hello,
    Switch your STG location to the one you require and enter an Access #.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • The storage name for the MIDlet suite was not given

    I am trying to RUN my application (MIDP 2.0 CLDC1.0) using OTA option in net beans IDE.
    But it gives this message
    **The storage name for the MIDlet suite was not given**
    and abort the execution
    I am using Push registry.
    Also I am sending and receiving sms through mobile.
    Please help me in this topic?

    midlet1, I asked you less than 12 hours ago not to post to old threads that are long dead.
    [http://forums.sun.com/thread.jspa?threadID=5353188]
    If you continue to ignore the request, your user account is liable to be blocked.
    I'm locking this thread now.
    db

Maybe you are looking for