Nokia Platform Services 2.0

A simple way to access phone features from web widgets

Nokia Platform Services 2.0 provides a simple JavaScript™ API that enables you to access key device features in WRT widgets and adds an API to enable use of a device’s camera. Using the API, widgets can obtain location information, detect motion, handle messages, enable users to take pictures, and access many other device features with one or two lines of JavaScript code.

 

Download Nokia Platform Services 2.0

For more information, go to the Web Runtime Technology Overview page

What’s the latest news about Nokia Platform Services 2.0?

Nokia Platform Services 2.0 is now available as a full release and is ready for commercial use. The new features of the full release include:

  • Improvements that further simplify the APIs with enhancements to most interfaces, making access to device features even easier. Significant changes include:
    • new APIs for manipulating landmarks.
    • improved APIs for using log information.
    • new APIs to manipulate contact groups.
    • improved APIs for using sensor data.
  • Provision of forward compatibility with future implementations of Platform Services, enabling developers to create widgets with the confidence that core functionality will remain valid.

This full release is supported in the firmware of the Nokia N97 mobile computer (firmware release V20.0.019 or later) and Nokia N97 mini (firmware release V10.0.020 or later), with integrated support expected on other devices by firmware updates. (On devices providing Platform Services 1.0 the new asynchronous call features of the Calendar, Messaging, and Landmarks APIs will not function as expected.)

What can I do with Nokia Platform Services 2.0?

With Nokia Platform Services 2.0, you can write WRT widgets that access a device’s camera, GPS unit, sensors, contacts records, calendar entries, messages, landmarks, media files, log entries, and system status information. The emphasis in the API design is simplicity: The syntax used in Nokia Platform Services 2.0 will be familiar to JavaScript developers, making use of the API intuitive as the syntax and data formats are easy to learn. In addition, the API includes startEditor to enable use of native application editors for user data entry. This method has the advantage of presenting the user with a familiar data entry UI. It also requires the user to confirm data entry in the normal way, making the addition of data transparent and adding to the user’s trust in the application.

Nokia Platform Services 2.0 is designed to be platform independent, offering the possibility for its implementation on other web browser and Web Runtime implementations on Nokia devices, as well as in PC and other mobile browsers.

What’s in Nokia Platform Services 2.0?

The Nokia Platform Services 2.0 package provides two versions of the JavaScript library, source code, API documentation, and several example widgets to get you started. The two versions of the API library are a JavaScript package that you can include in your WRT widgets and a SIS package that you can use to install the library into devices. This enables you to choose between including the Nokia Platform Services 2.0 library in your WRT widgets or installing the library on any devices that will run your widgets.

How do I get started with Nokia Platform Services 2.0?

You’ll need a basic understanding of how to create web content using HTML, CSS, and the JavaScript language. If you’ve not yet started developing widgets, then go to the web getting started section.

To use Nokia Platform Services 2.0, include the JavaScript library in your widget or install the JavaScript library into the emulator supplied in the S60 5th Edition SDK for Symbian OS or Nokia N97 SDK for Symbian OS and any target devices.

Note that in devices providing Platform Services 1.0 and in the emulators the new asynchronous call features of the Calendar, Messaging, and Landmarks APIs will not function as expected. It is therefore recommended that testing be conducted on a Nokia N97 mobile computer or Nokia N97 mini. Other devices will gain full support by firmware updates.

The example WRT widgets provided in the Nokia Platform Services 2.0 package illustrate the use of many of the features of the library. These examples can be used as the foundation for your own widgets.

What help does Nokia offer for Nokia Platform Services 2.0?

Reference documentation of the Platform Services 2.0 API is provided in the Web Developer’s Library.

Should you encounter unexpected behaviour the release notes, included in the package, document known problems. You can use the Nokia Platform Services 2.0 discussion thread to get help, learn what others are doing with the API, post information on bugs, and offer suggestions for improvements. In addition, Nokia Technical Support offers incident based support for Platform Services 2.0.

With which Nokia platforms and devices is Nokia Platform Services 2.0 compatible?

Nokia Platform Services 2.0 is shipped in firmware on the Nokia N97 mobile computer (firmware release V20.0.019 or later) and Nokia N97 mini (firmware release V10.0.020 or later), with full support on other devices expected by firmware updates.

Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

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