hp-webOS-SDK-windows-7Everyone is desperate about the upcoming sensation of HP named as ‘HP TouchPad’ which is also available for pre-order and available from July 1st, 2011 in US. If you are developer and you want to develop applications for HP’s webOS then you are at the right spot at right time. I am going to tell you and guide you guys that how can you start application development for HP webOS using its SDK.

For this it’s necessary to have essential things like the HP webOS SDK. The HP webOS SDK contains the libraries necessary to do both JavaScript development and C/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 Plug-in 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 of installing the PDK during the installation process. The best thing about this SDK is that you can install it on different operating systems like Windows, OS X, and Ubuntu Linux host PCs.

For C/C++ development, the SDK integrates with Visual Studio on Windows, and Xcode on OS X, although you can use command-line tools if you prefer. The SDK tools are also command-line based, but if you prefer to use an integrated development environment (IDE), HP provides a webOS plug-in for the Eclipse IDE. Following are the steps by which you can easily install SDK and PDK on a Windows PC:

1. Download 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. Click here to download Java. [Note: If you are using a 64-bit version of Windows, you will need to download Java from http://www.java.com/en/download/manual.jsp. You MUST do this in Internet Explorer. Other browsers do not show the 64-bit Java Runtime Environment installer. From here, follow the instructions for "Windows 7, XP Offline (64-bit)". You can also download it directly from http://javadl.sun.com/webapps/download/AutoDL?BundleId=47155.]

2. Now you need to install VirtualBox because the webOS emulator is built on VirtualBox™, virtual machine software that you can download free from Oracle®. VirtualBox is required before installing the HP webOS SDK. Click here to download VirtualBox. [Note: The webOS emulator does not yet run on Virtualbox 4.0. Use the above mentioned link to download version 3.2.]

3. Now download the appropriate Windows SDK installer (Windows Vista and Windows 7 only):

4. Ensure VirtualBox is not running before starting the webOS SDK Installer.

5. Double-click the webOS SDK Installer file.

6. Proceed through the licensing agreements.

7. Click "Finish" to complete the installation.

8. In order to verify the SDK installation by starting the webOS emulator.

9. Click OK to dismiss the dialog boxes.

10. Create or choose a directory to use as your development workspace.

11. Open a Command Prompt window, and then type:

palm-generate

[Note: to verify that the tools are installed:

  • If help information appears, the tools are correctly installed.
  • If palm-generate 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]

12. Exit both the Command Prompt window and the emulator.

After following the above mentioned steps you will easily install the HP webOS SDK on a Windows 7 PC.