How to fire deviceready event in Chrome browser (trying to debug phonegap project)

前端 未结 9 432
太阳男子
太阳男子 2020-12-23 16:09

I\'m developing a PhoneGap application and I\'d like to be able to debug it in Chrome rather than on the phone. However, I do the initialization of my code in an onDeviceRe

9条回答
  •  暖寄归人
    2020-12-23 16:34

    Use the Ripple Mobile Emulator. It is free on the Chrome Web Store. When it is installed, navigate to the page you want to test it on, right click the page and choose Ripple Mobile Emulator > Enable. When prompted, choose PhoneGap.

    The emulator is good, but it is still in beta so not everything has been implemented yet.

    Ad@m

提交回复
热议问题