java me - Blackberry ConnectionDescriptor null for mobile network -
i need establish http connection on blackberry device. following code ::
connectionfactory connfact = new connectionfactory(); connectiondescriptor conndesc; conndesc = connfact.getconnection(geturl); this code works fine when mobile network , wifi on, or if wifi on, connectiondescriptor = null when run application on mobile network.
i using bis-c plan, not understand why connectiondescriptor null, when can access other web pages outside application on mobile network.
i tried appending ";deviceside=false" url, did not either. need accept push , hit few urls using mobile network, please help!!
you need call:
connfact.settransporttypeoptions(transportinfo.transport_bis_b, new bisboptions("<here key use bis-b access on device>"));
Comments
Post a Comment