Tag Archive for 'Platform Services'

Display contact informations and locations in Google Maps with Flash Lite 3.1

I improved my eariler example which loads contact informations from users device - displays informations to scrollable list and shows contacts location in Google Maps (static image). In this new version a new Device Object is used to keep Flash Lite application in portrait mode all the time. Another great feature is to detect users device location with APIBridge. In this version of Contacts Demo both user location and contact's address location is shown at static Google Maps Image (user can adjust zoom level).

This Flash Lite example code article is published in Forum Nokia Wiki. You can found more informations and source codes there:
- Display contact informations and locations in google Maps with Flash Lite 3.1

Edit: This tutorial got Featured Article of the Week status in Forum Nokia Wiki at Week 14 - April 4th, 2010.

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.

S60 Platform Services — Reaching Further with Flash on Nokia Devices

Via Forum Nokia there will be excellent Flash Lite webinar coming in January 28.

"This webinar will look at the new S60 5th Edition Platform Services and how Flash developers can make use of them. Nokia will give an overview of the opportunities on offer and the techniques used to access location, sensor, calendar, contacts, and other functionality in your Flash and web applications. Join us to learn about some practical examples of how you can use S60 Platform Services to extend what Flash Lite can do on Nokia platforms."

January 28
EMEA Session: 10 a.m. London, noon Helsinki
Register »

January 29
Americas Session: 7 a.m. San Francisco, 9 a.m. Dallas, 10 a.m. New York
Register »

Using S60 Platform Services from Flash Lite Application

New S60 Platform Services and the ActionScript Service APIs are available in Forum Nokia. Flash Lite Developer's Library version 1.1 includes very useful information about new Service Object that allows Flash Lite applications to access S60 Platform Services. Before you start to make Flash Lite applications that uses these services, you have to install Nokia-proprietary ActionScript library for S60 Platform Services for your IDE (read this: Using platform services).

Unfortunately I don't have any S60 5th edition phone in my hands right now to do examples. But I will do when I got one.

Flash Lite access to phone features in S60 5th edition

Finally there are really excellent news for Flash Lite Developers from Forum Nokia.

"Developers of Flash Lite from Adobe applications benefit from the UI enhancements in S60 5th Edition, with more screen real estate and touch interaction enabling users to more easily and intuitively navigate Flash Lite content and applications. The on-screen keyboard also is available for text and data entry. S60 5th Edition continues to support Flash Lite 3.0, with the addition of ActionScript extensions to take advantage of S60 Platform Services.

These extensions provide access to:
* The application manager
* Calendar records
* Contacts records
* Log information
* SMS and MMS messaging
* The media gallery
* Device location
* Landmarks
* System information
* Sensors

"These new APIs enable Flash Lite developers to access device-application data, such as that held in Calendar and Contacts, as well as information on a device’s location. Together, the UI- and platform-access enhancements will enable Flash Lite developers to create a completely new breed of context-aware applications and services that provide users with information unique to their own experiences."

I have been waiting for this kind of info for years now and finally there are good option to start making real application with Flash Lite to mobile devices.

Execellent! Excellent! :-)



Get Adobe Flash playerPlugin by wpburn.com wordpress themes