I am using the following simple code but its not working.
Here is the full code that I am using:
<!DOCTYPE HTML>
<html>
<head>
<title>Contact Example</title>
<script type="text/javascript" charset="utf-8"
src="phonegap-0.9.3.js"></script>
<script...
The AVD never displays the alert message (e.g. alert('initialized');). I don't know whether the addEventListener works in my AVD or not.
I tried the following code also but it never worked:
function onLoad()
{
document.addEventListener("deviceready", onDeviceReady, false)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.