Today, I encountered such a problem in the BlackBerry development environment.
Description:
Blackberry simulator runs properly
Blackberry MDS simulator works properly
The browser provided by BlackBerry simulator cannot access the network, BB homepage failed, Goto other URL still failed
So I began to find out the cause of the problem. First, I checked the MDS logs and found no exception. I suspected the problem was caused by the network proxy of the Organization,
I met a guy who took me to BB and consulted him to further confirm the cause of the problem ......
So we started to study the MDS simulator configuration file rimpublic. Property.
PS: The file is located in the config folder under the MDS installation path.
For example, if BB jde 4.0.2 is installed in my default path, the location of rimpublic. Property is as follows:
C: \ Program Files \ Research In Motion \ BlackBerry jde 4.0.2 \ MDS \ config
Find:
# [HTTP handler]
...
Application. handler. http. proxyenabled = false (whether to use a proxy)
Application. handler. http. proxyautoconfig = false (whether to include automatic proxy configuration parameters)
Application. handler. http. proxyautoconfigurl = (URL of the automatic configuration file)
Application. handler. http. proxyautoconfig. scriptcachetime = 0
Application. handler. http. proxyhost = (proxy host name or proxy host IP address)
Application. handler. http. proxyport =-1 (proxy port)
Application. handler. http. proxyuser = (log on to the proxy server account)
Application. handler. http. proxypass = (LOGIN proxy server password)
.....
Update the parameters of the proxy server based on your proxy server information.
My profile is as follows:
Application. handler. http. proxyenabled = true
Application. handler. http. proxyautoconfig = false
Application. handler. http. proxyautoconfigurl =
Application. handler. http. proxyautoconfig. scriptcachetime = 0
Application. handler. http. proxyhost = XXX. XXX
Application. handler. http. proxyport = 80
Application. handler. http. proxyuser = Username
Application. handler. http. proxypass = Password
official information:
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800738/800792/801079/How_To_-_Configure_the_MDS_simulator_to_work_behind_a_proxy.html? Nodeid = 800740 & vernum = 4