This post originated from an RSS feed registered with Java Buzz
by Fred Grott.
Original Post: Debugging PhoneGap
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
I am debugging rest of the Android portion of PhoneGap to get GPS and etc working. its the most important and the most boring part, see the video:
Basically, with webview you extend ChromeClient so that you can grab the JS alert messages and than pass them out to LogCat to view in that log view. Its not like FireBug or iBug so you will have to put in alert markers that mark your javascript execution flow for example say an alert at the beginning of a function.
In comparison I think that the ease of debugging on Android is the reason I see so many Apple Mac and iPhone users reading these posts. What is real nice is that I do not have to switch tools its all right there at a click.