05-24-2012 05:37 AM
What does "doesn't run" in the following sentence mean?
"But on sim network it doesn't run"
Does it mean:
- Doesn't start?
- Walks? (goes slowly)?
- Fails with an exception?
I am suspcting you have a network problem, in that it fails to get data from the Server. If so, I suspect you have a bit of reding to do. Start by typing "network" in the Search box and review the Networking videos you will find. Then have a look at this:
Finally you are quite liekly to have an issue with the Event Thread. if you haven't thougfht about this and your networking is not running in a separate Thread, then now is the time to research the Event thread. Type Event Thread in the Search box read the interesting stuff you find, including this:
05-24-2012 11:25 AM
There is no straigthforward answer to that.
If you change to using ConnectionFactory, then you can set the acceptable transports. if you stick with coding connection suffixes yourself, then you are goig to have check and chooose the correct one. Either way, i recommend that you review the KB articles and videos I pointed you at.
You can try to take shortcuts here but unless you spend the time learning about networking on the BB, you will continue to have problems.