Re: [android-developers] Re: Bluetooth chat bug?

2012-07-09 Thread bob
I added some code like this to help me see which device is involved in this chicanery: String device_name = device.getName(); if (device_name == null) device_name = no name + device.getAddress(); On Saturday, July 7, 2012 8:14:26 AM UTC-5, Jons Jean wrote: Same thing I face in past . . .it

[android-developers] Re: Bluetooth chat bug?

2012-07-07 Thread gjs
Hi, And by that logic device might be null as well... Maybe check the source code. Regards On Jul 7, 5:12 am, bob b...@coolfone.comze.com wrote: I'm looking at the Bluetooth chat example:             // When discovery finds a device             if

Re: [android-developers] Re: Bluetooth chat bug?

2012-07-07 Thread Nasir Aftab
Same thing I face in past . . .it looks it is due to cache of bluetooth something like this .. What Happend according to me Bluetooth 1st search for devices then get its name . . After searching devices when android bluetooth API try to get its name it goes out of range . . that gives null .. .