sdk-pdk download - hp webos developer center
DESCRIPTION
Web page of webOS SDK DownloadTRANSCRIPT
12/09/13 SDK-PDK Download - HP webOS Developer Center
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 1/5
Versione solo testo
Questa è la copia cache di Google di https://developer.palm.com/content/resources/develop/sdk_pdk_download.html. È un'istantanea della pagina visualizzata il 25lug 2013 17:22:53 GMT. Nel frattempo la pagina corrente potrebbe essere stata modificata. Ulteriori informazioniSuggerimento. Per trovare rapidamente il termine di ricerca su questa pagina, digita Ctrl+F o ⌘F (Mac) e utilizza la barra di ricerca.
Home Resources SDKPDK Download
SDK-PDK Download
Downloading and Installing the 3.0.5 SDK and PDK
The HP webOS 3.0.5 SDK (release notes here) contains the libraries necessary to do both JavaScript development andC/C++ development. For JavaScript development, the SDK includes the command line tools needed to package, download,and debug applications, as well as sample code, reference code, and reference documentation. For C/C++ development,the SDK also includes the Plugin Development Kit (PDK), which includes a GCC compiler, SDL and OpenGL code libraries,project templates, sample source code, scripts, utilities, documents. You will be given an opportunity to opt out ofinstalling the PDK during the installation process.
You can install the SDK on Windows, OS X, and Ubuntu Linux host PCs. For C/C++ development, the SDK integrates with Visual Studio onWindows, and Xcode on OS X, although you can use commandline tools if you prefer. (App templates are currently only available for Xcode3.6 and earlier.)
Note: PDK development is now supported for Linux. See the Linux download section below for more information.
The SDK tools are also commandline based, but if you prefer to use an integrated development environment (IDE), HP provides a webOSplugin for the Eclipse IDE.
Ready to get to work? Click below on your platform of choice to download:
WindowsOS XUbuntu Linux
Installing the SDK and PDK on a Windows PC
Uninstall any existing SDK or PDK installations
Warning:SAVE YOUR DATA! —Uninstalling the SDK and PDK will delete the directories in which they are installed. If you have project source code in thosedirectories it will be deleted!
Your project source should not be stored in the SDK or PDK installation directories.
1. Uninstall the previous SDK (if present) using the Windows Add/Remove Program control panel.2. Uninstall the previous PDK (if present) by running c:\Program Files\Palm\PDK\uninstallpdk.exe.
When prompted, make sure you also uninstall the Novacom driver.
Install JavaDownload and install the latest version of Java™.To verify that Java is installed, go to the Command Prompt and type:
java -version
If Java is installed, Java version information appears.
Note:
Download Java
12/09/13 SDK-PDK Download - HP webOS Developer Center
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 2/5
If you are using a 64bit version of Windows, you will need to download Java from http://www.java.com/en/download/manual.jsp. YouMUST do this in Internet Explorer. Other browsers do not show the 64bit Jave Runtime Environment installer. From here, follow theinstructions for "Windows 7, XP Offline (64bit)". You can also download it directly from http://javadl.sun.com/webapps/download/AutoDL?BundleId=47155.
Install VirtualBoxThe webOS emulator is built on VirtualBox™, virtual machine software that you can download free from Oracle®. VirtualBox is requiredbefore installing the HP webOS SDK. Note: The webOS emulator now runs on Virtualbox 4.0 and 4.1.
Install the HP webOS SDK for Windows1. Download the appropriate Windows SDK installer (Windows Vista and Windows 7 only):
SDK/PDK for 32bit machines.
SDK/PDK for 64bit machines.
2. Ensure VirtualBox is not running before starting the webOS SDK Installer.3. Doubleclick the webOS SDK Installer file.4. Proceed through the licensing agreements.5. Click "Finish" to complete the installation.
Download the CodeSourcery Toolchain (PDK only)Perform this step only if you intend to do plugin or other C/C++ development.
If not already installed, download the CodeSourcery Toolchain—Sourcery G++ Lite for ARM GNU/Linux. You can download this from theCodeSourcery website.
To download the CodeSourcery Toolchain, go to:
https://sourcery.mentor.com/sgpp/lite/arm/portal/subscription3057
Click on the "Sourcery G++ Lite 2009q1203" link, and download the Windows Installer.
If you have problems with this version, you can also try version 2007q351. This is an older version for developers who run into thefollowing problems:
C++ exception handling — Unresolved links to versioned symbols._libc_csu_init/fini calls — Unresolved links to versioned symbols.__isoc99_sscanf — Symbol added in GLIBC 2.7 that gets used for calls to sscanf unless you use _USE_GNU in your code. This issue alsorequires a header file change and can not be fixed with just changing libraries. This is also true of other __isoc99 calls.
Verify the SDK Installation1. Start the webOS emulator.2. Click OK to dismiss the dialog boxes.3. Create or choose a directory to use as your development workspace.4. Open a Command Prompt window, and then type:
palm-generate
to verify that the tools are installed:
If help information appears, the tools are correctly installed.If palmgenerate is not recognized as a command, the tools are not correctly installed.If java is not recognized as a command, Java is not correctly installed
5. Exit both the Command Prompt window and the emulator.
Installing the SDK and PDK on a Mac
Install VirtualBox™The webOS emulator is built on VirtualBox, virtual machine software that you can download free from Oracle®. VirtualBox is requiredbefore installing the HP webOS SDK. Note: The emulator now supports VirtualBox 4.0 and 4.1.
Download VirtualBox
Download
Download
12/09/13 SDK-PDK Download - HP webOS Developer Center
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 3/5
Download the SDK/PDK disk image file
Uninstall any existing SDK/PDK installations
Warning:SAVE YOUR DATA! —Uninstalling the SDK and PDK will delete the directories in which they are installed. If you have project source code in thosedirectories it will be deleted!
Your project source should not be stored in the SDK or PDK installation directories.
1. Open the Mac disk image file.2. Double click the uninstallprevioussdk.command script.3. Answer “yes” when prompted.4. Enter your admin password when prompted.
Install the HP webOS SDK/PDK for Mac1. Ensure VirtualBox is not running before starting the webOS SDK Installer.2. Open the Mac disk image file if you haven't already.3. Doubleclick the webOS SDK Installer file and follow the instructions.4. During installation, you will be given the option to install the PDK as well. Note that this option is selected by default.
Once the SDK is installed:
The webOS emulator becomes available in the Applications folder.The webOS commandline tools become available from the Terminal.
We recommend that OS X users run the sshkeyinit script for each device they use. This avoids being requested for a password when filesare transferred to the device using a shell.
Installing the SDK on Ubuntu Linux
A note about PDK development on Linux: The current SDK for Linux includes headers and libraries needed to do PDK development for the deviceand for the emulator. It also includes an armgcc toolchain for compiling applications for the device. If you are running a 32bit i686 Linux desktop, youshould be able to use the standard g++ compiler. (On x64 Linux, the native desktop toolchain will generate x64 code, which will not work in theemulator.)
Update the Package Repository Information1. Update the Package Repository Information to /etc/apt/sources.list:
If you are using 10.04 (Lucid Lynx):
deb http://download.virtualbox.org/virtualbox/debian lucid non-free
If you are installing on 9.04 (Jaunty Jackalope):
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
2. Download and register the Oracle® public key for aptsecure:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
3. Refresh the package index files:
sudo apt-get update
Install Java™
Download VirtualBox
Download SDK/PDK
12/09/13 SDK-PDK Download - HP webOS Developer Center
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 4/5
Download and install the Oracle Java Runtime Environment (JRE). The SDK is incompatible with the default Ubuntu GNU Compiler for Java(GCJ). Example:
sudo apt-get install sun-java6-jre
From time to time, typically after installing Ubuntu system updates, the default Java setting can get changed to something other than sunjava6. Ensure that sunjava6jre is set as the default by typing 'sudo updatealternatives config java', and select '/usr/lib/jvm/java6sun/jre/bin/java' if it is not already starred as the default. This may need to be done again in the future if the palmemulator stops workingor tells you that the default Java setting is not correct.
Install VirtualBoxThe webOS emulator is built on VirtualBox™, virtual machine software that you can download free from Oracle. VirtualBox is requiredbefore installing the HP webOS SDK. Note: The webOS emulator now supports VirtualBox 4.0 and 4.1.
Installing or Upgrading VirtualBox
1. If you are upgrading from a previous version of VirtualBox, follow the instructions to "Uninstall the webOS Emulator and Virtual Machine"on this page.
2. Install version 4.0 of VirtualBox (optionally, you can install 4.1):
sudo apt-get install virtualbox-4.0
Note: If virtualboxose is installed (or suggested) instead of virtualbox4.0, this is a sign that aptget did not properly parse the packagesfrom download.virtualbox.org and is instead trying to pull an old VirtualBox 1.5 binary from Ubuntu's own repositories. Make sure to registerthe repository key before doing the update. If there is an issue with using the Ubuntu repository, you can also download and installVirtualBox manually here: http://www.virtualbox.org/wiki/Download_Old_Builds_4_0.
Click here to go directly to the VirtualBox Linux page.
Install ia32-libs (on 64-bit systems only)If you are installing on a 64bit system, perform the following additional step before installation:
sudo apt-get install ia32-libs
If you happen to have installed palmnovacom before installing ia32libs, then you must restart palmnovacomd:
sudo stop palm-novacomdsudo start palm-novacomd
Install the SDK for Linux
and
If you are installing on a 32bit system, perform the following steps to install the SDK:
sudo dpkg -i palm-sdk_3.0.5-svn528736-pho676_i386.debsudo dpkg -i palm-novacom_1.0.80_i386.deb
If you are installing on a 64bit system, perform the following steps to install the SDK:
sudo dpkg -i --force-architecture palm-sdk_3.0.5-svn528736-pho676_i386.debsudo dpkg -i --force-architecture palm-novacom_1.0.80_amd64.deb
Note: If you experience installation issues, try a clean install. To uninstall, follow the uninstall instructions.
Other Emulator Images
Download Novacom 32bit Download Novacom 64bit
Download SDK
12/09/13 SDK-PDK Download - HP webOS Developer Center
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 5/5
It is sometimes necessary to test your software on other versions of webOS. Use the links below to download VMDKs for these versions. (Besure to rightclick and use "Save As..." to save these as binaries.)
1.3.51.4.01.4.11.4.52.1.0
2.2.0 (Pre 3 format only)
2.2.4 (Pre2 and Pre 3 format)
Once you have downloaded the zip file, you will need to "install" the image using the palmemulator command from the command line. Forexample:
palm-emulator --install "~/Downloads/SDK 2.1.0.519.vmdk.zip"
Note: To avoid the letterbox bar that will show on the Pre 3 if your app retains it's Pre/Pre2based aspect ratio, add the following to yourindex.html:
<meta name='viewport' content='height=device-height'>