×
Namespaces

Variants
Actions

Archived:Security settings required to access tilt sensor on the Nokia 3220 Xpress-on Fun Shell cover (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia 3220
CompatibilityArticle
Created: User:Technical writer 1 (27 Oct 2005)
Last edited: hamishwillee (23 Oct 2013)

Overview

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.

Description

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.

This page was last modified on 23 October 2013, at 04:09.
34 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×