Unfortunately the BluetoothChat example is about the simplest one there is, once the connection is established you get an RFCOMM socket. If you're new at it, you can pretty much treat this like a regular socket. So if you're confused I'd suggest you first read up on socket programming (the BTC example looks a lot like a client / server communication example). If you understand that, *then* ask what you're confused about that seems to be uniquely related to the Bluetooth APIs.
kris On Sat, Feb 11, 2012 at 7:03 AM, Narendra Singh Rathore <nsr.curi...@gmail.com> wrote: > Hi all... > I am facing problem in using Bluetooth in my app. > Here I just want to get some sample for receiving BlueTooth data in my app. > I am newbie for using Bluetooth. > and will be very thankful if someone provide me any guidance or sample to > get started. > > I have checked an example of BlueToothChat, but its getting over my head. > So I need some easy sample to initiate. > > Thanks > > -- > 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 -- 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