How to find the connected Bluetooth device

Put your problem here if it does not fit any of the other categories.

How to find the connected Bluetooth device

Postby Sathasivan » Wed Nov 10, 2010 10:36 am

Hi all,

I can connect and send/receive the data to bluetooth printer (such as BlueBamboo, Bixolon, Woosim), but i can't find which printer is connected. Can any one help me to find the device (like Printer, Mobile, Desktop., etc.,) which is connected with my Android ?
User avatar
Sathasivan
Experienced Developer
Experienced Developer
 
Posts: 67
Joined: Wed Oct 14, 2009 7:51 am
Location: Chennai

Top

Re: How to find the connected Bluetooth device

Postby blundell » Wed Nov 10, 2010 5:17 pm

Is this what your looking for? :
getBondedDevices()
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: How to find the connected Bluetooth device

Postby Sathasivan » Thu Nov 11, 2010 1:03 pm

hi blundell,

thanks for your reply. actually i can get name and address of paired Bluetooth printer using "getName() and getAddress()" methods. but i need to find which device is that (whether BlueBamboo, Bixolon, Woosim or anyother mobile). if user try to connect any other printer(except BlueBamboo, Bixolon, Woosim) means i want to show some error messages.

i hope you clear now.
Thank you very much blundell.,
User avatar
Sathasivan
Experienced Developer
Experienced Developer
 
Posts: 67
Joined: Wed Oct 14, 2009 7:51 am
Location: Chennai

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests