phonegap系列之API(1) deviceready

phonegap系列之API(一) deviceready?? ? 使用pg api之前的准备:?? ? -------- ?需要监听deviceready事件,

phonegap系列之API(一) deviceready

?

? ? 使用pg api之前的准备:

?

? ? -------- ?需要监听deviceready事件,确认pg加载完成

?

document.addEventListener("deviceready",onDeviceReady,false);function onDeviceReady(){      //....}

?