Friday, March 04, 2011
Working with Remote URL - BlackBerry Simulator
If you are getting started to work BlackBerry development and aim at fetching connect from remote URL, to test with Blackberry simulator review the following:
* Setup Wifi on the Blackberry Simulator.
* Blackberry MDS is running - without which Remote URL fetch attempt silently fails.
* Grant access in the app (config.xml)
<access subdomains="true" uri="http://targetdomain.tld"> or
<access subdomains="true" uri="*">
* Now launch the app and test the url fetch. (assuming it uses javax.microedition.io.* classes)
NOTE: Blackberry MDS failed to work as expected on Windows Vista/Windows 7, I had to switch on Windows XP!
* Setup Wifi on the Blackberry Simulator.
* Blackberry MDS is running - without which Remote URL fetch attempt silently fails.
* Grant access in the app (config.xml)
<access subdomains="true" uri="http://targetdomain.tld"> or
<access subdomains="true" uri="*">
* Now launch the app and test the url fetch. (assuming it uses javax.microedition.io.* classes)
NOTE: Blackberry MDS failed to work as expected on Windows Vista/Windows 7, I had to switch on Windows XP!