使用诺基亚 WRT 插件设置 Aptana

发布于 2024-07-25 11:28:48 字数 383 浏览 2 评论 0原文

我刚刚安装了 Aptana,并按照向导完成了创建默认 RSS 阅读器的过程。 我更改了名称和网址,但没有更改其他任何内容。

它在 Aptana 的预览中运行良好。

两个问题:

i)。 当我尝试设置要部署到的设备时,按“窗口”->“首选项”->“Web 运行时”->“部署”中的“搜索”按钮会快速退出,而没有找到我的设备。

因此,我使用有线连接将小部件拖到我的 N82(软件版本 20.0.062)上,安装正常。 然而:

ii)。 当小部件尝试连接时,它会短暂显示“正在更新源”,但很快就会退出回到应用程序菜单。

对于这两个问题有什么想法吗? 特别是#2,如果将来发生问题,我该如何最好地调试该问题?

I've just installed Aptana and gone through the process of creating the default RSS Reader following the wizard. I changed the name and the url but nothing else.

It works fine in the preview in Aptana.

Two problems:

i). When I try to setup the device to deploy to, pressing the Search button in Window->preferences->Web Runtime->Deployment exits quickly without finding my device.

So, I dragged the widget onto my N82 (SW version 20.0.062) using a wired connection, it installed ok. However:

ii). When the widget attempts to connect it displays 'Updating feed' briefly but then exits back to the applications menu really quickly.

Any ideas for either of the issues? Particularly #2 and how best can I debug the issue if it happens in future?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浪漫之都 2024-08-01 11:28:48

对于#2,您最好的选择是在代码路径中添加警报函数调用作为断点,因为 S60 设备中的设备上调试几乎不存在。

一个可能的问题是,某些版本的诺基亚浏览器中存在异步 xmlhttp 请求问题。 将请求更改为同步将是我尝试的第一件事。 显然这很糟糕,因为 UI 在 xmlhttp 请求期间冻结,但这些都是我们收到的牌。

另外,您确实记得在小部件的 info.plist 文件中明确允许网络连接,对吧? 这是可以解决问题的键/值对:

<key>AllowNetworkAccess</key>
<true/>

With #2 your best bet is to just add alert-function calls in the code path as breakpoints as on-device debugging in S60 devices is pretty non-existant.

One possible problem is that there's been problems with asynchronous xmlhttp-requests in some versions of the Nokia browser. Changing the request to synchronous would be the first thing I'd try. Obviously that sucks, because the UI freezes for the duration of the xmlhttp request, but those are the cards we've been dealt.

Also, you did remember to explicitly allow network connections in the info.plist -file of the widget, right? Here's the key/value-pair that'll do the trick:

<key>AllowNetworkAccess</key>
<true/>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文