Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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

Compatibility
Platform(s): Series 40 2nd Edition

Article
Created: User:Technical writer 1 (27 Oct 2005)
Last edited: hamishwillee (28 Jun 2012)

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 28 June 2012, at 07:54.
121 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved