You Are Here:

Community: Developer Discussion Boards

#1 Old MIDlet-Delete-Notify - 2008-03-04, 11:24

Join Date: Dec 2007
Posts: 126
maozet
Offline
Regular Contributor
Hey all,

Does anyone knows if MIDlet-Delete-Notify should work?
I am using Nokia 6131 (MIDP-2.0) and it doesn't.

The MiDlet-Install-Notify works, so there is nothing wrong in my setting/url...etc.

Regards,

--Maoz
Reply With Quote

#2 Old Re: MIDlet-Delete-Notify - 2008-03-04, 18:07

Join Date: Aug 2007
Posts: 774
r2j7's Avatar
r2j7
Offline
Forum Nokia Expert
Hello maozet,

what's the size of your url? Does it make difference if the url is more or less than 256 characters?

Regards,
r2j7
Reply With Quote

#3 Old Re: MIDlet-Delete-Notify - 2008-03-04, 18:09

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Are you sure that there was no network connectivity problems during the deletion?
Quote:

The success or failure of the installation, upgrade, or deletion of a MIDlet suite is of interest to the service
providing the MIDlet suite. The service MAY specify URLs in the Application Descriptor that MUST be used
to report installation and deletion status. See Additional Descriptor Attributes for more information. If the
device cannot send the installation status report, the requested action MUST still be completed. For example, if
the device cannot send the installation status report to the MIDlet-Install-Notify URL, the MIDlet suite MUST
still be enabled, and the user MUST be allowed to use it. Likewise if the device cannot send the deletion status
report to the MIDlet-Delete-Notify URL, the MIDlet suite MUST still be deleted.
The operation status is reported by means of an HTTP POST to the URL specified in the MIDlet-Install-Notify
attribute for installations, or the MIDlet-Delete-Notify attribute for deletions. The only protocol that MUST be
supported is “http://”. Other protocols MAY be ignored by the device.
Hartti
Reply With Quote

#4 Old Re: MIDlet-Delete-Notify - 2008-03-09, 16:56

Join Date: Dec 2007
Posts: 126
maozet
Offline
Regular Contributor
Yup, i am sure.

I have tried it couple of times... the install-notify works great but the delete-notify doesn't work.

Just to make sure I understood the process.
When the user wants to delete (remove) the midlet from the mobile it should POST the url parameters taken from the MIDlet-Delete-Notify property.
If that so, should it prompt for permission to use connectivity?

Regards,

--Maoz
Reply With Quote

#5 Old Re: MIDlet-Delete-Notify - 2008-03-11, 01:34

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
My understanding is that no prompts are needed (you did not need a prompt for the install-notify either, did you?)

Have you tested the app on other devices (meaning that if the notification works on other devices...?)

Hartti
Reply With Quote

#6 Old Re: MIDlet-Delete-Notify - 2008-04-04, 14:22

Join Date: Aug 2007
Posts: 774
r2j7's Avatar
r2j7
Offline
Forum Nokia Expert
Hello maozet,

Quote:
My understanding is that no prompts are needed (you did not need a prompt for the install-notify either, did you?)
To add Hartti's point, check the MIDP 2.0 (JSR-118) spec (under 'Installation/Deletion Status Reports'):

Quote:
For deletions, an attempt to send the status report MUST be made the next time either an OTA installation is
performed or an installation status report is being sent. This will improve the likelihood of the status report
being successfully sent and will minimize confusion by the user when they see network activity. If the status
report cannot be sent, or if the server reply is not received, the deletion status report MAY be sent again (as
described above) each time an OTA installation installation is performed or an installation status report is being
sent.

Regards,
r2j7
Last edited by r2j7 : 2008-04-04 at 14:29.
Reply With Quote

#7 Old Re: MIDlet-Delete-Notify - 2008-12-29, 10:14

Join Date: Dec 2008
Posts: 4
wyalp
Offline
Registered User
I've been trying an it only works after I install the app again.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
SIP NOTIFY Problem Olive VoIP 8 2007-09-09 12:06
calling midlet from midlet throws SecurityException on 6600 brianpegan Mobile Java General 2 2007-06-06 20:33
技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名 wotrust Other Programming Discussion 关于其他编程技术的讨论 0 2006-12-30 08:42
Launching another midlet with Class.forName rroic Mobile Java General 0 2002-06-28 10:36
Creating and Delete databases -kevbo- General Symbian C++ 1 2001-12-13 13:54

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia