The document summarizes the webOS mobile operating system and app development environment. It discusses what webOS is, the Mojo framework, the SDK, and walks through the structure and features of the Sorting Thoughts app as an example. It also covers the app submission process and distribution through the app catalog.
4. Application Model
„The webOS application model combines the ease of development
and maintenance of a web application with the deep integration
available to native applications, significantly advancing the mobile
user experience while keeping application develop- ment simple.“ [1]
6. It looks like a Card
Background Foreground
Notification Icons
Banner Notification Dashboard
7. Stages & Scenes
Stage represent a browser tab
Apps have one or more stages
Scenes are views within a stage
Each scene has a JS assistant and a HTML view
Scenes are managed like a stack
8. Mojo Framework
Mojo includes:
Application level functions
UI widgets
Access to local storage
System Services
bundled with Prototyp Javascript Framework
9. Software Developer Kit
no 64 Bit WinXP
Mojo™ SDK for Windows, Linux and
Mac OS X
Ubuntu
(special 64 Bit Issues)
Inspector for DOM analysis
Command Line Tools (Debugger, Logger, ...)
Mojo Framework and Examples
Sun VirtualBox
Sup port
Eclipse Plugin n o 3.5
Download from http://developer.palm.com/
10. Sorting Thoughts ™
A simple app to collect notes and
thoughts.
Source code is available on http://code.google.com/p/sorting-thoughts/
11. App Structure
Controller MVC
Model Patt
ern
View
Configuration Information
I18N Resources
Source Catalog
CSS styles
13. Data Storage
Cookies (for preferences, max 4kB)
Depot (simple, no schema design)
HTML 5 database (SQLite)
use „ext:“ prefix to avoid 1MB limit
14. L10N & I18N
Use format functions like
Mojo.Format.formatNumber()
$L(„Text“) reads translated text from
strings.json
„Prelude“ font supports no Japanese or
Chinese
15. App Catalog
Read Checklists before submission
P. & L. (min 99¢ per App and 99$ per year)
OpenSource Apps in Catalog?
Global Store?
Vanished Apps after 1.3.1 Update in German
Catalog :-(
18. Conclusion
webOS make it pretty simple to build an app
but the apps are also simple - maybe too simple?
JavaScript is not Java™
SDK is okay but Ares[4] make it much simpler
App Catalog is currently a little bit confuse
p le
s im
It “s
20. Sources
[1] „Palm webOS“ by Mitch Allen
ISBN: 0596155255
[2] „TealPoint & Normsoft on webOS: It's Great, But We Want C“
http://by.ly/hkhx5zagzv
[3] Sorting Thoughts
http://www.sortingthoughts.com
[4] „Palm Shows Ares WebOS Development Tool“
http://by.ly/8nhaxdqs5i
webOS, Mojo and Palm are among the trademarks or registered trademarks
owned by or licensed to Palm, Inc.
Sorting Thoughts is trademark by Hendrik Ebel