hi all,
Recently I did something practice about Bluetooth,but now I don't know how
to connect Bluetooth device
using android application just like pairing dialog.I know my
app(application) would be as a client,and remote bt(Bluetooth) device be
server.
my app would create clientsocket by the method of
createRfcommSocketToServiceRecord(UUID),and then clientsocket.connect()
should
connect the remote device.At same time ,there should be also some services
of remote bt listenning by listenUsingRfcommWithServiceRecord(NAME, UUID).
if client's UUID is the same as one of server,we can pair two devices.
My question is as following:
1.if I scan bt devices, and then come out the unknow device.how can I get
the uuid of that device's service to connect that ,that is how to alert a
pairing dialog?
2.I see that the source of setting about bt was using some apis that sdk
doesnt have.Those methods were added the tag "@hide" for javadoc.
why does google need to do so?


I am new to android,please help me.
Thank you in advance!

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

Reply via email to