0

I'm working on the Blackberry Eclipse plugin but can't get this sample to work : Code sample: Parsing a JSON data structure

It doesn't go anywhere after response = bsd.sendReceive(); The Simulator has internet access in the browser, and I also checked the "Launch Mobile Data System Connection Service (MDS-CS) with simulator." (odd that nothing shows up in fiddler, but hey)

The URI does seem to timeout quite often so I changed it to point to a file in my dropbox, but that didn't change anything.

Anyone have any success running this sample ?

Lescai Ionel
  • 4,216
  • 3
  • 30
  • 48
  • are you seeing the MDS-CS console window stay open? I've been having a problem recently with one of my plugins, where I checked the MDS-CS box, but it was always failing to launch ... so, just checking. – Nate Jul 06 '12 at 09:45
  • not seeing the MDS-CS console at all actually... but adding ";deviceside=true" works just fine... – Lescai Ionel Jul 06 '12 at 10:45
  • if you use `;deviceside=true`, I think you're just using the **Direct TCP** transport, and sidestepping the MDS altogether. [see this answer](http://stackoverflow.com/a/11069129/119114) for some sample code that generates connection strings. by the way, you can **Accept** your own answer if you've solved it ... that way, people know you don't still need help with this. – Nate Jul 06 '12 at 20:44

1 Answers1

1

added ";deviceside=true" to uri

Lescai Ionel
  • 4,216
  • 3
  • 30
  • 48