1

When develop a phonegap application, it sometimes need to deploy the application to an android emulator to test it. It's not convenient sometimes.

Is there any tool to test a phonegap application outside emulator? For example some browser plugins for desktop browsers?

4

1 回答 1

3

波纹模拟器可让您使用 chrome 插件在 chrome 中测试您的 phonegap 应用程序。

这是 chrome 网上商店中的插件:https ://chrome.google.com/webstore/detail/geelfhphabnejjhdalkjhgipohgpdnoc

这是涟漪主页: https ://developer.blackberry.com/html5/download/ripple

如果你想要本地文件访问,你必须做两件事:

  1. 使用 --allow-file-access-from-files 标志启动 chrome
  2. 转到 chromes 扩展页面,找到波纹插件,选中“允许访问文件 URL”复选框
于 2012-09-22T07:44:25.480 回答