license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

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
  • Donwload the latest copy of Cordova and extract its contents. We will be working with the Android 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.