Hi,

I am trying to port an existing mobile application to android 2.0 platform.
 In this application, we need to connect to remote device specify two
parameters: 1.)  radio address of the remote devices, and 2.)  a
port/channel number.  (for microsoft c++ sdk, only radio address)

I found createRfcommSocketToServiceRecord (UUID uuid) is provided in the new
Android bluetooth SDK, and wondering am I able to use it to do the same
thing. If so, how do I specify the UUID object given a radio address and
port number?

================================================
The following is an example of J2me/Jsr82 to establish SPP connection.
// where 001122334455 is the radio address.  1 is the port number.
String url = "btspp://*001122334455:1;*
authenticate=false;encrypt=false;master=false";

// JSR120 use JCA framework
Connector.open(url, READ_WRITE, true);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to