This tutorial shows you how to sign MIDlets. A very simple example is described here to show how to request permissions and how the signing procedure works.
The MIDlet simply loads a document using an HTTP connection. The actual content of the document is not relevant. The important point is that the MIDlet needs to call a sensitive operation. This chapter will examine both the scenario of building an untrusted MIDlet as well as the scenario of building a trusted MIDlet.
The example is also provided on Forum Nokia.