Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User jinesh_l's Avatar
    Join Date
    Oct 2004
    Posts
    44
    Hai all


    What exactly this attribute MIdlet-Install-Notify does?Any valuable information will be greatful?

    Thanks
    Jinesh

  2. #2
    Regular Contributor kisember's Avatar
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    It sends a status code to the given url.
    Here is a detailed description.

  3. #3
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi,

    This property indicates the location (URL) for posting installation (and update) status. You can use URL rewriting to encode tracking information for the MIDlet suite. The URL can't be longer than 256 UTF-8-encoded characters.
    What happens when the user's OTA download process is failed ?
    There is a JAD attribute that can be set, MIDlet-Install-Notify, whose value is a URL to which the device can send a message to indicate the success or failure of the installation.
    According to the OTA provisioning specification , the device must send a status report regarding the result of the install if configured , to which the service configured can only reply with a HTTP Response 200. However , the service can send additional data, but, according the specifications, the device must ignore it.

    The possible response messages in terms of status codes from the device are as follows
    Status Code Status Message
    900 Success
    901 Insufficient Memory
    902 User Canceled
    903 Loss of Service
    904 JAR size mismatch
    905 Attribute mismatch
    906 Invalid Descriptor
    907 Invalid JAR
    908 Incompatible Configuration or Profile
    909 Application authentication failure
    910 Application authorization failure
    911 Push registration failure
    912 Deletion notification

    Hope That these lines can help you,
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Nokia Developer Expert anoopd's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    209
    Hi Raj,
    Can this JAD attribute can be used in application to get the status of the installation. I mean in my parent application i initiate two different installtion through OTA. So here i need to get the installtion status fo the first file installed to start the next installation from code.

    Br,
    Anoop
    Anoop..

  5. #5
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,414
    Quote Originally Posted by anoopd View Post
    Can this JAD attribute can be used in application to get the status of the installation. I mean in my parent application i initiate two different installtion through OTA. So here i need to get the installtion status fo the first file installed to start the next installation from code.
    If you have a server, from where the first app is downloaded, and it notifies the server successfully, and the server saves the response/notification.

    Then another application can ask the server, whether the first application's installation was successful (no standard mechanism; you have to design your own HTTP request/response).

  6. #6
    Registered User marstech's Avatar
    Join Date
    Sep 2012
    Posts
    1
    Quote Originally Posted by kisember View Post
    It sends a status code to the given url.
    Here is a detailed description.
    The article seems posted here now: http://www.oracle.com/technetwork/sy...ta-156595.html

Similar Threads

  1. Replies: 9
    Last Post: 2008-03-06, 18:37
  2. Install S40 Midlet installation on 6230 via Bluetooth
    By ayulo in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-07-11, 17:57
  3. How to install a signed MIDlet into S60 SDK?
    By nn_tt in forum Mobile Java General
    Replies: 0
    Last Post: 2004-03-18, 07:18
  4. forcing power cycle upon MIDlet install
    By marcilgen in forum Mobile Java General
    Replies: 0
    Last Post: 2003-05-05, 06:48
  5. 3410 jad install notify
    By munaf in forum Mobile Java General
    Replies: 0
    Last Post: 2002-08-06, 12:53

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