This example shows you how to create a MIDlet that calls a protected method (in this case, a network operation). If the MIDlet is not properly signed, the protected method call causes the MIDlet to display a security prompt to the user. The following figure shows the security prompt that is displayed when an unsigned MIDlet attempts to send or receive network data.
Figure: SignedMIDlet security prompt
Series 40 2nd Edition SDK or newer
Series 40 2nd Edition device or newer
For instructions on how to get started with Java ME, see section Getting started.
For more information about the MIDlet, see:
Design for information about the design and functionality of the MIDlet
Implementation for instructions on how to implement the MIDlet
You can download the project files for the MIDlet from the download page.