×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    13

    [Moved] Application Manager callbacks to midlet

    Hi All,
    Is there any way a Midlet can register with the Application Manager, so that it can get callbacks if the Midlet suite is deleted or replaced by another Midlet suite with same name. I want to delete Midlet written data in RMS whenever the Midlet Suite is replaced. Developing Midlet on Nokia S40s.

    Thanks
    schoudri

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: Application Manager callbacks to midlet

    Please have your queries posted in the right forums to get a quick and an appropriate response.

    In you case, Mobile Java Forums.

    I suppose your thread should be moved shortly.
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Application Manager callbacks to midlet

    When you remove a midlet, its RMS data is removed too, so you must not care about it.
    When you replace a midlet, you could, for example, use an RMS containing current RMS version, so that, if there is a mismatch with current version, you could easily remove all RMS data (and update RMS version accordingly).

    Hope it helps,
    Pit

  4. #4
    Registered User
    Join Date
    Dec 2004
    Posts
    369

    Re: Application Manager callbacks to midlet

    as for delete there are 2 jad attributes

    MIDlet-Delete-Confirm
    and
    MIDlet-Delete-Notify
    which notifies a url of your choice.
    there is no such thing for updateing.
    but u can easly check for updates your self by inserting your version number to the RMS and checking it every time the midlet is started, if the Version number differ from your own hard coded Version number (of the midlet) then an update has occur and u can now do what ever u want.

    BR

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    13

    Re: [Moved] Application Manager callbacks to midlet

    Thanks for the responses. I was away from work so saw the
    responses today. The problem that I am trying to address is more of a security concern.
    I don't want a malicious application with same midlet name from replacing my application and reading the RMS data. So I was looking for any way to clear the data when an update is done on my old application.
    Thanks again
    Sandeep

Similar Threads

  1. calling midlet from midlet throws SecurityException on 6600
    By brianpegan in forum Mobile Java General
    Replies: 3
    Last Post: 2010-10-25, 05:31
  2. application manager hanging on N-70
    By impankaj24 in forum Symbian
    Replies: 2
    Last Post: 2007-05-30, 08:22
  3. Trojan installation onto previous trusted Midlet suite?
    By guillermoTell in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-05-07, 08:40
  4. want to hide the MIDlet name in the application
    By lakshmanraob in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2005-08-16, 06:58
  5. 6600 Application Manager Bug?
    By henqi in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2004-09-15, 04:42

Posting Permissions

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