No wifi connection blackberry simulator <p>I want to download data using HttpConnection , see the example below</p> <pre><code> class ConnectionThread extends Thread { public void run() { try{ showToast("in the run method"); HttpConnection conn = null; String URL = "http://xxxxxxx.com/api/api.php?func=showAllCountries;interface=wifi"; conn = (HttpConnection)Connector.open(URL); }catch(Exception e){ showToast(e+""); } } </code></pre> <p>while running above code , on simulator it says Java.io.IOException No Wi-Fi connection found , Though in manage connection i can see simultor is conncted with Wifi , please why this is happening </p> <p>Please</p>