Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect Android Devices using bluetooth?

I have two android devices, and I want to connect them using bluetooth programming, sorry for say but I don't want to see the links on Android Developer Documentations.

I want to connect them without any permission like password or anything else, so just simply connect two devices and start sending files and receive files without any permission, how can I implement such concept?

Help me please, I am stuck on this.

like image 437
Chatar Veer Suthar Avatar asked May 19 '26 02:05

Chatar Veer Suthar


2 Answers

Short, you can't. You'll need at least the Bluetooth permissions as illustrated in the tutorial on the Android Docs-Page.

like image 115
Lukas Knuth Avatar answered May 21 '26 06:05

Lukas Knuth


You have everything here :

http://developer.android.com/resources/samples/BluetoothChat/index.html

Get the code, run it and see how it works.

like image 28
Anthony Chatellier Avatar answered May 21 '26 06:05

Anthony Chatellier