Monday, December 26, 2011

Tutorial: how to create HTML5 applications on Windows Phone thanks to PhoneGap

Tutorial: how to create HTML5 applications on Windows Phone thanks to PhoneGap

12/24/2011

source: blogs.msdn

We will first see in this article what the added values of PhoneGap for HTML5 applications are. We?ll then discover how to create our very first project where we will retrieve the accelerometer?s values from our JavaScript code. At last, we will review a complete HTML5 gaming sample almost ported as-is to PhoneGap to use the accelerometer available on the Windows Phones.??

  1. Introduction
  2. PhoneGap: a framework filling the gap
  3. Let?s create our first PhoneGap project
  4. Getting the accelerometer?s values from JavaScript
  5. Review of a complete sample with the HTML5 Platformer game
    1. Forcing the landscape orientation
    2. Handling various resolutions
    3. Loading the levels with calls to the file system instead of using XHR
    4. Modification of the gameplay to use the accelerometer
    5. Screenshots of the result and FPS on some phones
    6. Complete Visual Studio Solution to download
  6. Conclusion

...Read more

Tweet Share

You can also follow us on Twitter @winphonegeek

Comments

Add comment to 'Tutorial: how to create HTML5 applications on Windows Phone thanks to PhoneGap'

Comment

Source: http://feedproxy.google.com/~r/Windowsphonegeek/~3/_3puhxf74Yk/tutorial-how-to-create-html5-applications-on-windows-phone-thanks-to-phonegap

alexander the great act alabama football 21 jump street 19 kids and counting 2011 election results 11/11/11

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.