I followed all the steps in the basic Phonegap tutorial (Eclipse, Android SDK, ADT Phonegap),
Step1: I created an HMTL page in the assets/www folder, ran it, and it showed my hello world html.
Step 2: I added a reference to jQuery Mobile on a CDN in my HTML page: it worked.
Step 3: I edit index.html page, copy-pasted the code, which is a sample from the Phonegap site, and it does... nothing. Not even an alert (I added some alerts to see if something happens, but even the onDeviceReady event doesn't fire.
I have the Phonegap JAR in place, the cordova-1.7.0.js in my assest/www directory, but something is probably missing.
I also tried for Cordova JAR in libs folder, but it is not working.
Can someone help me out?
I also tried another sample from the Phonegap site (the 'device properties', 'Accelerometer' sample code), but it still doesn't work.
It's a fresh Eclipse ADT(Android Development Tool), I've install the Android version to 4.0.3, 4.1.2, 4.2 from Android SDK and I'm using Phonegap 2.2.0.