Android Question What if BluetoothAdmin.Enable with SDK-33 and Android-13 not work ?

Filippo

Expert
Licensed User
Longtime User
Hi,

as already known, from SDK-33 BluetoothAdmin.Enable does not work anymore.
How should we proceed now? Just ask the user with a messagebox to enable the Bleutooth by himself?
Just showing the message "Error enabling Bluetooth adapter" doesn't help much.

Does anyone have a better solution?

Ciao
Filippo
 

DonManfred

Expert
Licensed User
Longtime User

It is a new restriction.
 
Upvote 0

Filippo

Expert
Licensed User
Longtime User

It is a new restriction.
That is already clear to me.
The question is: how should we proceed?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
The question is: how should we proceed?
if admin.Enable return false all you can do is to show a info to the user that he has to enable it in the settings to use the feature.
Maybe you can point the user to the right settings dialogue in the device. Not sure if there is a specific intent for it though. Try to search the forum about.
 
Upvote 0

Filippo

Expert
Licensed User
Longtime User
Not sure if there is a specific intent for it though. Try to search the forum about.
Perfekt! Danke Manfred.
 
Upvote 1
Top