开发者

Connect Two Devices using bluetooth Android?

I want to connect two dev开发者_运维问答ices using bluetooth programming in android, please guide me and I do request you to not refer to Android Documentation, it is really very poor written, so just explain in your own words


Bluetooth Chat Application

  • Have you looked through the Bluetooth Chat Application?

I have found that the sample applications fill in a lot of the gaps in the documentation, and is generally my first source of inspiration when investigating an android feature.

Edit

If you've downloaded the SDK these sample apps are usually bundled with the SDK. For me this app is found under.

  • \android-sdk-windows\samples\android-7\BluetoothChat

Update

  • DeviceListActivity

It lists any paired devices and devices detected in the area after discovery. When a device is chosen by the user, the MAC address of the device is sent back to the parent Activity in the result Intent.

Seems pretty straight forward, what part are you having difficulty with?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜