PhoneGap an excellent mobile development framework

Source: Internet
Author: User
Keywords Development framework Mobile PHONEGAP
Tags aliyun apache application application development applications business business application debugging

This article will introduce several debugging methods and tools to solve the http://www.aliyun.com/zixun/aggregation/33906.html ">javascript debugging problem on mobile platform."

As a goal-ambitious mobile development framework, PHONEGAP enables developers to focus on business application development and allow applications to be developed and run on multiple mobile platforms. Now that PHONEGAP has been hatched into the Apache Foundation's Cordova project, many old documents and plug-ins may be obsolete. This article will use Xcode to demonstrate the debugging problems of PHONEGAP developing IOS applications, and the development tools and debugging methods of other platforms should be the same.

Preparatory work

development tool Preparation

To develop on the IOS platform, you need to install XCode as a development tool, you can open the App Store search XCode and get the latest version of the development tools. If you need to debug on the real machine, you will need the Apple iOS device and the iOS developer certificate.

Install PHONEGAP development environment

Installation PhoneGap is very simple, you only need to download PhoneGap installation files from the official and decompression, open the file lib/ios/cordova-1.x.x.dmg to install.

Develop PHONEGAP programs

Open XCode, and when you create a new project, select the cordova-based creator template below creator,

Figure 1. Select Project Template

Click Next and note: Do not select the item's use Automatic Reference counting (ARC) feature.

Figure 2. Do not use ARC

Finally, the WWW is dragged into the project, which completes a simple PHONEGAP application. Finally, you can use the IOS emulator to run this project.

More PhoneGap APIs

PHONEGAP contains many local interface calls, including acceleration sensors, cameras, video recordings, contacts, notification reminders, file storage, and more. The official documentation lists all the APIs and simple code examples. However, Apache Cordova does not yet have a user group mailing list, only a list of developers and contributors, and you can find active users and many helpful help on IRC #phonegap channels and Google group discussion groups.

Related Article

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.