Android WebViews

Android WebViews

This guide shows how to embed a Cordova-enabled WebView component within a larger Android application. For details on how these components can communicate with each other, see Application Plugins.

If you're unfamiliar with Android, you should first familiarize yourself with the Android Platform Guide and have the latest Android SDK installed before you attempt the more unusual development option of embedding a WebView- Starting with Cordova 1-9, the Android platform relies on a CordovaWebView component, which builds on a legacy CordovaActivity component that pre-dates the 1-9 release-

  1. To follow these instructions, make sure you have the latest Cordova distribution- Download it from cordova.apache.org and unzip its Android package.

  2. Navigate to the Android package's 登录查看完整内容