Archived:Security settings required to access tilt sensor on the Nokia 3220 Xpress-on Fun Shell cover (Known Issue)
You can access the tilt sensor on the Nokia 3220's Xpress-on™ Fun Shell cover by creating a DatagramConnection to the cover. Note that SecurityException is thrown if an additional permission is not used in the MIDlet's JAD file. The MIDlet should be also signed to the Trusted 3rd Party Domain.
The DatagramConnection to the Fun Shell cover can be created as follows: "coverConnection = (DatagramConnection) Connector.open ("lcif://GAME/joystick/1.0");". To make this work, an additional permission needs to be added to the MIDlet's JAD file: "javax.microedition.io.Connector.lcif" and the MIDlet should be signed. Otherwise SecurityException is thrown.