Getting Started with WebOS

This guide describes how to set up your development environment for Cordova and run a sample application. Note that Cordova used to be called PhoneGap, so some of the sites still use the old PhoneGap name.

Video Tutorials:

  1. Requirements

  • Windows, OS X, or Linux
  1. Install SDK + Cordova

  • Download and install Virtual Box
  • Download and install WebOS SDK
  • Download and install cygwin SDK (Windows only). Make sure you select "make" as it is not included by default
  • Download the latest copy of Cordova and extract its contents. We will be working with the webOS directory.
  1. Setup New Project

  • Open up terminal/cygwin and navigate to where you extracted your Cordova Download. Go into the webOS directory.
  1. Hello World

In phonegap/webOS/framework/www, open up index.html with your favourite editor. After the body tag add <h1>Hello World</h1>

5A. Deploy to Simulator

  • Open up your Palm Emulator from your applications folder/start menu.
  • Type make in your terminal/cygwin while in the webOS directory.

5B. Deploy to Device

Done!

You can also checkout more detailed version of this guide here.