Using phonegap in Windows 8 store applications

Source: Internet
Author: User

Http://www.infragistics.com.es/community/blogs/mihail_mateev/archive/2013/01/07/using-phonegap-in-windows-8-store-applications.aspx

 

Phonegap and Windows 8 development are more similar than you realize

What you can take as an advantage when you create phonegap applications for Windows 8

  • Your skills, assets, and probably a lot of your existing pure HTML/CSS and JavaScript code willJust workIn a Windows 8 application.
  • You can update the look of your applications with very little effort by using the intrinsic styles for the basic HTML elements like
  • Your code that interacts with the phonegap API (to handle things like file access, sensors and application lifecycle events) can be updated to use the winjs library to accomplish the same things you were doing in phonegap.
  • Scenarios where you had to write phonegap plugins can be addressed by either finding the functionality in the expansive winjs library, or by inequalating native code in a Windows 8 JavaScript app.

In this article we will talk about different ways to create Windows 8 store applications with phonegap and will make a simple comparison between Windows 8 applications with phonegap and those that use only winjs

 

How to Create phonegap applications for Windows 8

There are three different ways to start with Windows 8 and phonegap

  • To create a new Windows 8 JavaScript project and add phonegap references manually
  • To start with phonegap startup project already ded IN THE DISTRIBUTION
  • To build a phonegap Windows 8 template and use it in Visual Studio 2012

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.