This project has moved. For the latest updates, please go here.

App crashes when canceling BluetoothDevicePicker

Topics: Bluetooth - Windows Phone 8
Dec 20, 2013 at 6:28 PM
Currently in the middle of developing an app using 32feet.NET.Phone in my project, I'm rather new to it as well as programming for WP8 so I'm not sure if there's a simple workaround for this. Simply put, when I run:
BluetoothDevicePicker btPicker = new BluetoothDevicePicker();
PeerInformation peerInfo = await btPicker.PickDeviceAsync();
And have a selection of devices, if I press the back button instead of selecting a device it goes back to my app and then crashes. Was wondering if I'm missing something to prevent this sort of crash.
Feb 3, 2014 at 8:55 PM
This shouldn't crash, are you checking for null on the returned PeerInformation?