davidlee davidlee - 27 days ago 15
Android Question

debug javascript in android emulator with phonegap

I am new to phonegap and android development. May I know how can I debug javascript error on the emulator? I have heard about ADB may I know how can I use and install it on windows 7 system? I have an ajax called with jsonp but no response on emulator. However, I can call that ajax with browser on windows. May I know what went wrong?

Answer

You could at least log debug stuff to the adb console by calling console.log() in javascript. Maybe that would suffice?