例子:Bluetooth app to device sample
摘要:
本例子演示了:判断蓝牙是否打开,是通过一个HRsult值为0x8007048F的异常来判断的catch (Exception ex) { if ((uint)ex.HResult == 0x8007048F) { var result = MessageBox.Show(AppResources.Msg_BluetoothOff, "Bluetooth Off", MessageBoxButton.OKCancel); if (resul... 阅读全文
posted @ 2013-08-14 17:54 Amazing-Ren 阅读(290) 评论(0) 推荐(0) 编辑