Build a phonegap WP7 mango Development Environment

Source: Internet
Author: User
Tags visual studio 2010
1. Introduction:

The Microsoft app Hub website announced the addition of nitobi, enabling phonegap to support WP7 mango. Phonegap is an open-source mobile framework that allows developers to build Web applications on multiple mobile platforms and use standard HTML5, CSS, and JavaScript.

Phonegap has just provided HTML5 support for ie9 of WP7. The current version of phonegap has many basic features, including the js api to use WP7 mango features, such as: access device information (UDDI and stuff) to add and search for the contact link status (network and WiFi status) alarm or reminder box (alert, confirm) media capture (image and video) camera accelerator positioning system.

2. Configuration Requirements:

Windows Phone SDK 7.1 + Microsoft Visual Studio 2010 or Microsoft Visual Studio 2010 Express

3. Install phonegap at www.phonegap.com (Click phonegap 1.1.0 in the upper-right corner ).

Decompress the package to any directory.

What we need is in the WP7 folder

Copy it

Folder.

Open Microsoft Visual Studio 2010 select a file --- New --- project click Visual C # The node shows that the deployment is successful !~

4. Create a project

Let's create a new project to view its directory structure and see the effect in the simulator:

To open index.html, we can write our own HTML5 application here. Now we don't need to do anything, so we can directly run it in the simulation.

Well !~ Not bad, isn't it?

 

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.