Developing PhoneGap + Blackberry has been my recent nightmare... the onDeviceReady is not firing and I can't find webworkers.js anywhere... Anyone has some kind of complex application running with BB 7.1?
Adding the code: I'm using the default code in the PhoneGap sample:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>
<body>
<div class="app">
<h1>Apache Cordova</h1>
<div id="deviceready" class="blink">
<p class="event listening">Connecting to Device</p>
<p class="event received">Device is Ready</p>
</div>
</div>
<script type="text/javascript" src="js/webworks.js"></script>
<script type="text/javascript" src="cordova-2.2.0.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
</script>
</body>
And using ripple extension I'm getting the following console Log:
Viewport target-densitydpi is not supported. index.html:24
GET http:// localhost/bb/js/webworks.js 404 (Not Found) index.html:36
Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js:475
XHR finished loading: "http://localhost/bb/config.xml". ripple.js:484
webworks.handset :: Initialization Finished (Make it so.) ripple.js:475
eula response: true ripple.js:483
XHR finished loading: "http://localhost/bb/config.xml". ripple.js:484
Viewport target-densitydpi is not supported. index.html:24
GET http:// localhost/bb/js/webworks.js 404 (Not Found)
I'm using Windows 8 x64, could have something to do with it???
There is no Ripple folder in C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5