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?