New Flash Lite Device Object in Nokia S60 Platform Services

You can now easily update your Nokia 5800 Flash Lite 3.0 player to Flash Lite 3.1 Player (Note: there are a few bugs found with the new 3.1 update) and start using new Flash Lite Device Object . The Device object is supported since Flash Lite Player 3.1 on S60 5th Edition and selected S60 3rd Edition, Feature Pack 2 devices. This Device Object is in addition to the earlier published Service object, which opens access for example to Contacts, Location and Messaging.

The new Device object has two methods:
- DisableAutoRotation - Disables automatic screen rotation on the device
- ExpediteConnection - Starts the network connection setup process for the Flash Lite application

DisableAutoRotation is just what many Flash Lite Developers wanted. Of course we can use AS code to "disable Flash Lite auto screen orientation/rotation on Nokia 5800: Kuneri" and so on but finally a good solution is available and it is really easy to use (only a few lines of code):

// use Device Object
import com.nokia.lib.Device;
// create a new Device Object
var deviceObject:Object = new Device();
// disable auto rotation
deviceObject.DisableAutoRotation(true);

Remember install the corresponding AS 2.0 class files to your Flash IDE before you create Flash Lite applications that use the Device Object.

Links:
Forum Nokia Flash Lite Developer’s Library
Forum Nokia Flash Lite Developers Library's Using Platform Services.

0 Responses to “New Flash Lite Device Object in Nokia S60 Platform Services”


  1. No Comments

Leave a Reply





Get Adobe Flash playerPlugin by wpburn.com wordpress themes