PDK Installation

From WebOS101

Jump to: navigation, search

Contents

Introduction

The PDK is used to develop native and hybrid plugins for webOS.

The PDK must be installed before use. You do not have to install the Mojo SDK before you install the PDK, though if you will be writing applications that combine the two technologies you may wish to do so. Currently, the PDK does not work on the emulator, however, PDK applications can run on the desktop PC, though they will not have access to services available on the phone.

Download the PDK

Download the PDK from the PDN web site: Download PDK

Mac Installation

After downloading, double-click on Palm-PDK.dmg. Save a copy of the palm-pdk-uninstall.sh somewhere safe in case you wish to uninstall. Double-click on PalmPDK.pkg. Follow the prompts and the installation should succeed without issue. If it fails, try again. The PDK is installed to /opt/PalmPDK

PC Installation

Prepping a Device

  1. From card view (all apps minimized/closed) type webos20090606. Tap the Developer Mode Enabler icon, then click on On and restart the device when prompted
  2. Shut down the emulator (if running) and plug in the device to the computer via USB.
  3. From the shell (or command prompt) execute the following:
    pdk-device-install install
    When prompted, enter Y to continue. The device will reboot after successful installation.
  4. IMPORTANT: After the device reboots, disconnect the USB connector then reconnect it.

Testing the Install (Simple app)

Personal tools