Question

I need to ask the confirm alert while user delete the my Java ME application on mobile. Is it possible? I want to ask like Sure to delete this application? This question is YES/NO type. If user press yes, automatically open the our survey page on wap browser. How to achieve this?

Was it helpful?

Solution

Good question this is possible in part.

There are two attributes you can add to the jad to trigger on deletion.

MIDlet-Delete-Notify (since MIDP 2.0) This property indicates the location (URL) for posting removal 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.

MIDlet-Delete-Confirm The user will see this confirmation prompt when removing a MIDlet suite.

So the one can notify you and the other can show a message. Perhaps in the message you can put a short unique goo.gl URL to the survey and hope the user visits it from memory, or use a single short URL easy to remember.

OTHER TIPS

There is no hook for that in J2ME. It is part of the host operating system. So to make it short. You cannot achieve this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top