黑莓模拟器不连接到互联网 [英] BlackBerry emulator not connecting to internet

查看:216
本文介绍了黑莓模拟器不连接到互联网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的BB仿真器无法连接到互联网。我是在一个代理,并已进入了我的[HTTP处理程序]标题下rimpublic.property以下。

My BB emulator cannot connect to the internet. I'm behind a proxy and have entered the following in my rimpublic.property under the [HTTP HANDLER] heading.

application.handler.http.proxyEnabled = true
application.handler.http.proxyHost=PROXY_NAME
application.handler.http.proxyPort=PROXY_PORT
application.handler.http.proxyUser=PROXY_USER
application.handler.http.proxyPass=PROXY_PASSWORD

我已经安装了BB JDE 5.0.0。我能够成功启动MDS服务做得到屏幕保持打开状态,但没有看到任何错误。我读过的关于SO类似的问题,但没有任何工程的每一个问题。此外,我启动我的模拟器之前启动MDS服务。如果有帮助,我使用的是仿真器5.0.0.545(9700)。

I have BB JDE 5.0.0 installed. I am able to successfully start the MDS service and do get the screen to stay open but do not see any errors. I've read every question on SO regarding similar issues but nothing works. Also, I am starting the MDS service before booting my emulator. If it helps, I'm using the emulator 5.0.0.545 (9700).

感谢您。

推荐答案

如果您它可能会运行到一个问题,他们不相互交谈独立MDS服务器。我发现它更容易刚刚调整MDS服务器,可以用手机启动配置,并通过启动配置选择运行选项。

If its the standalone MDS server you may be running into an issue with them not talking to each other. I found it far easier to just adjust the configuration of the MDS server that can launch with the phone, and selecting the run option through launch configurations.

您可以在以下位置找到MDS服务器:

You can find the MDS server at the following location:

{Eclipse Dir.}\plugins\net.rim.ejde.componentpack[version-number]\components\MDS\config

更改您正确值前更改了rimpublic.property文件。

Alter the rimpublic.property file that you changed before with the correct values.

然后在Eclipse中去你的运行配置。

Then in Eclipse go to your run configurations.

Right Click > Run As > Run Configurations

点击模拟器选项卡为您的BlackBerry模拟器上运行的配置,以及与模拟器推出移动数据系统连接服务(MDS-CS)框中选中。

Click the 'Simulator' tab for your Blackberry Simulator run configuration, and check the "Launch Mobile Data System Connection Service (MDS-CS) with simulator" box.

当你运行,都应该很好。

When you run, all should be well.

另外需要注意,这仅仅是为浏览器与网站交互。如果您尝试使用一个应用程序来访问一个网站,我相信你需要自己通过适当的代理头,通过应用程序。还有一个应该搜索网址时使用的MDS一个url属性,但是当我尝试它,它并没有为我工作。

Also important to note, that this is only for the browser interacting with sites. If your trying to access a site using an app, I believe you need to pass the appropriate proxy headers yourself, through the app. There is a url property that is supposed to use the MDS when searching urls, but it didn't work for me when I tried it.

这篇关于黑莓模拟器不连接到互联网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆