08-15-2008 02:52 PM
08-15-2008 03:50 PM
I've stepped blackberry side line by line on simulator.
It is still not connecting the server.
Is there any example code that working?
08-15-2008 04:14 PM
The httpdemo included with the BlackBerry JDE is our main HTTP sample.
So are you saying that you stepped through the whole application on the BlackBerry and it ran without issue? If so, this could be a problem on your server side accepting the variables.
08-15-2008 04:57 PM
Well, does the simulator behavior is different than device?
I'm running on simulator.
And as to server, if I request from internet browser, it works fine.
and when I tried httpdemo program in simulator, I can not make request to server. It gives me a exception.
Well, I need to talk to server developer.
08-18-2008 10:06 AM
08-18-2008 11:03 AM
I've run the httpdemo application which is in 8300 Simulator.
I have typed URL part as http://184.108.40.206/mobile/mycon/controller.php;dev
Isn't this not gong through MDS?
And the exception is "java.io.InterruptedIOException: Local connection timed out after ~120000".
How can I run MDS simulator? I'm new to Blackberry, please let me know how to run MDS simulator.
08-18-2008 11:38 AM
When specifying deviceside=true the connection does not go through the MDS Connection Service (deviceside=false does). The MDS Simulator is included in most versions of the BlackBerry JDE. You can also install it separately from here: http://na.blackberry.com/eng/developers/downloads/
The exception you are receiving indicates that the BlackBerry is unable to contact the destinatation URL. Are you able to access the URL from your PC? Are there any local firewalls that could be blocking the BlackBerry Simulator?
08-19-2008 02:12 PM
I've solved this issue. The problem was that I need to enable network capability in simulator. That is why I could not make it because I skipped setup procedure in simulator. It's so shameful. Sorry for generating this kind of garbage thereads.
Thanks for your help.
08-19-2008 03:26 PM