Hai all
What exactly this attribute MIdlet-Install-Notify does?Any valuable information will be greatful?
Thanks
Jinesh
Hai all
What exactly this attribute MIdlet-Install-Notify does?Any valuable information will be greatful?
Thanks
Jinesh
It sends a status code to the given url.
Here is a detailed description.
Hi,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.
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 ?
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,
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..
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).
The article seems posted here now: http://www.oracle.com/technetwork/sy...ta-156595.html