I think the user always will have to first accept the Pairing. After that, you can connect& send w/o user interference, even the next time you connect an earlier paired device.
On 21 jun, 03:12, Shaurin <shauringh...@gmail.com> wrote: > I have to connect two devices via Bluetooth in such a way that the > sending device sends a string (for example,'Hello world') to the > device found in Device Discovery. It should be noted that this should > not ask for the second device to accept the connection request. The > string should automatically be sent to the found device. > > Please help me in this. -- 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