Merge pull request #15 from purplecabbage/master

Updated Templates
tree: 37b883803ebcce0a0143320b40c95e1f6ec4196c
  1. example/
  2. framework/
  3. templates/
  4. tests/
  5. .gitignore
  6. LICENSE
  7. PhoneGapCustom.zip
  8. PhoneGapStarter.zip
  9. README.md
README.md

PhoneGap/WP7 Mango

PhoneGap WP7 is a .net application library that lets you create PhoneGap applications targeting WP7 Mango devices. PhoneGap based applications are, at the core, an application written with web technology: HTML, CSS and JavaScript.

Requires

Getting Started (Hey, not too rough)

  • copy the file GapAppStarter.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\
  • Launch Visual Studio 2010 and select to create a new project -- GapAppStarter should be listed as an option, give it a name -- If you do not see it, you may have to select the top level ‘Visual C#’ to see it
  • Build and Run it!

-- Also, if you prefer, you may add the project instead to the “Silverlight for Windows Phone” subfolder of “Visual C#”. This is up to you, and only affects where the GapAppStarter template is shown when creating a new project.

Note!!!

When you add or remove files/folders in the www folder you will need to do the following

  • ensure the new item is included in the project ( Content ) This includes ALL images/css/html/js/* and anything that you want available at runtime. -- Do not modify the GapSourceDictionary.xml file which is included in the project, it is auto-generated for you when you build.

Getting Started ( Ultra-Violence ! aka for contributors )

  • make sure you have the 7.1 SDK installed
  • fork/git or download/unzip the repo to your harddrive
  • copy the file GapAppStarter.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\
  • Launch Visual Studio 2010 and select to create a new project -- GapAppStarter should be listed as an option, give it a name
  • Right-Click on the solution and select Add->Existing Project, and add the project : framework\WP7GapClassLib.csproj from the downloaded repo
  • Right-Click your main project and “Add Reference” to the WP7GapClassLib project
  • build and run!

BUGS?

File them at PhoneGap-WP7 GitHub Issues

Further Reading