Answered by:
Detect bluetooth status

Question
-
Is there any way how to detect if bluetooh is on/off in Windows (phone) 8.1 store apps?Thursday, January 29, 2015 12:31 PM
Answers
-
Hi Lacihetemplar,
Based on my knowledge, there is no public API to check if the status of Bluetooth. You can feature a request on UserVoice.
I also find a work around about this. It uses try and catch to know the Bluetooth status. Please see it in detail in the following link. http://stackoverflow.com/questions/23545233/how-to-check-status-of-bluetooth-in-windows-runtime.
Please let me know if you have any concerns.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.
- Proposed as answer by Herro wongMicrosoft contingent staff, Moderator Tuesday, February 10, 2015 5:47 AM
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Tuesday, February 10, 2015 12:05 PM
Monday, February 9, 2015 3:40 AMModerator
All replies
-
Try referring to this page. https://msdn.microsoft.com/en-us/library/windows/desktop/aa363059(v=vs.85).aspxFriday, January 30, 2015 5:33 AM
-
Hi, you've referred me to Win32 API example in C++, but I need to do it in Windows Store App with C#Friday, January 30, 2015 6:06 AM
-
Hi Lacihetemplar,
Based on my knowledge, there is no public API to check if the status of Bluetooth. You can feature a request on UserVoice.
I also find a work around about this. It uses try and catch to know the Bluetooth status. Please see it in detail in the following link. http://stackoverflow.com/questions/23545233/how-to-check-status-of-bluetooth-in-windows-runtime.
Please let me know if you have any concerns.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.
- Proposed as answer by Herro wongMicrosoft contingent staff, Moderator Tuesday, February 10, 2015 5:47 AM
- Marked as answer by Herro wongMicrosoft contingent staff, Moderator Tuesday, February 10, 2015 12:05 PM
Monday, February 9, 2015 3:40 AMModerator