For Programmers: Free Programming Magazines  


Home > Archive > Java Help > April 2005 > J2ME,Bluetooth,JSR82, SPP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author J2ME,Bluetooth,JSR82, SPP
Boki

2005-04-22, 4:01 pm

Hi All,

java code: Sony Ericsson BluetoothCar.jar
Device: Sony Ericsson P910i

1. Why sometimes CAR-100 can`t call bluetoothcar java program automatically?
Should I run it first?
I can't close it correctly, it will keep the control screen and didn't exit.

2. Why I can't find " xSPPServer" service on P910i when I do SDP from PC
dongle?

3. How can I close the SPP connection,

is that will " disconnect" bluetooth connection?

try {
carConnection.quitCarLink(os);
con.clos e(); // Won't close until is & os closes...
con = null;
is.close();
os.close();
}
catch (IOException e) {}
}


OR
it just close the resource, in fact, bluetooth connection is disconnected by
CAR-100...

Best regards,
Boki.


Boki

2005-04-22, 8:58 pm


"Boki" <bokiteam@ms21.hinet.net> ¼¶¼g©ó¶l¥ó·s»D:d486a8$qps$1@netnews.hinet.net...
> Hi All,
>
> java code: Sony Ericsson BluetoothCar.jar
> Device: Sony Ericsson P910i
>
> 1. Why sometimes CAR-100 can`t call bluetoothcar java program
> automatically?
> Should I run it first?


Yes.

> I can't close it correctly, it will keep the control screen and didn't
> exit.


Not your problem.

>
> 2. Why I can't find " xSPPServer" service on P910i when I do SDP from PC
> dongle?
>


Secret.

> 3. How can I close the SPP connection,
>
> is that will " disconnect" bluetooth connection?
>
> try {
> carConnection.quitCarLink(os);
> con.clos e(); // Won't close until is & os closes...
> con = null;
> is.close();
> os.close();
> }
> catch (IOException e) {}
> }
>


Yes.

>
> OR
> it just close the resource, in fact, bluetooth connection is disconnected
> by CAR-100...
>

Both.

> Best regards,
> Boki.


You are welcome.

>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com