Developer Docs
Documentation
Developer Guide
Developing Enyo Applications
Enyo Tutorial
Part 1: Initial Setup
Part 2: Basic UI
Part 3: Using a Service
Part 4: Displaying Data
Part 5: Working with Multiple Views
Search.js
FeedReader.js
depends.js
Part 6: Application Preferences
Preferences.js
FeedReader.js
Detail.js
depends.js
Search.js
Using Mock Data
Epilogue
Enyo Basics
Enyo Basics - From the Bottom Up
Enyo and HTML (Controls)
Enyo and JavaScript (Kinds)
Enyo Basics - Kinds, Components, Controls
Kinds
Components
Controls
Development Process
Getting Started with the Emulator
Application Structure
Application Folder
appinfo.json
depends.js
framework_config.json
index.html
css
mock
source
Exercise: Adding an application icon
Layout and Containers
Flex Layouts
Basics
Properties
flex
pack
align
Panes
Published Events
Methods
back(e)
getView()
getViewIndex()
getViewName()
next()
selectView(inView, inSync)
selectViewByIndex(inIndex, inSync)
selectViewByName: function(inName, inSync)
validateView(inName)
Sliding Panels
SlidingPane
SlidingView
Published Properties
Scrollers
BasicScroller
Scroll Axes
Scroll Position
Sizing
Published Properties
Published Events
Methods
getBoundaries()
isScrolling()
scrollIntoView(inY, inX)
scrollTo(inY, inX)
scrollToBottom()
Scroller
SnapScroller
Drawers
Drawer
Published Properties
Published Events
DividerDrawer
Toolbars
Toolbar and ToolButton
ToolButtonGroup
RadioToolButtonGroup
Groups
Group
RowGroup
Popups
Opening a Popup
Closing a Popup
Published Properties
showHideMode
openClassName
Technical Notes
Dialogs
Dialog
ModalDialog
Controls
Buttons
CustomButton
Published Properties
Button
IconButton
RadioButton
Headers
Header
PageHeader
HtmlContent
Published Properties
Published Events
Images
Image
AnimatedImage
SizeableImage
ScrollingImage
CroppableImage
ViewImage
Carousel
ImageView
Lists
VirtualList
Basic Use
Modifying List Rows
Data Handling
VirtualRepeater
Flyweight
Maps
Published Properties
Methods
hasMap()
clearAll(inExcludes)
setCenter(inLatitude, inLongitude)
Menus
Menu
MenuItem
Published Properties
MenuCheckItem
AppMenu
AppMenuItem
EditMenu
HelpMenu
People Picker
Published Properties
Published Events
onContactClick
onCancelClick
onListUpdated
onSearchCriteriaUpdated
onSearchCriteriaCleared
Pickers
enyo.Picker
enyo.PickerGroup
DatePicker
TimePicker
IntegerPicker
FilePicker
Published Properties
Progress Indicators
enyo.Progress
ProgressBar
Slider
ProgressSlider
Scrims
Text Fields
Input
Published Properties
PasswordInput
RichText
Published Properties
WebView
Published Properties
Published Events
Methods
acceptDialog()
cancelDialog()
clearCache()
clearCookies()
clearHistory()
deleteImage(inPath)
disconnect()
generateIconFromFile(inPath, inIconPath, inLeft, inTop, inWidth, inHeight)
goBack()
goForward()
insertStringAtCursor(inString)
printFrame(inName, inJobId, inWidth, inHeight, inDpi, inLandscape, inReverseOrder)
reloadPage()
resizeImage(inFromPath, inToPath, inWidth, inHeight)
saveImageAtPoint(inLeft, inTop, inDirectory, inCallback)
sendDialogResponse(inResponse)
stopLoad()
Anatomy of a Control
Multimedia
enyo.Sound
Published Properties
Methods
play()
enyo.Video
Published Properties
Methods
pause()
play()
Media Capture
Published Properties
Public Events
Public Methods
initialize(videoObjectFromClient)
load(mode, format)
startImageCapture(filePath, imageCaptureOptions)
startAudioCapture(filePath, audioCaptureOptions)
stopAudioCapture()
startVideoCapture(filePath, videoCaptureOptions)
stopVideoCapture()
unload()
updateAutoFocus(autoFocusSettings)
Events and Objects
Events
Event Creation
Custom Events and DOM Events
More on DOM Events
ApplicationEvents
Encapsulation
Enyo Scoping
Communication Between Objects
Globals
Published Properties
Owner, Container, Parent
Overview
Owner
Container
Parent
Other Examples
Chrome
TabBar
Further Reading
Services
BasicService and Service
BasicService
Published Properties
Service
PalmService
Making Requests
Making a single service request
Making simultaneous service requests
Making a series of service requests
Published Properties
Extending PalmService
Mock Palm Services
DbService
Grouping DbServices
Published Properties
Published Events
WebService
Published Properties
webOS Printing
Printing Images and WebKit-Rendered Content
Printer Discovery
Margins and Insets
Target Audience
Using the Print Dialog
Print Dialog Properties
Examples
Printing Demo Sample App
Standard usage with no rendering
Printing frame content
Printing with custom rendering
Utilities
enyo.json
Methods
enyo.json.parse(inJson)
enyo.json.stringify(inValue, inReplacer, inSpace)
enyo.keyboard
Methods
enyo.keyboard.setResizesWindow(inResizesWindow)
enyo.keyboard.setManualMode(inManual)
enyo.keyboard.show(inType)
enyo.keyboard.hide()
enyo.keyboard.forceShow(inType)
enyo.keyboard.forceHide()
enyo.keyboard.isShowing()
enyo.keyboard.isManualMode()
enyo.string
Methods
enyo.string.applyFilterHighlight(inText, inSearchText, inClassName)
enyo.string.escapeHtml(inText)
enyo.string.escapeHtmlAttribute(inText)
enyo.string.trim(inString)
enyo.string.stripQuotes(inString)
enyo.string.removeHtml(inHtml)
enyo.string.runTextIndexer(inText, inOptions)
enyo.string.toBase64(inText)
enyo.string.fromBase64(inText)
enyo.windows
Methods
activate(inUrl, inName, inParams, inAttributes, inWindowInfo)
Parameters
Example
activateWindow(inWindow, inParams)
Parameters
Example
addBannerMessage(inMessage, inJson, inIcon, inSoundClass, inSoundPath, inSoundDuration)
Parameters
deactivate(inName)
deactivateWindow(inWindow)
fetchWindow(inName)
getActiveWindow()
getRootWindow()
getWindows()
openDashboard(inUrl, inName, inParams, inAttributes)
Parameters
openPopup(inUrl, inName, inParams, inAttributes, inHeight, throb)
Parameters
openWindow(inUrl, inName, inParams, inAttributes, inWindowInfo)
Parameters
Example
removeBannerMessage(inId)
renameWindow(inWindow, inName)
setWindowParams(inWindow, inParams)
Parameters
setWindowProperties(inWindow, inProps)
Hybrid (Enyo/PDK) Apps
enyo.Hybrid
Published Properties
Published Events
Methods
addCallback(name, callback, defer)
callPluginMethod(methodName)
callPluginMethodDeferred(callback, methodName)
focus()
Globalization
Globalization
Locale
enyo.g11n.Locale(spec)
prototype methods
g11n
enyo.g11n.currentLocale
enyo.g11n.formatLocale
enyo.g11n.phoneLocale
enyo.g11n.setLocale(params)
Fmts
enyo.g11n.Fmts(locale)
prototype methods
Resources
enyo.g11n.Resources(params)
$L(textToTranslate)
prototype methods
enyo.g11n.Resources.prototype.getResource(path)
enyo.g11n.Resources.prototype.$L(stringToLocalize)
DateFmt
enyo.g11n.DateFmt(params)
prototype methods
enyo.g11n.DateFmt.prototype.toString
enyo.g11n.DateFmt.prototype.isAmPm
enyo.g11n.DateFmt.prototype.isAmPmDefault
enyo.g11n.DateFmt.prototype.getFirstDayOfWeek
enyo.g11n.DateFmt.prototype.format(date)
enyo.g11n.DateFmt.prototype.formatRelativeDate(date, options)
enyo.g11n.DateFmt.prototype.formatRange(dateStart, dateEnd)
NumberFmt
enyo.g11n.NumberFmt(options)
enyo.g11n.NumberFmt.prototype.format(number)
Advanced Topics
More on Ownership and Containment
Contained Components
KindComponents
noWindow: true or false?
Developing Mojo Applications
A Tour of the Application Directory
Basic Concepts
Stages and Scenes
Assistants and Controllers
Events
Application Launch Cycle
Additional Information
Introduction to Applications
Stages and Scenes
Controllers and Assistants
AppController and AppAssistant
StageController and StageAssistant
SceneController and SceneAssistant
Scene Stack
Views
Template Files
Rendering
Property Substitution
Escaping
Formatters
Localization
The Basics: Stages
Recommended Reading
Overview
Stages
Stage Properties
Types of Stages
Stage Hierarchy
Stage Proxy
Single-Stage Applications
Guidelines
Creating a Stage
Multistage Applications
Guidelines
Creating a Secondary (Child) Stage
Dashboard Applications
Related Topics
The Basics: Scenes
Recommended Reading
Overview
Designing Scenes
Styles
Widgets
Declaring the Widgets
Configuring and Setting Up Widgets
Behind the Scenes
Nomenclature
File Operating Sequence
Pushing and Popping Scenes
Events
Related Topics
The Basics: Tools
Recommended Reading
Overview
Tools to Create and View webOS Applications
palm-generate
palm-package
palm-install
palm-launch
Tools to Test and Debug webOS Applications
Emulator
Inspector
Debugger
webOS Resource Monitor
luna-send
Related Topics
All About Widgets
How to Use this Section
Anatomy of a Widget
The Application Perspective
Declaring Widgets
Widget Setup
Changing Widget Data Models
Using Widgets in Lists
Observing and Handling Widget Events
The Framework Perspective
Buttons and Selectors
Button
Check Box
Toggle Button
Radio Button
List Selector
Slider
Dialogs and Containers
Dialogs
showDialog()
showAlertDialog()
errorDialog()
Drawer
Scroller
Creating a Scroller
Scrollers and Widgets
Scroll Listeners
Scrolling Modes
Programatically Updating the Scroller
Indicators
Spinner
Progress Indicators
ProgressPill
ProgressBar
Progress
ProgressSlider
Lists
List
Templates
Dynamic Lists
Formatters and Dividers
Rendering Lists
List Manipulation
Styling and Highlighting
Filter List
Creating a List
Controlling HTML Escaping in Templates
Media Objects
Using HTMLMediaElements
Include the Javascript implementation
Instantiate Audio or Video objects
Useful defines
Sample audio player
Sample video player
webOS audio/video extensions
Menus - Code Examples
Menu Widgets
Application Menu
View Menu
Command Menu
Sub-menu
Pickers
Overview
Styling
Date Picker
Time Picker
Integer Picker
Extending Pickers
File Picker
Text Fields
TextField
Hint Text
Single-line TextField
Mutiline TextField
PasswordField
FilterField
RichTextEdit
Known Issues
Viewers
WebView
ImageView
Application Structure
App Folder
Assistants
Models
Views
Images
Stylesheets
appinfo.json
sources.json
icon.png
index.html
Application Lifecycle
Discovery, Download and Install
Launch, Foreground, and Background - Launch Cycle
Update
Delete
Application Launch Cycle
Scene Lifecycle
Lifecycle Details
initialize
Scene Assistant Methods - Summary
Pushing and Popping a Scene - An Example
Push - Adding the Scene
Scene is Active
Pop - Removing the Scene
Initialization and Allocations
Overview
Behind the Scenes
What Does This Mean?
Other Reasons for Pre-Initializing
Symmetry
Awareness at a Glance
How to Avoid Allocations
Pre-Cache Callback Handlers
Pre-Initialize All Fields
Predefined Methods for Callbacks
Downside of Pre-Initializing
Events
Framework Event Types
Custom Event Types
Listening
stopListening
Using Events with Widgets
Scene Hierarchies in webOS Applications
How webOS Applications Work
Email Application
Calendar Application
Why This Matters
Dashboards and Notifications
Banner Notifications
Pop-up Notifications
Dashboard Panels
Commander Chain
Registering Commanders
Command Propagation
Events and Commands
Using the Commander Chain for an App Menu
Just Type
Configuring appinfo.json for Just Type
Schema
action
dbsearch
search
appinfo.json Keywords
Example 1
Example 2
Granting Permissions for db8 Search
User Settings for Just Type
JavaScript Implementation
Enyo
Mojo
Exhibition
Using Exhibition
JSON
JavaScript
App Lifetime Considerations
Sample App
Audio
Using the webOS Streaming Music Player
Using HTML 5 Audio Objects
Adding an Audio Object
Loading the MediaExtension Library
Setting an Object's Audio Class
Controlling a Media Object
Playing, Pausing and Seeking
Determining Whether a Media Object is Pausable
Handling Media Events
Audio Performance Tips
Audio Object Garbage Collection
Supported Audio Formats
Supported Formats
Streaming
Volume Key Lock
Video
Using the webOS Video Player
Using HTML 5 Video Objects
How Video Objects Work in webOS
Adding a Video Object
Loading the MediaExtension Library
Setting an Object's Audio Class
Controlling a Media Object
Playing, Pausing and Seeking
Determining Whether a Media Object is Pausable
Handling Media Events
Setting a Video Object's Fit Mode
Supported Video Formats
Supported Formats
Encoding Profiles
Containers
Streaming
Media Extensions
Overview
Media Events
Palm-Specific Events
Connect Event
Disconnect/Watchdog Event
Error Codes and Additional Information
Extended Error Information
Media Audio Class Tagging
Special Considerations for Audio Tagged as MEDIA
Additional Streaming Data
Bitrate
Buffering Rate
Consumption Rate
Setting Properties on the GStreamer Pipeline
Releasing the Video Sink
Video Scaling in Full Screen Mode
Using a Non-Fullscreen View Rectangle
Setting the Video Orientation
Adding a Media Object to the DOM
Constructors for Audio and Video objects
Media Indexer
Accessing Media Indexer Data
Background Applications
Minimized Application
Dashboard Application
Alarms
Additional Guidelines
Storage Overview
Cookie
Depot
HMTL 5 Database object
db8
db8
db8 Features
Basic Steps
db8 Stores JSON objects
Example JSON data object
Special Properties for db8 JSON Objects
Queries and Indexing
All Queries Must be on Indexed Fields
Atomicity and Optimistic Concurrency
Schema Enforcement
Change Notifications
Using Revision Sets
Allowing Other Apps or Services to Access Your db8 Data
Example 1
Example 2 - Just Type
db8 FAQ
db8 Luna Send Examples
API calls
batch
del
delKind
find
get
merge
put
putKind
search
watch
collate
revision sets
Services Overview
Accessing Services
Syntax
Service URI
JSON Object
Example
Response Handling
Service Notifications
Application Services
The open method
The launch method
Cross-App Launch
Unsubscribing from a Service
Mojo Test Framework
A Sample Test Object
Adding Tests to Your Application
Test Specification File
Running Unit Tests (the easy way)
Asynchronous Testing Support
Callbacks
Controlling Timing
Validate
Before and After Methods
Creating Your Own Test Runner
Palm Inspector
Known Issues
Running the Palm Inspector
Palm Inspector Capabilities
Identifying Stages
Escaping HTML in Apps
Usage
Localization
What is localizable?
Application Names
JavaScript Strings
HTML Text
Developing PDK Apps and Plug-ins
New in webOS 3.0+
New APIs
Compass struct
Emulator
Hybrid Applications
PDK Overview
Introduction
Core Technologies
Desktop development
Device development
Prerequisites
Target audience
All host PCs
Windows
Mac
Running the Sample Application
Running the Sample App on a Windows PC
Running the sample app on the device from the command-line
Running the sample app in Visual Studio (desktop)
Running the sample app on the device from Visual Studio
Running the Sample app on a Mac
Running the sample app on the device
Running the sample app in the Xcode IDE (desktop)
Plug-in Development Basics
Starting Application Development
Application Development Process
What's in the PDK
Starting a Project in Xcode
Starting a Project in Visual Studio
Display Access
Accessing the Display
Setting up Your Frustum
Alpha Blending
Supported Texture Compression Formats
Disabling Screen Dimming
Input Handling
Single Touch Input
Multiple Touch Input
Gesture Area Input
Accelerometer Input
Accelerometer emulation on the desktop
Keyboard Input
Media Handling
Playing Video
Using PDL calls to play video
Playing Audio
Playing application music
Ensuring your audio plays smoothly
Device File System Access
Finding your application's directory on the device
Saving persistent application data on the device
Accessing Device Sensors
Advanced Sensor Use
Supported Sensors
Sensor APIs and Basic Process
Links
Accessing Services
Callback function signature
Calling a Service
Calling a service without a response
Calling a service with a callback response
Unregistering a service callback
Application Interrupt Handling
Noted application interrupt events
Palm Development Library calls for handling application interrupts
Memory Management
Avoiding Thread Memory Leaks
Handling Unaligned Memory Accesses
Accessing the Network on the Device
Linking for the Device
Exiting the Application
Building for the Device
Compiling for the Device
Compiling with GCC
Compiling for the HP Pre/Veer and Pixi smartphones
Inline Assembly
Linking for the Device
Running Your Application on the Device
Creating an Application Package
Using Command-Line Tools to Package and Install Your Application
To package, install and launch your application on the device
Configuring Your Application's appinfo.json File
Configuring Application Memory
Determining your application's memory usage
Example Complete Build, Package, and Install Process
JavaScript and Plug-in Interface
Initializing a Combined JavaScript/Plug-in App
Communicating Between JS and a Plug-in
Sending data to the Plug-in from JavaScript
Returning data to JS from the Plug-in
Calling a JavaScript function from a Plug-in
Cross-calling Limitations
Throwing Exceptions
Building a Combined JS and Plug-in Application
Troubleshooting Your Hybrid App
Using Eclipse as a Front-End to GDB Debugging on the Device
Developing JavaScript Services
Why Services?
JavaScript for Services
Node.js
Foundations
Next Steps
Additional Documentation
Activity Manager
Activity Manager Features
Activity Participants
Activity Lifecycle
Handling Incoming Service Requests
Activity Lifecycle Flowchart
Example Lifecycle Flows
Normal inbound app request
Potentially long running inbound app request
Incoming scheduled background activity
Activity Checklists
Incoming Requests
Scheduled Activities
Scheduled Interval Activities
Creating a Hello World Service
Prerequisites
To Create a Hello World Service
Debugging
To open a shell and log in to the device
To open a shell and log in to the Emulator
To see your installed service on the device/emulator
To invoke the service from a shell
To manually start a service
To monitor console messages in realtime
Troubleshooting
Services FAQ
Developing Synergy Connectors
Creating a Synergy Connector
Account Manager
db8
Minimal Synergy Connector
Typical Synergy Connector
JavaScript Services
Synergy Service
Syncing and Data Mapping
Next Steps
Additional Documentation
Creating a Synergy Contacts Package
Prerequisites
Terminology and Basic Concepts
To Create a Synergy Contacts Package
Troubleshooting and Debugging
Appendix A: Package/Service/Accounts/App files
Package file
Path
Contents
Notes
Account template file
Path
Contents
Notes
services.json
Path
Contents
Notes
sources.json
Path
Contents
Notes
com.palmdts.contact.testacct
Path
Contents
Notes
com.palmdts.contact.transport
Path
Contents
Notes
prologue.js
Path
Contents
serviceEndPoints.js
Path
Contents
Notes
Application files
sources.json
appinfo.json
helpers.js
index.html
first-scene.html
first-assistant.js
stage-assistant.js
Account Manager
Design points
Account Manager Service Interface (APIs)
Methods
createAccount
Syntax
Parameters
Returns
deleteAccount
Syntax
Parameter
Returns
getAccountInfo
Syntax
Parameters
Returns
modifyAccount
Syntax
Parameters
Returns
Synergy Service
Synergy Service Configuration Objects
Required Directory Structure
Account Manager Invoked Synergy Service Callbacks
onCapabilitiesChanged
Syntax
Parameters
Returns
onCreate
Syntax
Parameters
Returns
onDelete
Syntax
Parameters
Returns
onEnabled
Syntax
Parameters
Returns
validator
Syntax
Parameters
Returns
Synergy Service Error Codes
Custom Validator
Custom Validator Checklist
Using the webOS SDK Tools
Enabling Developer Mode
webOS 1.0-1.4.5
webOS 2.0+
Command-Line Tools
palm-generate
Usage
Options
Usage Notes
Examples
palm-package
Usage
Options
Usage Notes
Examples
palm-install
Usage
Options
Usage Notes
Examples
palm-launch
Usage
Options
Usage Notes
Examples
palm-run
Usage
Options
Usage Notes
Examples
palm-log
Usage
Options
Examples
Sample Output
palm-help
Usage
Options
Examples
Debugger
Commands
Device Browser
Device Bus Monitor
Usage
Options
Usage Notes
Example
Device Shell
Before You Begin
Device Login
Emulator Login
Using novacom or novaterm
Eclipse IDE
Before You Begin
Installing Eclipse and the webOS Plug-In
Installing Eclipse
Finding and installing updates
Installing the Aptana Plug-In
Using Eclipse with the Plug-Ins
Starting Eclipse
Selecting the webOS Perspective
Generating a webOS Application
Creating a new webOS application
Adding a scene to the application
Starting the application
Debugging a Mojo application
Staying Updated
Emulator
Using Command-Line Tools to Run Apps
Using Eclipse to Run Apps
Running PDK Apps
Debugging Your Application
Keyboard Shortcuts and Accelerometer Events
Keyboard Capture on the Mac
Using Emulator Host Mode
Exiting the Emulator
Note:
Command-Line Reference
Syntax
Options
Usage Notes
Examples
File Transfer
Windows
Mac
Launching a Hidden App from Device Info
luna-send
Usage
Options
Usage Notes
Examples
Radio Simulator
Using
luna-send
to Generate Radio Events
Examples
GPS AutoDrive
Commands for GPS AutoDrive
Resource Monitor
Using the webOS Resource Monitor
Implementing In-App Payment
Off-Device Content
Saleable Content
User Payment
Basic Process
Developer Responsibilites
In-App Payment Service
Purchase Verification for Off-Device Content
Purchase Verification Process
PDK In-App Payment API
Appendix A: Sample Receipt Verification Java Code
Design Guide
Enyo Design Guide
webOS TouchPad Design Guidelines
Overview
In This Document
For More Information
Hardware Features
Key Hardware Features
Display Characteristics
Hardware Components
Gestures
Sensors
Orientation
Lighting
Location
Input and Output
Camera
HP Beats Audio
Touch to Share
System Features
Card View and Multitasking
Card View
Cards Are Activities, Not Apps
User Arrangement
App Launcher and Just Type
App Launcher
Managing Apps
Exhibition Mode
A New Mode for Presenting Your Content
Fully Functional
Designing for Exhibition Mode
Synergy
Integrate Data Into Device Apps
Gesture Framework
Touch Events and Gesture Support
Standard Gestures
Text Input
Configuring the Keyboard
Text Fields
Search Fields
Cut, Copy, and Paste
Integrate Your App with Just Type
A Powerful Universal Search and More
Search Data Within Your App
Search Data Online
Trigger Quick Actions
System Services
Application APIs
Compatibility Mode
Running Mojo Apps on the TouchPad
App Framework
Views and Panes
Status Bar
Headers and Footers
Email Header and Footer Areas
Messaging Header and Footer Areas
Lists
Example
Lists: Adding and Deleting Items
Adding Items
Deleting Items
Buttons: Push Buttons
What They Are
When To Use
Buttons: Other Buttons
Icon Buttons
Radio Buttons
Back Button
Interactive Pop-Ups
What They Are
When To Use
Interactive Pop-Ups: Examples
Selection Pop-Up
Multi-Action Pop-Up
Interactive Pop-Ups: Text Input
Interactive Pop-Ups: Form Filling
Dialogs
What They Are
When To Use
Dialogs: Examples
Confirmation Dialog
Informative Dialog
Action Dialog
Notifications
What They Are
When To Use
Grouped Notifications
Alerts
What They Are
When To Use
App Menu
What It Is
When To Use
Designing Your App
The DNA of webOS
Design Principles
Focus on benefits to users, not technical features
Streamline interactions
Familiarity leads to intuitiveness
Pleasantly surprise experienced users
Content, functionality and interactions should be appropriate to the form factor of the device
Key Design Differences Between Phone and Tablet Interactions
Laying Out Content and Controls
Consider how people hold the TouchPad
Tap Targets
Positioning Controls
Create logical groupings of navigation and action controls
Pane with Header Only
Pane with Header and Footer
Layouts: Single Pane and Split View
Single Pane
App Examples
Split View
App Examples
Layouts: Sliding Panes
Pane Navigation
App Examples
Pane Peeking
Portrait and Landscape Layouts
Single-Pane Layouts
Grid
Single-Column
Split View
Sliding Panes
Full Screen Mode
Providing Feedback
Pressed States
Spinners
Progress Indicators
Progress Button
Progress Bar Item
Progress Bar
Progress Slider
Alerting the User
Notifications
Alerts
Dialogs
Inline Text
Form Filling
Form Filling in a View
Saving Data
Multiple Selection
Photos and Videos
Selection mode
Multiple Selection in Lists
Navigation Patterns
Hierarchical Navigation
Sliding Panes
Zoom In/Out
App Examples
Back Button
App Examples
Navigating at the Same Level
Tabs for Navigating Sections
App Examples
View-Switching
App Examples
Pan Canvas
App Examples
Combining Hierarchical and Sideways Navigation
Pane Peeking
Task Flow Navigation
Step by Step/Task Flows
webOS TouchPad Wireframe Stencils
Overview
Viewing the Stencils
In This Document
Working with the Illustrator file
Annotations
Color Swatches
Glyphs and Graphics
Type
System Components
Landscape Orientation
Portrait Orientation
Notifications
Cut/Copy/Paste
Headers and Footers
Headers
Footers
Custom, Transient Headers and Footers
List Items
List Backgrounds
List Dividers
Group Boxes
List Examples
Editing Lists
Example: Addressing Suggestions List
Scrolling
Buttons and Forms
Small Square Buttons
Big Square Buttons
Icon Buttons
Activity Buttons
Radio Group Buttons
List Items as Buttons
Popup Menus
Setting Values
Text Fields
Popup Examples
Message Dialogs
Popups with Text Entry
Interactive Popups
Sharing/Contact Picker
Share Dialog
File Picker (Multi-Select)
File Picker (Single-Select)
Media Playback Components
Embedded (Inline) Video Playback
Fullscreen Video Player
Embedded Audio Widget in Web Browser
Streaming Audio Widget
Link to Streaming Audio File in a Browser
Example: Custom Music Controls in a List
Sliding Panes - Portrait
Sliding Panes - Landscape
Split View - Not Sliding Panes
Full-Width Layouts
Wireframe Example: Email App
Wireframe Example: Tasks App
Wireframe Example: Memos App
Mojo Design Guide
User Interface Summary
Overview
User Expectations
Supported UI Interactions
Basic Guidelines for Scenes
Screen Dimensions
Screen Modes
Transitions
The Application Menu
Buttons and Menu Commands
Plan for Interruptions
Errors
Launching New Cards
Saving Data
Using System Resources
Common Scene Elements
Headers
Menus - UI Guidelines
Command Menu Area
Application Messages
Application Messages Requiring User Action
Lists
Additions to Customize Lists
Pickers
Application-Defined Text
User-Entered Text
Smart Text Features
Smart Text Engine (STE)
Controlling the STE
Enabling the STE
Disabling the STE
Controls
Animation Tips
Overview
Style Animation
Example
Methods
Initialization Arguments
"options"Properties
Playing Media Files
Displaying Images
Embedding Content
Progress Indicators
Activity Indicators
Human Interface Guidelines
Who should read this document?
Get to Know the webOS Platform
Take Some Apps for a Test Drive
Launch&Switch Between Applications
Polite Notifications
Urgent Notifications
Familiarize Yourself with the Technologies
Touchscreen
Gesture Area
Sensors
Orientation
Proximity Sensor
Location services
webOS Platform APIs
HP webOS: A Rich Software Development Environment
Designing webOS Applications
Planning: It's the Key
Start Thinking Like a"Mobile App Designer"
We Know What It's Like
Write Your App's Statement of Purpose
Think about the world of possibilities
Interactions We Support
Consider the Technologies Available to You
Sketch the Workflow
Sketching Your Scenes
Basic Elements
Scene Dimensions
OS-Controlled Areas
Common Scene Elements
Some Apps Are Different
Working on the Details
Specify Buttons and Menu Commands
Open New Cards Only When Needed
Use Animations Effects Consistently
Figure Out When You Should Save Data
Plan for Interruptions
Use System Resources Responsibly
Let's Review
Start Prototyping
Headers and Commands
Scrolling Header
Fixed Header
View Menu
Command Buttons
Application Menu Items
Submenu
Text and Buttons
Title
Body Text
Information Text
Text Field
Rich Text Fields
Password Field
Push Button
Value Selectors
Checkbox
Segmented Buttons
Toggle Button
MultiToggle Button
Command Button Groups
Pop-Up Menu
Date Picker
Time Picker
Integer Picker
Slider
Lists
List
Multiple Selection List
Group Box
Filter List
Filter Field
Visual Organizers
Dividers
Collapsible Dividers
Drawers
Connecting to Data and Services
People Picker
File Picker
Media Player
WebView
ImageView
The Application Menu
Adding Commands
Providing Feedback
Dialog Boxes
Progress
Progress Indicators
Activity Indicators
Errors
Notifications
Banner Notification
Dashboard Summary
Pop-Up Notification
Dashboard Applications
Layout and Customization
Usability Testing
Prepare for Delivery
Reference
Enyo App Framework APIs
Mojo App Framework APIs
Widgets
Widget Models
Mojo.Widget.Button
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.CheckBox
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.DatePicker
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Drawer
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.FilterField
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.FilterList
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ImageView
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.IntegerPicker
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.List
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ListSelector
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.PasswordField
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ProgressBar
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ProgressPill
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ProgressSlider
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.RadioButton
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.RichTextEdit
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Scroller
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Slider
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Spinner
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.TextField
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.TimePicker
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ToggleButton
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.WebView
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Summary
Detail
Mojo.Widget.WebView.
DialogPromptAssistant
Mojo.Widget.WebView.
DialogUsernamePasswordAssistant
Classes and Namespaces
Mojo
Namespace Detail
Method Summary
Method Detail
{String} Mojo.
assert
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertArray
(expectedArray, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertClass
(object, constructorFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertDefined
(value, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertElement
(expectedElement, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertEqual
(expected, actual, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertFalse
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertFunction
(expectedFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertMatch
(regex, testValue, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertNumber
(expectedNumber, message, messageProperties)
Parameters
Returns
Mojo.
assertProperty
(properties)
Parameters
{string} Mojo.
assertString
(expectedString, message, messageProperties)
Parameters
Returns
Mojo.
doNothing
()
Mojo.
loadScriptWithCallback
(path, callback, optionalDocument)
Parameters
Mojo.
parseJSON
(jsonText)
Parameters
{String} Mojo.
require
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireArray
(expectedArray, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireClass
(object, constructorFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireDefined
(value, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireElement
(expectedElement, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireEqual
(expected, actual, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireFalse
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireFunction
(expectedFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireMatch
(regex, testValue, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireNumber
(expectedNumber, message, messageProperties)
Parameters
Returns
Mojo.
requireProperty
(properties)
Parameters
{string} Mojo.
requireString
(expectedString, message, messageProperties)
Parameters
Returns
Mojo.Animation
Namespace Detail
Summary
Method Summary
Detail
Mojo.Animation.easeIn
Mojo.Animation.easeInOut
Mojo.Animation.easeOut
Method Detail
Mojo.Animation.animateClip(element, side, animationType, details)
Example Use
'details' properties
Parameters
Mojo.Animation.animateStyle(element, attr, animationType, details)
Example Use
'details' properties
Parameters
Mojo.Animation.animateValue(q, animationType, callback, details)
'details' properties
Methods
Parameters
Mojo.Animation.queueForElement(element)
Parameters
Mojo.Animation.Queue
Class Detail
Method Summary
Method Detail
Mojo.Animation.Queue.
add
(animation)
Parameters
Mojo.Animation.Queue.
remove
(animation)
Parameters
Mojo.Char
Namespace Detail
Method Summary
Method Detail
{boolean} Mojo.Char.
isDeleteKey
(key)
Parameters
Returns
{boolean} Mojo.Char.
isDigit
(key)
Parameters
Returns
{boolean} Mojo.Char.
isEnterKey
(key)
Parameters
Returns
{boolean} Mojo.Char.
isValid
(key)
Parameters
Returns
Mojo.Char.
isValidWrittenChar
(keyCode)
Parameters
Mojo.Controller
Namespace Detail
Summary
Detail
Mojo.Controller.
errorDialog
Overview
Function Call
Arguments
Styles
{Object} Mojo.Controller.
getAppController
Mojo.Controller.
showAlertDialog
Overview
Function Call
Arguments
Mojo.Controller.
showDialog
Overview
Function Call
Arguments
Mojo.Controller.AppController
Class Detail
Method Summary
Method Detail
Mojo.Controller.AppController.
closeAllStages
()
Mojo.Controller.AppController.
closeStage
(stageName)
Parameters
Mojo.Controller.AppController.
createStageWithCallback
(stageArguments, onCreate, optionalStageType)
Parameters
Mojo.Controller.AppController.
getActiveStageController
(stageType)
Parameters
{string} Mojo.Controller.AppController.
getScreenOrientation
()
Returns
Mojo.Controller.AppController.
getStageController
(stageName)
Parameters
Mojo.Controller.AppController.
getStageProxy
(stageName)
Parameters
{Object} Mojo.Controller.AppController.
launch
(appId, params, onSuccess, onFailure)
Parameters
Returns
{Object} Mojo.Controller.AppController.
open
(params, onSuccess, onFailure)
Parameters
Returns
Mojo.Controller.AppController.
playSoundNotification
(soundClass, soundFile, duration)
Parameters
Mojo.Controller.AppController.
removeAllBanners
()
Mojo.Controller.AppController.
removeBanner
(category)
Parameters
Mojo.Controller.AppController.
sendToNotificationChain
(notificationData)
Parameters
Mojo.Controller.AppController.
showBanner
(bannerParams, launchArguments, category)
Parameters
Mojo.Controller.SceneController
Class Detail
Summary
Method Summary
Detail
Mojo.Controller.SceneController.
sceneContainerLayer
Method Detail
Mojo.Controller.SceneController.
commitChanges
()
Mojo.Controller.SceneController.
enableFullScreenMode
(yesNo)
Parameters
Mojo.Controller.SceneController.
get
(elementId)
Parameters
Mojo.Controller.SceneController.
getSceneScroller
()
Mojo.Controller.SceneController.
hideWidgetContainer
(elementOrId)
Parameters
Mojo.Controller.SceneController.
listen
(element, eventType, callback, onCapture)
Parameters
Mojo.Controller.SceneController.
modelChanged
(model, who)
Parameters
Mojo.Controller.SceneController.
popupSubmenu
()
Mojo.Controller.SceneController.
prepareTransition
(transitionType, isPop)
Parameters
Mojo.Controller.SceneController.
pushCommander
(cmdr)
Parameters
Mojo.Controller.SceneController.
pushContainer
(container, layer, options)
Parameters
Mojo.Controller.SceneController.
removeCommander
(cmdr)
Parameters
Mojo.Controller.SceneController.
removeContainer
(container)
Parameters
Mojo.Controller.SceneController.
removeRequest
(request)
Parameters
Mojo.Controller.SceneController.
removeWatcher
(watcher, model)
Parameters
{Object} Mojo.Controller.SceneController.
serviceRequest
(url, options, resubscribe)
Parameters
Returns
Mojo.Controller.SceneController.
setDefaultTransition
(transitionType)
Parameters
Mojo.Controller.SceneController.
setInitialFocusedElement
(focusedElement)
Parameters
Mojo.Controller.SceneController.
setupWidget
(name, attributes, model)
Parameters
{Function} Mojo.Controller.SceneController.
setUserIdleTimeout
(element, func, delay, watchMouse, watchKeys)
Parameters
Returns
Mojo.Controller.SceneController.
setWidgetModel
(widget, model)
Parameters
Mojo.Controller.SceneController.
showWidgetContainer
(elementOrId)
Parameters
Mojo.Controller.SceneController.
stopListening
(element, eventType, callback, onCapture)
Parameters
Mojo.Controller.SceneController.
topContainer
()
Mojo.Controller.SceneController.
useLandscapePageUpDown
(yesNo)
Parameters
Mojo.Controller.SceneController.
watchModel
(model, who, changeFunc)
Parameters
Mojo.Controller.StageController
Class Detail
Method Summary
Method Detail
Mojo.Controller.StageController.
activate
()
Mojo.Controller.StageController.
activeScene
()
Mojo.Controller.StageController.
deactivate
()
Mojo.Controller.StageController.
delegateToSceneAssistant
(functionName)
Parameters
Mojo.Controller.StageController.
getAppController
()
Mojo.Controller.StageController.
getScenes
()
Mojo.Controller.StageController.
getWindowOrientation
(orientation)
Parameters
{Boolean} Mojo.Controller.StageController.
hasNewContent
()
Mojo.Controller.StageController.
indicateNewContent
(hasNew)
Parameters
Mojo.Controller.StageController.
isActiveAndHasScenes
()
{Boolean} Mojo.Controller.StageController.
isChildWindow
()
Mojo.Controller.StageController.
loadStylesheet
(path)
Parameters
Mojo.Controller.StageController.
parentSceneAssistant
(targetSceneAssistant)
Parameters
Mojo.Controller.StageController.
popScene
(returnValue, options)
Parameters
Mojo.Controller.StageController.
popScenesTo
(targetScene, options)
Parameters
Mojo.Controller.StageController.
pushAppSupportInfoScene
()
Overview
Function Call
Mojo.Controller.StageController.
pushCommander
(cmdr)
Parameters
Mojo.Controller.StageController.
pushScene
(sceneArguments)
Parameters
Mojo.Controller.StageController.
removeCommander
(cmdr)
Parameters
Mojo.Controller.StageController.
sendEventToCommanders
(event)
Parameters
Mojo.Controller.StageController.
setClipboard
(escapeHTML:, escapeHTML)
Parameters
Mojo.Controller.StageController.
setWindowOrientation
(orientation)
Parameters
Mojo.Controller.StageController.
setWindowProperties
(props)
Parameters
Mojo.Controller.StageController.
swapScene
(sceneArguments)
Parameters
Mojo.Controller.StageController.
topScene
()
Mojo.Controller.StageController.
unloadStylesheet
(path)
Parameters
Mojo.Depot
Class Detail
Method Summary
Method Detail
Mojo.Depot.
add
(key, value, onSuccess, onFailure)
Parameters
Mojo.Depot.
discard
(key, onSuccess, onFailure)
Parameters
Since
Mojo.Depot.
get
(key, onSuccess, onFailure)
Parameters
Mojo.Depot.
remove
(bucket, key, onSuccess, onFailure)
Parameters
Mojo.Depot.
removeAll
(onSuccess, onFailure)
Parameters
Mojo.Drag
Namespace Detail
Method Summary
Method Detail
Mojo.Drag.
setupDropContainer
(element, dropClient)
Parameters
Mojo.Drag.
startDragging
(sceneController, element, startEvent, options)
Parameters
Mojo.Environment
Namespace Detail
Summary
Detail
Mojo.Environment.
AZERTY
Mojo.Environment.
AZERTY_ACC
Mojo.Environment.
build
Since
Mojo.Environment.
DeviceInfo
Mojo.Environment.
QWERTY
Mojo.Environment.
QWERTZ
Mojo.Environment.
QWERTZ_ACC
Mojo.Event
Namespace Detail
Summary
Method Summary
Detail
Mojo.Event.
aboutToActivate
Supported Widgets
Mojo.Event.
activate
Supported Widgets
Mojo.Event.
back
Custom Event Fields
Supported Widgets
Mojo.Event.
command
Supported Widgets
Mojo.Event.
commandEnable
Supported Widgets
Mojo.Event.
dragEnd
Supported Widgets
Mojo.Event.
dragging
Supported Widgets
Mojo.Event.
dragStart
Supported Widgets
Mojo.Event.
filter
Supported Widgets
Mojo.Event.
filterImmediate
Supported Widgets
Mojo.Event.
flick
Supported Widgets
Mojo.Event.
forward
Supported Widgets
Mojo.Event.
hold
Supported Widgets
Mojo.Event.
holdEnd
Supported Widgets
Mojo.Event.
imageViewChanged
Supported Widgets
Mojo.Event.
keydown
Custom Event Fields
Supported Widgets
Mojo.Event.
keypress
Custom Event Fields
Supported Widgets
Mojo.Event.
keyup
Custom Event Fields
Supported Widgets
Mojo.Event.
listAdd
Custom Event Fields
Supported Widgets
Mojo.Event.
listChange
Custom Event Fields
Supported Widgets
Mojo.Event.
listDelete
Custom Event Fields
Supported Widgets
Mojo.Event.
listReorder
Custom Event Fields
Supported Widgets
Mojo.Event.
listTap
Custom Event Fields
Supported Widgets
Mojo.Event.
orientationChange
Mojo.Event.
progressComplete
Supported Widgets
Mojo.Event.
progressIconTap
Custom Event Fields
Supported Widgets
Mojo.Event.
propertyChange
Custom Event Fields
Supported Widgets
Mojo.Event.
scrollStarting
Supported Widgets
Mojo.Event.
singleTap
Supported Widgets
Mojo.Event.
sliderDragEnd
Supported Widgets
Mojo.Event.
sliderDragStart
Supported Widgets
Mojo.Event.
stageActivate
Supported Widgets
Mojo.Event.
stageDeactivate
Supported Widgets
Mojo.Event.
tap
Supported Widgets
Mojo.Event.
webViewImageSaved
Supported Widgets
Method Detail
Mojo.Event.
listen
(target, type{string}, handlerFunction, useCapture)
Parameters
Mojo.Event.
listenForFocusChanges
(node, handler)
Parameters
Mojo.Event.
listenForHoldEvent
(node, downEvent, upEvent, handler, timeout)
Parameters
{Object} Mojo.Event.
make
(name{string}, details, optionalDocument, optionalBubbles, optionalCancel)
Parameters
Returns
Mojo.Event.
send
(element, name{string}, mojoDetails, optionalBubbles, optionalCancel)
Parameters
Mojo.Event.
sendKeyDownAndUpEvents
(keyDescription, optionalDocument)
Parameters
Mojo.Event.
sendKeyEvent
(keyDescription, optionalEventType, optionalDocument)
Parameters
Mojo.Event.
stopListening
(target, type{string}, handlerFunction, useCapture)
Parameters
Mojo.FilePicker
Namespace Detail
Method Summary
Method Detail
Mojo.FilePicker.
pickFile
(params, stageController)
Parameters
Example params
Returned parameters
Sample returns
Example use
Mojo.Format
Namespace Detail
Method Summary
Method Detail
Mojo.Format.
formatChoice
(value, choiceString, model)
Parameters
Returns
{String} Mojo.Format.
formatCurrency
(amount, options)
Parameters
Returns
Mojo.Format.
formatDate
(date, options)
Parameters
Returns
{String} Mojo.Format.
formatNumber
(number, options)
Parameters
Returns
{String} Mojo.Format.
formatPercent
(percent, options)
Parameters
Returns
Mojo.Format.
formatRelativeDate
(date, options)
Parameters
Returns
Mojo.Format.
getCurrentTimeZone
()
Returns
Mojo.Format.
getFirstDayOfWeek
(options)
Parameters
Returns
Mojo.Format.
isAmPmDefault
(options)
Parameters
Returns
{string} Mojo.Format.
runTextIndexer
(text)
Parameters
Returns:
Mojo.Format.
using12HrTime
()
Returns
Mojo.Function
Namespace Detail
Method Summary
Method Detail
Mojo.Function.
debounce
(onCall, onTimeout, delay, optionalWindow)
Example Use
Parameters
Mojo.Function.Synchronize
Class Detail
Example Use
Alternate Use
Parameters
Method Summary
Method Detail
{Function}
wrap
(callback)
Parameters
Returns
Mojo.Locale
Namespace Detail
Summary
Method Summary
Detail
Mojo.Locale.
getDayNames
Mojo.Locale.
getMonthNames
Method Detail
Mojo.Locale.
getCurrentFormatRegion
()
Returns
Mojo.Locale.
getCurrentLocale
()
Returns
Mojo.Locale.
readStringTable
(fileName, locale, pathToResourcesDir, mergeFunc)
Parameters
Mojo.Log
Namespace Detail
Using logging
Adding logging to your objects
Controlling logging
Summary
Method Summary
Detail
Mojo.Log.
LOG_LEVEL_ERROR
Mojo.Log.
LOG_LEVEL_INFO
Mojo.Log.
LOG_LEVEL_WARNING
Method Detail
Mojo.Log.
addLoggingMethodsToPrototype
(targetObject)
Parameters
Mojo.Log.
error
()
Mojo.Log.
info
()
Mojo.Log.
logException
(e, msg)
Parameters
Mojo.Log.
logProperties
(obj, name, includePrototype)
Parameters
Mojo.Log.
propertiesAsString
(targetObject, includePrototype)
Parameters
Mojo.Log.
warn
()
Mojo.Menu
Class Detail
Summary
Detail
Mojo.Menu.
appMenu
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
List Items
Methods
Mojo.Menu.
commandMenu
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
List Items
Methods
Mojo.Menu.
viewMenu
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
List Items
Methods
Mojo.Model
Namespace Detail
Method Summary
Method Detail
{Object} Mojo.Model.
decorate
(proto, clone)
Parameters
Returns
{string} Mojo.Model.
decrypt
(key, data)
Parameters
Returns
{string} Mojo.Model.
encrypt
(key, data)
Parameters
Returns
Mojo.Model.
format
(model, formatters, clone)
Parameters
Mojo.Model.Cookie
Class Detail
Parameters
Method Summary
Method Detail
get
()
put
(objectToStore, expirationDate)
Parameters
remove
()
Mojo.Service
Namespace Detail
Method Summary
Method Detail
Mojo.Service.
Request
(url, options, requestOptions)
Parameters
Unsubscribing from a Service
Mojo.Timing
Namespace Detail
Method Summary
Method Detail
Mojo.Timing.
createTimingString
(prefix, label)
Parameters
{Mojo.Timing.PerfTimer} Mojo.Timing.
get
(category)
Parameters
Returns
{Array} Mojo.Timing.
getCategoriesWithPrefix
(prefix)
Parameters
Returns
Mojo.Timing.
pause
(category)
Parameters
Mojo.Timing.
PerfTimer
(label)
Parameters
Mojo.Timing.
reportSceneTiming
(sceneName, sceneWindow)
Parameters
Mojo.Timing.
reportTiming
(prefix, label)
Parameters
Mojo.Timing.
reset
(category)
Parameters
Mojo.Timing.
resetAll
()
Mojo.Timing.
resetAllWithPrefix
(prefix)
Parameters
Mojo.Timing.
resetSceneTiming
(sceneWindow)
Parameters
Mojo.Timing.
resume
(category)
Parameters
Mojo.Transition
Namespace Detail
Summary
Detail
Mojo.Transition.
crossFade
Mojo.Transition.
defaultTransition
Mojo.Transition.
none
Mojo.Transition.
zoomFade
Mojo.View
Namespace Detail
Method Summary
Method Detail
Mojo.View.
addTemplateLocation
(basePath, localizedPath, viewFolderName)
Parameters
Mojo.View.
addTouchFeedback
(targetElement)
Parameters
Mojo.View.
advanceFocus
(containingElement, optionalSelection)
Parameters
Mojo.View.
clearTouchFeedback
(root)
Parameters
Mojo.View.
convertToNode
(htmlContent, targetDocument)
Parameters
Mojo.View.
convertToNodeList
(htmlContent, targetDocument)
Parameters
{String|Object|Array|Boolean|Number} Mojo.View.
getFocusableList
(containingElement)
Parameters
Mojo.View.
getFocusedElement
(containingElement)
Parameters
Mojo.View.
getScrollerForElement
(targetElement)
Parameters
Mojo.View.
makeFocusable
(targetElement)
Parameters
Mojo.View.
makeNotFocusable
(targetElement)
Parameters
Mojo.View.
removeTouchFeedback
(targetElement)
Parameters
Mojo.View.
render
(renderParams)
Parameters
Mojo.View.
requiresProperties
(element, target, one)
Parameters
{Boolean} Mojo.View.
visible
(element)
Parameters
PDK APIs
Palm PDK Library
Palm Development Library Data Structures
Defines
Sensor Defines
Enums
Enum Arrays
PDL_Err
PDL_OGLVersion
PDL_Orientation
PDL_TouchAggression
Typedefs
Structs
PDL_Compass
PDL_Location
PDL_NetInfo
PDL_ScreenMetrics
PDL_OSVersion
Sensor Structs
PDL_AccelerometerEvent
PDL_ALSEvent
PDL_AngularVelocityEvent
PDL_CompassEvent
PDL_GravityEvent
PDL_LinearAccelerationEvent
PDL_MagneticFieldEvent
PDL_OrientationEvent
PDL_ProximityEvent
PDL_RotationEvent
PDL_ShakeEvent
PDL_SensorEvent
Plug-in API Summary
General APIs
Hybrid App APIs
APIs for Accessing Services
Video APIs
In-App Payment APIs
Sensor APIs
PDL_BannerMessagesEnable
Description
Syntax
Returns
PDL_CallJS
Description
Syntax
Example
PDL_CheckLicense
Description
Syntax
Returns
PDL_CustomPauseUiEnable
Description
Syntax
Returns
PDL_DismissFullscreen
Description
Syntax
Returns
PDL_EnableCompass
Description
Syntax
Returns
PDL_EnableLocationTracking
Description
Syntax
Returns
PDL_EnableSensor
Description
Syntax
Returns
PDL_FreeItemCollection
Syntax
Parameters
Returns
PDL_FreeItemInfo
Syntax
Parameters
Returns
PDL_FreeItemReceipt
Syntax
Parameters
Returns
PDL_GesturesEnable
Description
Syntax
Returns
PDL_GetAppinfoValue
Description
Syntax
Returns
PDL_GetAvailableItems
Syntax
Parameters
Returns
PDL_GetCallingPath
Description
Syntax
Returns
PDL_GetCompass
Description
Syntax
Returns
PDL_GetDataFilePath
Description
Syntax
Returns
PDL_GetDeviceName
Description
Syntax
Returns
PDL_GetError
Description
Syntax
Returns
Example
PDL_GetHardware
Description
Syntax
Returns
PDL_GetHardwareID
Description
Syntax
Returns
PDL_GetItemCollectionJSON
Syntax
Parameters
Returns
PDL_GetItemInfo
Syntax
Parameters
Returns
PDL_GetItemJSON
Syntax
Parameters
Returns
PDL_GetItemReceiptJSON
Syntax
Parameters
Returns
PDL_GetJSFunctionName
Description
Syntax
Returns
PDL_GetJSParamDouble
Description
Syntax
Returns
PDL_GetJSParamInt
Description
Syntax
Returns
PDL_GetJSParamString
Description
Syntax
Returns
PDL_GetKeyName
Description
Syntax
PDL_GetLanguage
Description
Syntax
Returns
PDL_GetLocation
Description
Syntax
Returns
PDL_GetNetInfo
Description
Syntax
Returns
PDL_GetNumJSParams
Description
Syntax
Returns
PDL_GetOSVersion
Description
Syntax
Returns
PDL_GetParamBool
Description
Syntax
Returns
PDL_GetParamDouble
Description
Syntax
Returns
PDL_GetParamInt
Description
Syntax
Returns
PDL_GetParamJson
Description
Syntax
PDL_GetParamString
Description
Syntax
Returns
PDL_GetPDKVersion
Description
Syntax
Returns
PDL_GetPendingPurchaseInfo
Syntax
Parameters
Returns
PDL_GetRegionCountryCode
Description
Syntax
Returns
PDL_GetRegionCountryName
Description
Syntax
Returns
PDL_GetScreenMetrics
Description
Syntax
Returns
PDL_GetUniqueID
Description
Syntax
Returns
PDL_HandleJSCalls
Description
Syntax
Returns
PDL_Init
Description
Syntax
Returns
PDL_isAppLicensedForDevice
Syntax
Returns
Example
PDL_IsFullscreenPlugin
Description
Syntax
Returns
PDL_IsPlugin
Description
Syntax
Returns
PDL_IsPoller
Description
Syntax
Returns
PDL_JSException
Description
Syntax
Returns
PDL_JSRegistrationComplete
Description
Syntax
Returns
PDL_JSReply
Description
Syntax
Returns
PDL_LaunchBrowser
Description
Syntax
Returns
PDL_LaunchEmail
Description
Syntax
Returns
PDL_LaunchEmailTo
Description
Syntax
Returns
PDL_LoadOGL
Description
Syntax
Returns
PDL_Log
Description
Syntax
Returns
PDL_Minimize
Description
Syntax
Returns
PDL_NotifyMusicPlaying
Description
Syntax
Returns
PDL_ParamExists
Description
Syntax
Returns
PDL_PollActiveSensors
Description
Syntax
Returns
PDL_PollSensor
Description
Syntax
Returns
PDL_PurchaseItem
Syntax
Parameters
Returns
PDL_Quit
Description
Syntax
PDL_RegisterJSHandler
Description
Syntax
Returns
Example
PDL_RegisterPollingJSHandler
Description
Syntax
Returns
PDL_ScreenTimeoutEnable
Description
Syntax
Returns
PDL_SensorExists
Description
Syntax
Returns
PDL_ServiceCall
Description
Syntax
Returns
Example
PDL_ServiceCallWithCallback
Description
Syntax
Returns
Example
PDL_SetAutomaticSoundPausing
Description
Syntax
Returns
PDL_SetFirewallPortStatus
Description
Syntax
Returns
PDL_SetFullscreen
Description
Syntax
Returns
PDL_SetKeyboardState
Description
Syntax
Returns
PDL_SetOrientation
Description
Syntax
Returns
PDL_SetTouchAggression
Description
Syntax
Returns
PDL_UnregisterServiceCallback
Description
Syntax
PDL_Vibrate
Description
Syntax
Returns
CIN_DeInit
Description
Syntax
CIN_Init
Description
Syntax
Returns
CIN_LoadCIN
Description
Syntax
Returns
CIN_Pause
Description
Syntax
CIN_Play
Description
Syntax
CIN_Stop
Description
Syntax
webOS Application APIs
Add Contact
Example
Browser
Examples
Calendar
Examples
Camera
Method
capture
Parameters
Return Handling
Example
Sample Code
Document Viewers
Examples
Email
open
Syntax
Parameters
Examples
Maps
Parameters
Examples
Sample Code
Messaging
Syntax
Parameters
Examples
People Picker
Example
Phone
Parameters
Examples
Photos
View File
webOS Service APIs
Accelerometer
Orientation events
Pitch and Roll
Shake
Raw Accelerometer Data
See a demo
Sample code from the screencast
main-assistant.js
main-scene.html
Activity Manager
Methods
adopt
Syntax
Parameters
Returns
Example
cancel
Syntax
Parameter
Returns
Example
complete
Syntax
Parameters
Returns
Example
create
Syntax
Parameters
Returns
Examples
getDetails
Syntax
Parameters
Returns
Example
monitor
Syntax
Parameters
Returns
Example
release
Syntax
Parameters
Returns
Example
start
Syntax
Parameters
Returns
Example
stop
Syntax
Parameters
Returns
Example
Alarms
Methods
set
Syntax
Parameters
Returns
Examples
clear
Syntax
Parameters
Returns
Examples
Mojo Examples
Set Calendar-Based Time
Set an Egg Timer to Activate 1 hr From Now
Remove Egg Timer
Schedule a News Fetch with a Twist
Application Manager
Methods
open
Syntax
Parameters
Returns
Examples
launch
Syntax
Parameters
Returns
Examples
Command and Resource Types
Bluetooth Serial Port Protocol (SPP)
Methods
Basic Process for Server/Client Data Exchange
Server
Client
Notifications
Syntax
Parameters
GAP Method
gettrusteddevices
Syntax
Parameters
Returns
Examples
SPP Access Methods
connect
Syntax
Parameters
Returns
Examples
disableserver
Syntax
Parameters
Returns
Examples
disconnect
Syntax
Parameters
Returns
Examples
enableserver
Syntax
Parameters
Returns
Examples
selectservice
Syntax
Parameters
Examples
Returns
subscribenotifications
Syntax
Parameters
Returns
Examples
SPP Data Transfer Methods
close
Syntax
Parameters
Returns
Examples
open
Syntax
Parameters
Returns
Examples
read
Syntax
Parameters
Returns
Examples
write
Syntax
Parameters
Returns
Examples
Connection Manager
getStatus
Syntax
Parameters
Returns
Examples
db8
Methods
batch
Syntax
Parameters
Returns
Examples
del
Syntax
Parameters
Returns
Examples
delKind
Syntax
Parameters
Returns
Examples
find
Syntax
Parameters
Returns
Examples
get
Syntax
Parameters
Returns
Examples
merge
Syntax
Parameters
Returns
Examples
put
Syntax
Parameters
Returns
Examples
putKind
Syntax
Parameters
Returns
Examples
putPermissions
Syntax
Parameters
Returns
Examples
reserveIds
Syntax
Parameters
Returns
Examples
search
Syntax
Parameters
Returns
Examples
watch
Syntax
Parameters
Returns
Example
Display Manager
status
Syntax
Parameters
Returns
Examples
Download Manager
Methods
cancelDownload
Syntax
Parameters
Returns
Examples
deleteDownloadedFile
Syntax
Parameters
Returns
Examples
download
Syntax
Parameters
Returns
Examples
downloadStatusQuery
Syntax
Parameters
Returns
Examples
listPending
Syntax
Parameters
Returns
Examples
pauseDownload
Syntax
Parameters
Returns
Examples
resumeDownload
Parameters
Returns
Examples
upload
Syntax
Parameters
Returns
Examples
Firewall
control
Syntax
Parameters
Returns
Examples
GPS
Methods
getCurrentPosition
Syntax
Parameters
Returns
Examples
startTracking
Syntax
Parameters
Returns
Examples
getReverseLocation
Syntax
Parameters
Returns
Examples
GPS CSV Route File
In-App Payment
Methods
getAvailableItems
Syntax
Parameters
Returns
Examples
getItemInfo
Syntax
Parameters
Returns
Example
getPendingPurchaseInfo
Syntax
Parameters
Returns
Example
purchaseItem
Syntax
Parameters
Returns
Examples
Key Manager
Supported Key Types
Supported Block Cipher Modes
Supported Block Cipher Padding Modes
Data Formatting
Methods
crypt
Syntax
Parameters
Returns
Examples
export
Syntax
Parameters
Returns
Examples
fetchKey
Syntax
Parameters
Returns
Examples
generate
Syntax
Parameters
Returns
Examples
import
Syntax
Parameters
Returns
Examples
keyInfo
Syntax
Parameters
Returns
Examples
remove
Syntax
Parameters
Returns
Examples
store
Syntax
Parameters
Returns
Examples
Key Service
Methods
audio/status
Syntax
Parameters
Returns
Examples
media/status
Parameters
Returns
Examples
switches/status
Parameters
Returns
Examples
headset/status
Parameters
Returns
Examples
Media Permissions
request
Syntax
Parameters
Returns
Examples
Checking Device Permissions
Deleting Device Permissions
Power Management
Methods
activityStart
Syntax
Parameters
Returns
Examples
activityEnd
Syntax
Parameters
Returns
Examples
Print Manager
Methods
Print Jobs Overview
printers/add
Syntax
Parameters
Returns
Example
Example Output
printers/delete
Syntax
Parameters
Returns
Example
Example Output
printers/getCapabilities
Syntax
Parameters
Returns
Example
Example Output
printers/getCurrent
Syntax
Parameters
Returns
Example
Example Output
printers/list
Syntax
Parameters
Returns
Example
Example Output
printers/listActive
Syntax
Parameters
Returns
Example
Example Output
printers/listAddedPrinters
Syntax
Parameters
Returns
Example
Example Output
printers/setCurrent
Syntax
Parameters
Returns
Example
Example Output
jobs/addFile
Syntax
Parameters
Returns
Example
Example Output
jobs/allAtOnce
Syntax
Parameters
Returns
Example
Example Output
jobs/cancel
Syntax
Parameters
Returns
Example
Example Output
jobs/close
Syntax
Parameters
Returns
Example
Example Output
jobs/editPrintParams
Syntax
Parameters
Returns
Example
Example Output
jobs/getCurrentPrintParams
Syntax
Parameters
Returns
Example
Example Output
jobs/getFinalParamsAndArea
Syntax
Parameters
Returns
Example
Example Output
jobs/getRenderStatus
Syntax
Parameters
Returns
Example
Example Output
jobs/getStatus
Syntax
Parameters
Returns
Example
Example Output
jobs/listAll
Syntax
Parameters
Returns
Example
Example Output
jobs/newTempFile
Syntax
Parameters
Returns
Example
Example Output
jobs/open
Syntax
Parameters
Returns
Example
Example Output
jobs/resizeTempFile
Syntax
Parameters
Returns
Example
Example Output
jobs/setRenderStatus
Syntax
Parameters
Returns
Example
Example Output
Error Codes
System Properties
Get
Syntax
Parameters
Returns
Examples
System Services
Preferences Methods
getPreferences
Syntax
Parameters
Returns
Examples
getPreferenceValues
Syntax
Parameters
Returns
Examples
setPreferences
Syntax
Parameters
Returns
Examples
Time Method
getSystemTime
Syntax
Parameters
Returns
Examples
Wallpaper Methods
deleteWallpaper
Syntax
Parameters
Returns
Examples
importWallpaper
Syntax
Parameters
Returns
Examples
info
Syntax
Parameters
Returns
Examples
refresh
Parameters
Returns
Sample Code
System Sounds
playFeedback
Syntax
Parameters
Returns
Examples
Sample Code
Touch2Share
shareData
Syntax
Parameters
Returns
Example
Zeroconf (Bonjour)
Methods
browse
Syntax
Parameters
Returns
resolve
Syntax
Parameters
Returns
register
Syntax
Parameters
Returns
JavaScript Library APIs
Foundations
Using Foundations
Foundations.ArrayUtils
ArrayUtils.clear
Syntax
Parameters
Returns
Foundations.Assert
Using Foundations.Assert
Assert and Require Versions
Using the"msg"and"params"arguments
Assert Functions
Assert.assert
Syntax
Parameters
Returns
Assert.assertArray
Syntax
Parameters
Returns
Assert.assertClass
Syntax
Parameters
Returns
Assert.assertDefined
Syntax
Parameters
Returns
Assert.assertEqual
Syntax
Parameters
Returns
Assert.assertError
Syntax
Parameters
Returns
Assert.assertFalse
Syntax
Parameters
Returns
Assert.assertFunction
Syntax
Parameters
Returns
Assert.assertIdentical
Syntax
Parameters
Returns
Assert.assertJSONObject
Syntax
Parameters
Returns
Assert.assertMatch
Syntax
Parameters
Returns
Assert.assertNumber
Syntax
Parameters
Returns
Assert.assertObject
Syntax
Parameters
Returns
Assert.assertProperty
Syntax
Parameters
Returns
Assert.assertString
Syntax
Parameters
Returns
Assert.require
Syntax
Parameters
Returns
Assert.requireArray
Syntax
Parameters
Returns
Assert.requireClass
Syntax
Parameters
Returns
Assert.requireDefined
Syntax
Parameters
Returns
Assert.requireEqual
Syntax
Parameters
Returns
Assert.requireError
Syntax
Parameters
Returns
Assert.requireFalse
Syntax
Parameters
Returns
Assert.requireFunction
Syntax
Parameters
Returns
Assert.requireIdentical
Syntax
Parameters
Returns
Assert.requireJSONObject
Syntax
Parameters
Returns
Assert.requireMatch
Syntax
Parameters
Returns
Assert.requireNumber
Syntax
Parameters
Returns
Assert.requireObject
Syntax
Parameters
Returns
Assert.requireProperty
Syntax
Parameters
Returns
Assert.requireString
Syntax
Parameters
Returns
Foundations.Class
Class.create()
Syntax
Parameters
Returns
Foundations.Comms.AjaxCall
Ajax Options
AjaxCall.get
Syntax
Parameters
Returns
AjaxCall.head
Syntax
Parameters
Returns
AjaxCall.post
Syntax
Parameters
Returns
Foundations.Comms.PalmCall
PalmCall.call
Syntax
Parameters
Returns
Foundations.Control.FSM
Using Foundations.Control.FSM
Implementing a Finite State Machine
Allocating a Finite State Machine
FSM Methods
FSM.currentState
Syntax
Parameters
Returns
FSM.event
Syntax
Parameters
Returns
FSM.go
Syntax
Parameters
Returns
Foundations.Control.Future
Using Foundations.Control.Future
Allocating a Future
Future Model
Basic Usage
Error Handling
Passing Error Functions
Creating a Future-wide Error Handler
Guidelines for Implementing Futures
Future Properties
Future Methods
Code Sample Notes
callback
Syntax
Parameters
Returns
cancel
Syntax
Parameters
Returns
getException
Syntax
Parameters
Returns
getResult
Syntax
Parameters
Returns
nest
Syntax
Parameters
Returns
now
Syntax
Parameters
Returns
onError
Syntax
Parameters
Returns
setException
Syntax
Parameters
Returns
setResult
Syntax
Parameters
Returns
status
Syntax
Parameters
Returns
then
Syntax
Parameters
Returns
whilst
Syntax
Parameters
Returns
Foundations.Control
Control.mapReduce
Syntax
Parameters
Returns
Foundations.Data.DB
Using Foundations.Data.DB
DB Functions
DB.del
Syntax
Parameters
Return
DB.delKind
Syntax
Parameters
Return
DB.find
Syntax
Parameters
Return
DB.get
Syntax
Parameters
Return
DB.merge
Syntax
Parameters
Return
DB.put
Syntax
Parameters
Return
DB.putKind
Syntax
Parameters
Return
DB.reserveIds
Syntax
Parameters
Return
Foundations.EnvironmentUtils
EnvironmentUtils.runtime
Syntax
Parameters
Returns
EnvironmentUtils.isBrowser
Syntax
Parameters
Returns
EnvironmentUtils.isNode
Syntax
Parameters
Returns
Foundations.Err
Err.create()
Syntax
Parameters
Returns
Foundations.JSON
Including foundations.json in Your Code
JSON.query
Supported Operators
Syntax
Parameters
Returns
Foundations.JSON.Schema
Schema.validate
Syntax
Parameters
Returns
Schema.checkPropertyChange
Syntax
Parameters
Returns
Foundations.JSON.Transformer
Transformer.initialize
Syntax
Parameters
Returns
Transformer.merge
Syntax
Parameters
Returns
Transformer.transform
Syntax
Parameters
Returns
Transformer.transformAndMerge
Syntax
Parameters
Returns
Foundations.ObjectUtils
ObjectUtils.toQueryString()
Syntax
Parameters
Returns
Foundations.StringUtils
StringUtils.camelize()
Syntax
Parameters
Returns
StringUtils.endsWith()
Syntax
Parameters
Returns
StringUtils.escapeHTML()
Syntax
Parameters
Returns
StringUtils.includes()
Syntax
Parameters
Returns
StringUtils.isBlank()
Syntax
Parameters
Returns
StringUtils.parseQueryString()
Syntax
Parameters
Returns
StringUtils.startsWith()
Syntax
Parameters
Returns
StringUtils.stripScripts()
Syntax
Parameters
Returns
StringUtils.stripTags()
Syntax
Parameters
Returns
StringUtils.unescapeHTML()
Syntax
Parameters
Returns
MediaCapture
Using MediaCapture
File Storage
MediaCapture Properties
MediaCapture Data Structures
AudioCaptureOptions
Schema
Elements
AudioVolume
Schema
Elements
CaptureDevice
Schema
Elements
CaptureFormat
Schema
Elements
ImageCaptureOptions
Schema
Elements
LoadOptions
Schema
Elements
VideoCaptureOptions
Schema
Elements
MediaCapture Events
MediaCapture Methods
MediaCapture.load
Syntax
Parameters
MediaCapture.startAudioCapture
Syntax
Parameters
MediaCapture.startImageCapture
Syntax
Parameters
MediaCapture.startVideoCapture
Syntax
Parameters
MediaCapture.stopAudioCapture
Syntax
Parameters
MediaCapture.stopVideoCapture
Syntax
Parameters
MediaCapture.unload
Syntax
Parameters
Metascene.Videos
Using Metascene.Videos
Scenes
Videos.Nowplaying
Videos.Videoeditor
webOS Data Types
Account Manager Data Types
Account
Schema
Elements
Example
capability
Schema
Elements
Example
CredentialsObj
Schema
Elements
Example
CustomValidatorObj
Schema
Elements
Example
DbKindsObj
Schema
Elements
Example
iconObj
Schema
Elements
Example
Template
Schema
Elements
Example
Activity Manager Data Types
Activity
Schema
Elements
ActivityEvent
Schema
Elements
Possible Events
Activity Manager Callback Property
Schema
Elements
Callbacks
Schema
Elements
Parent
Schema
Elements
Requirements
Schema
Schedule
Schema
Simple Scheduled Item
Smart Interval
Precise Interval
State
Schema
Triggers
Schema
Elements
Type
Foreground or Background
Priority
Probe Activity
Persistent Activity
Explicit Activity
Schema
Elements
Calendar
Calendar Data Object Schemas and Kinds
Notes on Recurrence Rules and using ordDay
Examples
Alarm
Schema
Elements
AlarmTrigger
Schema
Elements
Attendee
Schema
Elements
Calendar
Schema
Elements
Calendar Event
Schema
Elements
Calendar Preferences
Schema
Elements
ordDay
Schema
Elements
Recurrence Rule
Schema
Elements
Rule
Schema
Elements
Contacts
Contacts Data Object Schemas and Kinds
Contact
Schema
Elements
Contact Account
Schema
Elements
ContactAddress
Schema
Elements
ContactCustomField
Schema
Elements
ContactName
Schema
Elements
ContactOrganization
Schema
Elements
ContactPhotoField
Schema
Elements
ContactPluralAddress
Schema
ContactPluralField
Schema
Elements
ContactPluralIMAddress
Schema
Elements
DefaultPropertyHash
Schema
Elements
FavoritablePersonPluralField
Schema
Elements
DefaultPropertyHash
Schema
Elements
Favorite
Schema
Elements
Person
Schema
Elements
PersonName
Schema
Elements
PersonPluralAddress
Schema
Elements
PersonPluralField
Schema
Elements
PersonPluralIMAddress
Schema
Elements
PersonPluralPhoneNumber
Schema
Elements
PersonRingtone
Schema
Elements
db8 Data Types
BatchOperation
Schema
Elements
BatchResponse
Schema
Elements
CountResponse
Schema
Elements
ErrResponse
Schema
Elements
FindResponse
Schema
Elements
GetResponse
Schema
Elements
IndexClause
Schema
Elements
IndexPropClause
Schema
Elements
NotificationResponse
Schema
Elements
PutResponse
Schema
Elements
PutResult
Schema
Elements
Query
Schema
Elements
ReserveIdsResponse
Schema
Elements
RevSetClause
Schema
Elements
RevSetPropClause
Schema
Elements
SuccessResponse
Schema
Elements
WhereClause
Schema
Elements
In-App Payment
Receipt Object
Media Indexer
albumimage
Schemad
Elements
Example
album
Schema
Elements
Example
artist
Schema
Elements
Example
audio file
Schema
Elements
Example
genre
Schema
Elements
Example
image
Schema
Elements
Example
playlist
Schema
Elements
thumbnail
Schema
Elements
video file
Schema
Elements
Example
webOS Configuration Files
account_template.json
Schema
Properties
Example
appinfo.json
Schema
Properties
Just Type Integration
App ID
Examples
framework_config.json
Schema
Properties
Examples
Dynamic Configuration
packageinfo.json
Schema
Properties
Example
pluginname_appinfo.json
Schema
Properties
Example
services.json
Schema
Properties
Example
Security
sources.json
Schema
Properties
Example