WebOS Development Environment Construction

Source: Internet
Author: User
++ ++

This article is original on this site. You are welcome to repost it! Reprinted please indicate the source:

Http://blog.csdn.net/mr_raptor/article/details/7232339

++ ++

HP palm developer Website: https://developer.palm.com/content/resources/develop/sdk_pdk_download.html

WebOS is about to be open-source and has time to play with WebOS.

 

HP's webOS3.0.5 SDK contains necessary libraries for JavaScript and C/C ++ development. For JavaScript development, the SDK contains software packages, command line tools necessary for download and debugging, and sample code. For more information, see the code and reference documentation. For C
/C ++ development, the SDK also includes the plug-in Development Kit (PDK), which includes the GCC compiler, SDL and OpenGL code libraries, project templates, sample source code, scripts, tools, and documents.

You can install the SDK on Windows, OS X, and Ubuntu Linux. For C/C ++ development, the SDK is integrated with the Visual
In Studio and OS X Xcode, if you want to, you can use the command line tool.

 

The WebOS SDK is also based on the command line, but if you prefer to use the integrated development environment (IDE), HP provides the EclipseIDE webOS plug-in.

Click Download from the platform you selected below:

  • Windows
  • OS X
  • Ubuntu Linux

    Address: http://blog.csdn.net/mr_raptor/article/details/7232339

    Install SDK and PDK on Windows PC

    Uninstall a previously installed SDK or PDK

    1. Uninstall the previous SDK (if any) and use Add/delete programs in Windows Control Panel.
    2. Run C: \ Program Files \ Palm \ PDK \ uninstallpdk.exe to uninstall the previous PDK (if any ).
    Verify that the Novacom driver is not installed.

    Install Java
    Download and install the latest Java version.
    To verify whether Java installation is installed, enter the command prompt and type:

    Java-version

    Address: http://blog.csdn.net/mr_raptor/article/details/7232339

    If you have installed Java, the Java version is displayed.

    Download Java: http://java.com/en/

  • Note:
    If you are using a 64-bit Windows Server, download it from http://www.java.com/en/download/manual.jsp.

    Address: http://blog.csdn.net/mr_raptor/article/details/7232339
    Install VirtualBox
    The webOS simulator is built on VirtualBox Virtual Machine Software. You can download it from Oracle for free. Install VirtualBox before installing the webOS SDK of HP.

    Note: The current webOS simulator VirtualBox can run 4.0 and 4.1.

    Install HP
    WebOS SDK

    1. Download the corresponding WindowsSDK Installer (only available in Windows Vista and Windows 7 ):
    Download the 32-bit SDK/PDK:

    Https://cdn.downloads.palm.com/sdkdownloads/3.0.5.676/sdkBinaries/HP_webOS_SDK-Win-3.0.5-676-x86.exe

    Download the 64-bit SDK/PDK:

    Https://cdn.downloads.palm.com/sdkdownloads/3.0.5.676/sdkBinaries/HP_webOS_SDK-Win-3.0.5-676-x64.exe

    2. Confirm that VirtualBox is not running

    3. Double-click webOS SDK Installer

    4. Accept the agreement
    5. Click "finish" to complete the installation.

    Address: http://blog.csdn.net/mr_raptor/article/details/7232339
    Download the CodeSourcery tool chain
    If you only want to do Plug-ins or other C/
    C ++ development, perform this step.

    Download the Sourcery G ++ arm gnu/Linux Lite version CodeSourcery tool.

    Download: http://www.codesourcery.com/

    Download the CodeSourcery tool:

    Https://sourcery.mentor.com/sgpp/lite/arm/portal/subscription3057
    Address: http://blog.csdn.net/mr_raptor/article/details/7232339

    Verify SDK Installation
    1. Start the webOS simulator.
    2. Click OK to close the dialog box.
    3. Create or select a directory to use your development workspace.
    4. Open a command prompt window and type:

    Palm-generate <br/>

    If the help information appears, it indicates that the tool has been correctly installed.
    If palm does not recognize the command, the tool installation is incorrect.
    If the Java life is not recognized by idea, the Java installation is incorrect.

     

    Start WebOS 

    After the SDK is installed, two directories will be created on the desktop: webOS PDK and HP webOS SDK

    Open HP webOS Emulator in the latter directory and you will see WebOS startup.

    ++ ++

    This article is original on this site. You are welcome to repost it! Reprinted please indicate the source:

    Http://blog.csdn.net/mr_raptor/article/details/7232339

    ++ ++

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.