deviceReady not working in PhoneGap application, how to?

后端 未结 13 1151
攒了一身酷
攒了一身酷 2020-12-06 09:52

I have a simple PhoneGap application as fallows:



    
        PhoneGap powered App
         


        
13条回答
  •  [愿得一人]
    2020-12-06 10:39

    Add you event listener for deviceready inside you doc ready...

    
    

    You dont want to call onDeviceReady() as this will run the function when you add the listener...

提交回复
热议问题