Connector.open null

Hi!

I have implemented:

http://www.benhui.net/modules.php?name=Forums&file=viewtopic&p=8325&highlight=

but

server = (StreamConnectionNotifier) Connector.open(url);

doesnt work.. if i check the "server" variable, it is NULL. but it cant be null, because the Connector.open only should throw

IllegalArgumentException, ConnectionNotFoundException, IOException,

SecurityException

my PC has bluetooth, even the nokia bluetooth symbol shows an active connection to my phone (=bluetooth is not defect)

i'm really at the end with my nerves. I dont understand this error - so i cant handle it.

For testing, i took for the url string a wrong syntax (url = "blabla") but this also did not throw an error)

[776 byte] By [sommeralexa] at [2007-11-26 15:10:34]
# 1

u have to mention the protocol to open a connector.

e.g

msgConnection = (MessageConnection) Connector.open(protocol+"://:"+identifier);

above is for sms

protocol would be sms and identifier would be port number --50000 for instance.

thus the protocol is cumpolsory --sms,mms,http,cbs etc.

Thanks

Pradeep

RippingKinga at 2007-7-8 9:01:25 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
I did. - the trouble was polish and the obfuscator process..
sommeralexa at 2007-7-8 9:01:25 > top of Java-index,Java Mobility Forums,Java ME Technologies...