Tutorial: how to create HTML5 applications on Windows Phone thanks to PhoneGap
12/24/2011source: 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.??
- Introduction
- PhoneGap: a framework filling the gap
- Let?s create our first PhoneGap project
- Getting the accelerometer?s values from JavaScript
- Review of a complete sample with the HTML5 Platformer game
- Forcing the landscape orientation
- Handling various resolutions
- Loading the levels with calls to the file system instead of using XHR
- Modification of the gameplay to use the accelerometer
- Screenshots of the result and FPS on some phones
- Complete Visual Studio Solution to download
- Conclusion
...Read more
Tweet ShareYou can also follow us on Twitter @winphonegeek
Comments
Add comment to 'Tutorial: how to create HTML5 applications on Windows Phone thanks to PhoneGap'
Comment
weather houston small business saturday small business saturday hank baskett beyonce dance for you beyonce dance for you nba lockout over
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.