PhoneGap-based webOS platform tutorial

Source: Internet
Author: User

BKJIA Translation]

1,Requirements

◆ Windows, Mac OS X, or Linux

2,Install SDK + PhoneGap

Download and install Virtual Box.

Download and install the webOS SDK.

Download and install cygwin (Windows only ). Make sure you select "make" because it is not built in by default.

Download the latest version of PhoneGap and decompress it.

3,Create a new project

◆ Open terminal/cygwin and go to the location where you decompress the PhoneGap download package. Go to the webOS directory.

4,Hello World

◆ In phonegap/webOS/framework/WWW, open index.html with your usual editor and add <H1> Hello World </H1>.

◆ When you are in the webOS directory, enter make in your terminal/cygwin.

5A,Deploy to Simulator

◆ Open your Palm Emulator (Palm simulator) from the app Folder/Start Menu ).

◆ When you are in the webOS directory, enter make in your terminal/cygwin.

5B,Deploy to Device

◆ Make sure that your device is in Developer Mode and insert it.

◆ When you are in the webOS directory, enter make in your terminal/cygwin.

It's done!

You can also view the detailed guide here.

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.