Developing Applications for WebOS

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Notes on slide 1

Thanks, Kathryn and hello everyone. I’m Mitch Allen with Palm and I would like to start by thanking you for taking the time to tune into our webcast today. We’ve got a full hour planned for you, whether you’ve Come to check out Palm webOS for the first time or have scoured the web for everything on the webOS and are hoping to hear something new. I’ve been with Palm since 2000 when I joined Handspring to lead the software team and have been involved with webOS since the beginning. I am thrilled to be representing our terrific engineering and product teams back in Sunnyvale, who have done a tremendous job on the design and implementation of webOS and are working around the clock to get the Pre into stores as soon as possible and to get the SDK into your hands and all developers hands as well. We are all very excited to have a chance to share our work with you today. I’m joined by Paul Cousineau, who heads the Palm webOS and SDK product management team Paul introduces himself and talks about the Q&A So please, submit questions at any time by typing them into the Q&A portion of your webEx window

23 Favorites

Developing Applications for WebOS - Presentation Transcript

  1. Developing Applications for webOS: A Preview
    • Presented by:
    • Mitch Allen
    • Software CTO, Palm
  2. Will …
    • Talk about Palm webOS
    • Review the Mojo Framework
    • Develop a Simple Application
    • Q & A
  3. Won’t …
    • When…. ?
    • Where… ?
    • How much… ?
  4. Palm webOS
      • Introduction
  5. Palm webOS
    • Features
        • Palm’s next generation operating system
        • Fast, beautiful, multi-tasking user experience
        • Integrates a card-based OS with a web browser
    • Applications are built with JavaScript, HTML & CSS using common web development tools
  6. Architecture
  7. User Experience Quick Launch Bar Launcher Status Bar
  8. Cards Activity Card View Card
  9. Notifications & Dashboard Notification Bar Banner Notification Dashboard Dashboard Panel
  10. Application Model
  11. Anatomy of a webOS Application App Catalog Launcher Foreground Headless Background Dashboard Notifications App Removed Card View Dashboard View Close Launch Notifications Push Stage Remove Install or Update Install or Update Remove Notifications Push Stage Close Deactivate Activate
  12. Mojo
    • Developing webOS Applications
  13. Mojo
    • A JavaScript framework
        • Bundled with webOS
        • Included as source in the SDK for reference
        • Provides UI APIs, Widgets and Services
    • Uses Prototype 1.6.3, which is also bundled with webOS
  14. To Get Started
    • It’s the web!
        • All you need is a text editor and a web browser 
        • It helps to know JavaScript, but you don’t need to be an expert
    • Palm’s SDK includes:
        • Mojo Framework & Documentation
        • Emulator with DOM Inspector and JavaScript Debugger
        • Tool bundles (project generator, app package tools)
  15. Sample Application
    • Build a Simple App
        • Create a New Project
        • Add a Scene
        • Add a Widget
        • Store local data
        • Generate a Notification
        • Use a Service
    • In this example
        • Macintosh
        • TextMate & Safari
    • With SDK
        • Tool Bundles
        • Emulator with Debugger
  16. Stages & Scenes
    • Stage
        • HTML structure similar to a browser window
        • A Card or Dashboard panel
    • Scene
        • Mutually exclusive views
        • Can have many but must have one
    • SceneStack
        • Push and pop scenes
  17. Stages Activity Card Dashboard Panel
  18. Scenes Push Pop
  19. Widgets
    • HTML
      this.controller.setupWidget('my-toggle', this.toggle = { property : 'value' }, this.toggleModel = { value : true, disabled : false });   this.controller.listen('my-toggle', Mojo.Event.propertyChange, this.togglePressed.bindAsEventListener(this)); <div x-mojo-element=&quot;ToggleButton&quot; id=&quot;my-toggle&quot;></div>
    • JavaScript:
    • CSS:
    #my-toggle { float:left; }
  20. Local Storage
    • Three types:
        • HTML5 database API
        • Depot
        • Cookies
    • Create/Open Depot
    var db = new Mojo.Depot({name:”myDB&quot;, version:1, replace:false}, this.openOK, this.openFail);
    • Save
    db.simpleAdd(”myData&quot;, myDataContents, this.savedListOK, this.savedListFailed);
    • Get
    db.simpleGet(”myData”, this.getListOK, this.getListFailed);
  21. Notifications
    • Banner Notification
    var msg = “Hello World!”; Mojo.Controller.getAppController().showBanner({icon: “Img.png” “messageText: msg}, msg); Banner Notification
  22. Services
    • Service Call
    this.controller.serviceRequest('palm://com.palm.location', { method:&quot;getFix&quot;, parameters:{ mode: “auto” }, onSuccess: this.gotFix, onFailure: this.error } });
    • Callback
    this.gotFix= function(response){ Mojo.Log.info(“Fix received:”, response.longitude, response.latitude); } this.error= function(response){ Mojo.Log.info(response.errorText); }
  23. Recap
    • You’ve heard about:
        • Palm webOS; native applications written in JavaScript
        • Mojo framework; access to UI, APIs and Services
    • It’s still early – there’s a lot more to come
    • To learn more
        • Official Palm website – www.palm.com
        • Other web resources
    • Sign up at developer.palm.com for updates
  24. Q&A
    • For more information register at http://developer.palm.com
  25. Thanks!
    • For more information register at http://developer.palm.com

+ Chuq Von RospachChuq Von Rospach, 8 months ago

custom

8931 views, 23 favs, 34 embeds more stats

slides from the O'Reilly "Developing Applications f more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 8931
    • 5930 on SlideShare
    • 3001 from embeds
  • Comments 2
  • Favorites 23
  • Downloads 0
Most viewed embeds
  • 2395 views on http://pdnblog.palm.com
  • 128 views on http://feeds2.feedburner.com
  • 116 views on http://www.palm-webos.fr
  • 75 views on http://pletalk.com
  • 54 views on http://www.palmmojo.org

more

All embeds
  • 2395 views on http://pdnblog.palm.com
  • 128 views on http://feeds2.feedburner.com
  • 116 views on http://www.palm-webos.fr
  • 75 views on http://pletalk.com
  • 54 views on http://www.palmmojo.org
  • 48 views on http://www.mobiledev.com.br
  • 27 views on http://pletalk.tumblr.com
  • 22 views on http://sdkapplication.palm.com
  • 21 views on http://startup.textcube.com
  • 18 views on http://techtips.timlaytonllc.com
  • 16 views on http://ceo.gclue.jp
  • 15 views on http://static.slideshare.net
  • 13 views on http://blog.libinpan.com
  • 11 views on http://www.palminfocenter.com
  • 10 views on http://www.skratchboard.com
  • 8 views on http://developer.palm.com
  • 3 views on http://66.249.89.132
  • 2 views on http://www.iweb34.com
  • 2 views on http://www.hanrss.com
  • 2 views on http://feeds.feedburner.com
  • 2 views on http://emcampos.blogspot.com
  • 1 views on http://wildfire.gigya.com
  • 1 views on http://74.125.45.132
  • 1 views on http://64.233.169.132
  • 1 views on http://emc-db.zip.net
  • 1 views on http://bekme.blogspot.com
  • 1 views on http://www.tumblr.com
  • 1 views on https://remote.mtaleaders.org
  • 1 views on http://66.196.80.202
  • 1 views on http://mail.enkedu.net
  • 1 views on http://www.agglom.com
  • 1 views on http://www.appleinsider.com
  • 1 views on http://yomomedia.com
  • 1 views on http://emanuel.campos.zip.net

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories