Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1,590
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Programatically turn on/off Bluetooth and wifi

is there any way to turn on/off Bluetooth and wifi?
BlackBerry Development Advisor
Posts: 15,417
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Programatically turn on/off Bluetooth and wifi

The Radio class can be used to turn Wi-Fi on and off.  It is not possible to turn Bluetooth on or off.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Posts: 78
Registered: ‎05-17-2012
My Device: 9900 - OS 7.0 Torch device
My Carrier: Reliance

Re: Programatically turn on/off Bluetooth and wifi

Hi Sohm


Can we turn on the bluetooth without notificing to the user. We don't want to show the permission popup while trying to turn on the bluetooth. Any suggestion is welcomed.