I have been working on pdf reader in android phonegap since two days..I am new to the phonegap..child browser plugin is working but the pdf file link is appearing in the browser with a blank page.I have added plugins and phonegap with a version of coredova 2.0.0 and added plugins..where i was wrong?can any one solves my problem..Thanks in advance.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Child Browser Example</title>
<script type="text/javascript" charset="utf-8" src="cordova-2.0.0.js"></script>
<script type="text/javascript" charset="utf-8" src="childbrowser.js"></script>
<script type="text/javascript" charset="utf-8">
// Wait for PhoneGap to load
//
function Bodyload(){
document.addEventListener("deviceready", onDeviceReady, false);
}
// PhoneGap is ready
//
function onDeviceReady() {
console.log("PhoneGap is ready");
window.plugins.childBrowser.showWebPage( "http://www.google.com/****/" );
}
</script>
</head>
<body onload="Bodyload();" id="stage" class="theme">
</body>
</html>