我目前在我的项目中使用32Phone.NET.Phone.Bluetooth,我发现了一个我觉得无法控制的小错误。简单地说,当我这样称呼时:
BluetoothDevicePicker btPicker = new BluetoothDevicePicker();
PeerInformation peerInfo = await btPicker.PickDeviceAsync();
deviceName = peerInfo.HostName;
这会拉出配对设备列表,但是如果我按下后退按钮而不是选择设备,它会使我的应用程序崩溃。想知道是否有解决方法?我已经在 32feet 网站上发布过,但它看起来很不活跃。