1 / 14

T he Project C apuchin

T he Project C apuchin. Energizing User Experience. Background - rich UIs need. Consumers are increasingly demanding richer user experiences Personalization Customization Operator requirements Usability. Flash Lite - tech overview from SEMC perspective. Pros

franz
Télécharger la présentation

T he Project C apuchin

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The ProjectCapuchin Energizing User Experience

  2. Background - rich UIs need • Consumers are increasingly demanding richer user experiences • Personalization • Customization • Operator requirements • Usability

  3. Flash Lite - tech overview from SEMC perspective Pros - Adobe Flash CS3 IDE – easy to learn and use, fast prototyping and emulation - Community – big and active, constantly growing - Education material – books, forums, tutorials - Flash Lite Player – optimized and configured for each platform Cons - Limited system services access - No proper security solution - Lack of distribution channels - Performance and memory consumption

  4. JAVA ME - tech overview from SEMC perspective Pros - Wide platform access – Java Specification Requests (JSRs) - Security model – protection domains offered by MIDP - Distribution infrastructure, using Java ARchive packaging - Wide adoption of language Cons - Lack of efficient, designer oriented tools - No rich UI framework - Difficult to keep separation between presentation and service layer - Designers dependent on programmers in UI development

  5. Capuchin – overview and high-level architecture • What is Capuchin? • a way of creating compelling UI and energizing UX • a way to improve cooperation between UI designers and programmers • a way to simplify and speed up mobile applications development • a way to design UI in Flash while JAVA provides services • an API that defines a bridge between Flash and Java +

  6. Capuchin – overview and high-level architectureWhy name Capuchin? Tamarin Capuchin

  7. Capuchin – overview and high-level architecture

  8. Capuchin – overview and high-level architecture

  9. Benefits for Flash/Java developers • For Flash developers: • Extend current limited set of APIs with the use of Java JSRs • Secure Flash applications through existing Java security mechanisms • Deploy Flash in same manner as Java games and applications • Distribute Flash content using existing Java distribution infrastructure • For Java developers: • New ways of building application UI using proved technology • Clear separation of the presentation and service layer • Efficient designer oriented tools; let designers define the UI • Quick test and prototyping

  10. How to use Capuchin? 1. Packaging pure Flash Lite content - full Flash UI, no Java service access Flash games and apps encapsulated in a MIDlet suite (*.jar), using Java ME distribution infrastructure and security mechanisms. 2. Java MIDlet using Flash Lite for the UI layer - full Flash UI, Java services Flash Lite handles the entire presentation layer while Java ME is used as a service provider, feeding the presentation layer with necessary data. 3. Java MIDlet using Flash Lite for parts of the UI - Java UI and Flash UI, Java services In cases where it is not feasible to use Flash Lite as a full presentation layer, Flash Lite could be used for presentation of some UI components, for example menus in 3D games.

  11. Capuchin API com.sonyericsson.capuchin.*

  12. Hello World import com.sonyericsson.capuchin.FlashImage; import com.sonyericsson.capuchin.FlashPlayer; public class MyApplication extends MIDlet { public FlashPlayer flashPlayer = null; public FlashImage flashImage = null; public MyApplication() { InputStream in = getClass().getResourceAsStream("HelloWorld.SWF"); flashImage = FlashImage.createImage(in); flashPlayer = FlashPlayer.createFlashPlayer(flashImage); flashPlayer.setFullScreenMode(true); } protected void startApp() { Display.getDisplay(this).setCurrent(flashPlayer.getDisplayable()); } …

  13. SWF2JAR • SWF2JAR is a tool for packaging a flash file (.swf) into a MIDlet Suite (.jar) • Enables distribution of flash games and apps through Java infrastructure

  14. mxp – development and accessibility • Capuchin service API generator • - Eclipse plug-in • GUI for generating API files • Action Script functions as input • Test data for IDE simulation

More Related