PhoneGap - AppView Setting
PhoneGap appView is the Android WebView container. By default, many setting are off. The following are some helpful setting
//Enable Zoomthis.appView.getSettings().setSupportZoom(true);//Display with Zoom control. Please note that Android 2.3 and below//required this in order for zoom support to be enabledthis.appView.getSettings().setBuiltInZoomControls(true);//Enable normal web view port (like desktop browser). If this is false, it will//auto fit your content to mobile viewportthis.appView.getSettings().setUseWideViewPort(true);//enable plugin. This is needed to enable flash pluginthis.appView.getSettings().setPluginState(PluginState.ON);
Comments
Post a Comment