I am creating an Android project using PhoneGap in the Eclipse IDE.
Now I want to use the Ripple emulator instead of Android Virtual Device Manager (AVD), because AVD is very slow.
I installed the extension in my Google Chrome and enabled the "Allow access to files" option.
When I open my index.html page, I get a javascript popup like this: 
If I click OK or Cancel, the page just freezes, so I canβt turn on the mountain ash emulator ....
This is my index.html file:
<!DOCTYPE HTML> <html> <head> <title>PhoneGap Testing</title> <meta http-equiv="Content-type" content="text/html;charset=utf-8"> <meta name="viewport" id="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /> <script type="text/javascript" charset="utf-8" src="cordova.js"></script> <script type="text/javascript" charset="utf-8"> function onBodyLoad(){ document.addEventListener("deviceready", onDeviceReady, false); } function onDeviceReady(){ navigator.notification.alert("PhoneGap is ready!"); } </script> </head> <body onload="onBodyLoad()"> <h1>Hello PhoneGap</h1> <p>This is a sample app</p> </body> </html>
Does anyone know why I am getting this popup?
source share