I am using a new example for working with Bluetooth. I'm trying to understand how it works through debugging, but when the program comes to NotifyOfStateChanged it crashes. Why does Bluetooth turn on when the program just opens? Is it possible to make "turn on Bluetooth?” Dialog when I click on the btnSearchForDevices button? if the user pushes "yes", the search process starts, otherwise nothing is happening. I do not understand how to do this for this new example. Another question is whether it is possible to add a new device to the list as soon as it is found and then to keep on searching and adding to the list as new devices appear? Because it stops just after the first and connects to the selected one. Periodically, the program hangs in the Connection is broken state and until it is restarted, the message will continue to pour.