Phonegap v1.1.0,如何从console.log(字符串)访问输出?
// 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 ! ");
它正在登录到调试输出窗口