Android Question Detect if a device has bluetooth capabilities

Arf

Well-Known Member
Licensed User
Longtime User
I'm getting an error when my app tries to initialise a bluetooth connection on a device which does not have bluetooth, unsurprisingly.

The program stops working on this line:
If admin.IsEnabled = False Then
in my Service_Start function.

How can I detect if a device supports a bluetooth connection (preferably before calling admin.Initialise("admin")), so that I can give a warning message instead?
 
Top