Windows Phone 8.0 WebViews

Windows Phone 8.0 WebViews

This guide shows how to embed a Cordova-enabled WebView component within a larger Windows Phone 8.0 application.

To follow these instructions, make sure you have the latest Cordova distribution. Download it from cordova.apache.org and unzip its Windows Phone 8.0 package (cordova-wp8-*.zip).

  1. Navigate to the package's wp8/framework directory and build WPCordovaClassLib.sln. It creates the Bin\Debug[Release]\WPCordovaClassLib.dll.

  2. Copy the WPCordovaClassLib.dll file into the Windows Phone 8 project's /libs directory and include WPCordovaClassLib.dll to your project via Project->References->Add Reference. Alternatively, you can directly reference the wp8/framework/WPCordovaClassLib.csproj file