Header Ads

New Project Capuchin tutorial with RSS feeds, Motion Sensor API (JSR 256) and Flash Lite UI

example of using Sony Ericsson's Project Capuchin API, this new tutorial illustrates how to create an application where RSS feeds are retrieved by a Java™ ME application and presented on the phone screen over a Flash Lite™ UI. Adding an extra dimension, this tutorial and accompanying code takes you through the steps of using the Motion Sensor API (JSR 256) to retrieve accelerometer data to control the motion of a Flash UI.

This tutorial is written by ustwo™, a creative design studio specializing in pioneering graphical user interfaces for some of the world's leading brands.

Tutorial prerequisites
This tutorial relies on the Java ME Platform and Adobe® Flash™ CS3 for creating mobile applications. A detailed description of how to set up the development environment is included in the tutorial's appendix.

Before getting started with this tutorial, make sure your PC has Bluetooth™ capability to send files to a Project Capuchin enabled phone. Sony Ericsson C905, G705 and W705 are examples of Project Capuchin enabled phones. These phones also support the JSR 256 sensor library, which is used in the application created in this tutorial.

Tutorial overview
The tutorial starts by looking at these two screenshots.

On the left, the RSS feed bookmarks are in a Java List UI which has the following functionality:

Add/Edit feeds
Refresh feeds
Delete feeds
View feed article titles (List Java UI)


RSS feed bookmarks in a Java List UI (left). Integrate the Flash UI to view feed article titles, ticker Flash UI, (right).

On the right, integrate the Flash UI to view feed article titles (ticker Flash UI). The application needs to scroll these titles across the screen based on changes in the accelerometer sensed by JSR 256, that is, as the end-user tilts the phone left or right. The Flash UI also allows the end-user to access data for the first or next feed, go back to the feed manager or exit the application by pressing keys on the phone.

The tutorial continues and guides you through getting started with the Flash and Java projects, testing the Flash player and testing the application on a Project Capuchin enabled phone.

About Project Capuchin
Sony Ericsson's Project Capuchin SDK is a set of APIs, a packaging tool, documents and getting-started tutorials that enables developers to bridge the Java ME and Adobe Flash Lite programming environments.

To make the Project Capuchin SDK as accessible as possible to both Java and Flash Lite developers, the components are available for download as the following separate files from the dedicated Project Capuchin Docs & Tools web section.

Sony Ericsson's Project Capuchin allows developers to combine the richness of both Java ME and Flash Lite by encapsulating Flash Lite content in Java ME applications making content created by Adobe Flash technology appear as Java ME applications.

1 comment:

  1. I thought readers of this blog post might be interested to know that Sony Ericsson is a Global Sponsor of the NAVTEQ Global LBS Challenge 2009. Testing of Project Capuchin applications on the Sony Ericsson C905 Cyber-shot phone is now available and free for qualifying contestants of the LBS Challenge.

    The current version of the Sony Ericsson SDK for the Java ME Platform does not support Flash (.swf) content, hence the testing of a Project Capuchin application is not possible in the SDK emulator. However, to make sure everyone will be able to test their Project Capuchin application for the competition, Sony Ericsson has installed two C905 phones in Mobile Complete’s Virtual Lab service.

    This service is free for qualifying contestants for NAVTEQ Global LBS Challenge; just register a new account and you will be able to start testing your Project Capuchin applications. More info here: http://nn4d.blogspot.com/2008/11/testing-of-project-capuchin.html

    The LBS Challenge invites developers to build location-enabled applications that work with mobile phones from the leading handset manufacturers and using dynamic positioning technology and NAVTEQ map data. The prize pool for this year’s competition is valued at over $5.25 million dollars in cash, tool and data licences, and handsets, making the NAVTEQ Global LBS Challenge one of the industry’s most rewarding developer competitions. There are five categories for entries - content, enterprise, entertainment & leisure, navigation, and social networking.

    This may be the perfect avenue for Flash developers to take advantage of Java ME capabilities and showcase what you can do to create the most innovative and UI attractive location-aware application.

    For more information see the official contest rules at http://www.LBSChallenge.com.

    Good luck!
    Mimmis, NAVTEQ Network for Developers

    ReplyDelete

Powered by Blogger.