New getting started tutorial for Project Capuchin
The new Sony Ericsson getting started tutorial for Project Capuchin outlines how the Project Capuchin API can be used as a bridge between Java™ ME Platform and Adobe® Flash Lite™. This tutorial contains four example applications, with implementation instructions, screenshots and code, to try:
•packaging Flash Lite in a MIDlet – Clock example
•data transfer mechanisms – HelloWorld example
•Flash animation as a UI presenting data from a Java service layer – Tasklist example
•Flash UI communication with Java both via data requests and handling events – StepCounter example
You'll also find an architecture overview, FAQ section and appendix presenting how to set up a Java ME environment for Project Capuchin using new Project Capuchin Basic APIs.
•Download Getting started with Project Capuchin for Flash Lite and Java developers tutorial >>
•Download Project Capuchin Basic APIs>>
Four example applications
1. The Clock project
This example illustrates how to create and display Flash Lite content inside a Java ME application. The clock application is designed in Flash using Flash CS3 but implemented as a Java MIDlet.
2. Data transfer in Project Capuchin applications, HelloWorld examples
One of the most important features of Project Capuchin applications is the data transfer between Java ME and Flash Lite. There are two data transfer mechanisms:
•DataRequest is used for data transfer between the Java and Flash layers. Data can be transferred in both directions
•ExtendedEvents is used by Java to notify Flash event listeners when events occur
Both data transfer mechanisms are demonstrated with two HelloWorld examples.
ActionScript for clock hands rotation.
3. Tasklist example
To demonstrate how Flash animations used as a UI can present data from a Java service layer, the Tasklist example redesigns the application “Tasks” that is usually included in Sony Ericsson phones within the Organiser.
4. StepCounter example
The StepCounter example demonstrates how a Flash UI communicates with Java both via data requests and handling events. This example uses the phone’s inbuilt accelerometer and the Mobile Sensor API (JSR 256) for accelerometer applications.
FAQ
Here you'll find answers to questions covering topics such as performance, image formats, text rotation and phone softkeys.
Appendix: setting up Java environment for Project Capuchin and Basic APIs
The appendix contains a step-by-step description of how to set up a Java ME environment for developing Project Capuchin applications and instructions for using the new Java classes available for download as the new Project Capuchin Basic APIs.
•packaging Flash Lite in a MIDlet – Clock example
•data transfer mechanisms – HelloWorld example
•Flash animation as a UI presenting data from a Java service layer – Tasklist example
•Flash UI communication with Java both via data requests and handling events – StepCounter example
You'll also find an architecture overview, FAQ section and appendix presenting how to set up a Java ME environment for Project Capuchin using new Project Capuchin Basic APIs.
•Download Getting started with Project Capuchin for Flash Lite and Java developers tutorial >>
•Download Project Capuchin Basic APIs>>
Four example applications
1. The Clock project
This example illustrates how to create and display Flash Lite content inside a Java ME application. The clock application is designed in Flash using Flash CS3 but implemented as a Java MIDlet.
2. Data transfer in Project Capuchin applications, HelloWorld examples
One of the most important features of Project Capuchin applications is the data transfer between Java ME and Flash Lite. There are two data transfer mechanisms:
•DataRequest is used for data transfer between the Java and Flash layers. Data can be transferred in both directions
•ExtendedEvents is used by Java to notify Flash event listeners when events occur
Both data transfer mechanisms are demonstrated with two HelloWorld examples.
ActionScript for clock hands rotation.
3. Tasklist example
To demonstrate how Flash animations used as a UI can present data from a Java service layer, the Tasklist example redesigns the application “Tasks” that is usually included in Sony Ericsson phones within the Organiser.
4. StepCounter example
The StepCounter example demonstrates how a Flash UI communicates with Java both via data requests and handling events. This example uses the phone’s inbuilt accelerometer and the Mobile Sensor API (JSR 256) for accelerometer applications.
FAQ
Here you'll find answers to questions covering topics such as performance, image formats, text rotation and phone softkeys.
Appendix: setting up Java environment for Project Capuchin and Basic APIs
The appendix contains a step-by-step description of how to set up a Java ME environment for developing Project Capuchin applications and instructions for using the new Java classes available for download as the new Project Capuchin Basic APIs.
No comments: