1

I Followed below steps to use web inspector on my 7.0 device.

1.Build my web works app with following command.

bbwp test.zip -d -o C:\Output\test

Note: I did not use -g option becuase i read somewhere that i cannot debug if i sign the app.

2.Load to device with following command.

JavaLoader load C:\Output\StandardInstall\App.cod

App is loaded to the device successfully.

When i try to open the Application It doesn't alert the IP address and port number. Instead it alerts "Error starting xxxApp:Module 'xxApp' attempts to access a secure API."

My dear Experts please let me know what is wrong with the procedure i am following.

One more observation i made is i tried to enable Web Inspector on my browser(device) as mentioned in below link.

http://www.berryreview.com/2011/11/18/blackberry-os-7-web-inspector-easily-debug-blackberry-websites-webworks-browser-apps/

but after step 5(You will now need to hit the menu button again and select Developer Tools –> Enable Web Inspector) i don't see my device alerting IP address and Port number !!

4

1 回答 1

2
  • 你的错误是因为你没有签署你的申请。按照此处的步骤https://developer.blackberry.com/html5/documentation/signing_setup.html您对签名有误解,您绝对可以调试已签名的应用程序。

  • 您的最后一个问题(未显示提示)可能与您的网络连接有关。确保您已通过 wifi 连接。否则不会分配IP,启动应用时也不会弹出提示。

希望这可以帮助。

于 2013-08-20T10:46:57.900 回答