Phonegap v1.1.0,如何访问console.log(string)的输出?
// provide our own console if it does not exist, huge dev aid!
if(typeof window.console == "undefined")
{
window.console = {log:function(str){window.external.Notify(str);}};
}
// output any errors to console log, created above.
window.onerror=function(e){console.log("Error ::" + e);};
console.log("Installed console ! ");
它将记录到调试输出窗口