Radio On / Off

Hello
so I found that since the API Version 4.x, it is possible to toggle the unit radio. This is how I do it:


int i = RadioInfo.getActiveWAFs();int iState = RadioInfo.getState();if (iState==0){//onRadio.activateWAFs(i);Dialog.alert("Radio switched on") ;}if (iState==1){//offRadio.deactivateWAFs(i);Dialog.alert("Radio switched off") ;

}

Turning off the radio works, but again does not work. I think it's because of the (i) Radio.activateWafs...
can someone show me how to turn on the radio?

OK so to carry this message to a solution and maybe someone else needs it again, here's how to enable and disable the radio:

            int i = RadioInfo.getActiveWAFs();
            int iState = RadioInfo.getState();

            if (iState==0){
                Radio.activateWAFs(RadioInfo.WAF_3GPP); //for GSM
                Radio.activateWAFs(RadioInfo.WAF_CDMA); //for CDMA
                //switches the network on
            }
            if (iState==1){
                Radio.deactivateWAFs(i);
                //switches the network off
            }

Tags: BlackBerry Developers

Similar Questions

  • wireless radio turns off every 2 minutes

    I have a Thinkpad Z60t, running on Windows XP.

    I have the wireless switch physical on the side panel on the position we (that is to the right).

    At the beginning, I can't connect to any wireless network without problem. However, after about 2 minutes of not actively using the internet, the green 'radio Wireless' on the front panel turns off and I lose my internet connection. Then I do "Fn + F5" (or ThinkVantage button-> manage my connections-> Radios in Wireless Power on / off) to activate on (and get the light to go back to being green). Then I have to reconnect to the wireless network.

    I think that this is a common problem. I tried several suggestions that I found on other forums, including ThinkVantage button-> manage my connections-> select location-> Open Access Connections profiles-> Configure-> location of switch-> UNSELECT "enable automatic location change". Actually, this method seems to work for a few hours, but then stopped.

    I am sure that my wireless network is stable - my roommate's laptop does not lose the signal every 2 minutes as I do. I think my laptop wireless radio turns off automatically after 2 minutes of no use, and this feature should be turned off somehow.

    Help, please. I'm frustrated to have to reconnect manually every 2 minutes.

    -Ed

    Open Control Panel, go to the system, the property of equipment/system, then go to Device Manager.

    Under the ownership of the wireless card (right click on the wireless card and property select), there are settings for the roaming of aggressiveness, energy saving and power output.

  • Cannot find wireless networks - 'hardware radio switch off' on HP Pavilion dv6 Notebook PC

    The product name and number:

    HP Pavilion dv6 Notebook PC, product number: LZ802PA

    Operating system installed:

    Windows 7 Home Basic, 64-bit

    Error message:

    "Radio equipment extinguished."

    All changes to your system until the problem occurred:

    I was looking for a solution anywhere, including the hp Web site and forum and manual PDFs.

    I have a problem to connect to internet wireless (I can connect using a cable). The wireless button is on (seeing the key F12 is blue), but "Intel My WIFI utility" tells me that the "hardware radio switch off." I was looking for the switch on the case and sought a shortcut to do this - but could not find.

    As a result - my laptop cannot recognize any wireless connection, even if they exist for sure!

    I also used Microsoft System Restore to restore to an earlier date - before the problem accrued. There was no difference.

    Also, I reinstalled the drivers wireless Intel, Intel PROSet and my WIFI for Microsoft Windows 7. It does not help either.

    Help, please!

    I managed to fix it!

    I had to get into the BIOS and enable the network card in there!

  • BlackBerry Smartphones can visit the web page when the radio is off

    I installed NetworkAcc on my BlackBerry Storm 9530 with OS c. 5
    and now I can't use my web browser. I get the error message:
    "Cannot see the web page when the radio is off, please turn radio".
    on and try again. »

    I don't have any idea how to enable or disable the radio. What is the problem and
    How should I do?

    I'm not familiar with "NetworkAcc" but to turn on your wireless radio, you need to go to 'Manage connections' and check the Mobile network (and also wifi or bluetooth if you want to use wifi or bluetooth.)

  • BlackBerry Smartphones radio is off

    I have a storm and was in an area that had no service then I turned off the phone so it would not wear down. When I walked into an area with service I turned the phone back on but it says the radio is off and I can't seem to make it back. I went into manage connections and tried to turn on the connections but had no luck. can anyone help

    Whenever random strange behaviors creep, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    Best!

  • Radio is off under Vista 32 bit on Portege R500-127

    I can not connect via MobiLink. It is said that the Radio is turned off. All readers where installed including: Wireless Mobile broad band ToshibaDriver_V2.01.12

    All devices are discovered and installed. WiFi / Bluetooth works well.

    No idea how can I turn on radio? By the way... FN + F8 does not work.

    OS: Windows Vista Business

    Hi mate,

    first of all: where you´re life? If you live in the United Kingdom, then you will have a firmware update for your 3G module since vodafone provider requires a different configuration of UMTS, which can be made with this update.

    Otherwise you should see the following address, download all the drivers and try again: ftp://195.182.196.21/Portege/R500_3G/

    It s an FTP server with all the drivers 3 G-relevant to your machine.

    Welcome them

  • BlackBerry Smartphones "the Radio is off" and IE cannot install Facebook on my BB application until it is turned on

    Hello!

    I'll try to give as much advice as possible, so that those who might be able to help me, can have more information to work with. I've had my BB Curve 8320 for 3 years now. It has no damage and I really had no problems out of it, except that it is a little slow, but it's because of the amount of themes that I have on it. I do not have Blackberry internet service, I'd rather just use my own personal Wifi everywhere I go and I started thinking that maybe it's part of the problem.

    Recently, I've switched back to my BB and was eager to install a Facebook application on it, so I tried to do it via the connection to my personal Wifi, but the download page was so distorted and in all directions, I couldn't download this way. Then I tried the download link email together thing, and when I went to my email on the browser, it says the link is below, but there is no link to click on. So I then installed Gmail on my BB to try and access it that way, but my Gmail would not put up right, so that didn't work. And, finally, I tried downloading the desktop software and then goes to the link on the BB site which allows you to install the application via page web connection for the desktop software, which then connects to your phone. But when I get to the connection of the installation part, it says that my 'radio' must be on and he is off and so can't do the installation. ?

    Hello

    I don't know about facebook app installing. But I know with certainty that you are unable to use the current version of 'Facebook for BlackBerry' unless you have a BIS account. Since, they have added the new synchronization of Messages between the Facebook app and the Facebook site.

    If you want to continue to do not have an account BIS, I suggest that you use your browser and go to https://m.facebook.com/ that does not require a BIS account.

  • iTunes radio disappeared off the coast of the apple tv...

    no idea why iTunes radio disappeared from the apple tv? Tried to restart. also tried a reset. I'm subscribed to apple music so I don't see the problem.

    What version of Apple TV? If I understand correctly iTunes Radio is now only available with a subscription to Apple's music and requires Apple TV 4, an iOS device running iOS 9 or later version or on a computer running iTunes 12.2 or later. You can stream to Apple TV from a computer or iOS device.

    TT2

  • DeskJet 3050 said wireless radio is off, turn on

    Our printer is the printer deskjet 3050 has, and since we went to Maverick we lost access to some of our features (Scan 3).  Now, we've lost our wireless capabilities.  On the network says Wireless Test "on your HP printer wireless radio is currently disabled."  Solution - "for a wireless connection, you must activate the radio on your HP printer wireless.  Refer to the provided with your HP printer installation Guide ".  I looked my Guide series and looked online but I can't find anywhere how to turn on the wireless radio, please help!

    If the radio does not turn on, the radio equipment is probably defective. I would call HP 800-474-6836 Support

  • Lost the icon to turn the wireless radio on/off

    I have a R61i.  Can someone tell me how to get the icon in the system tray that enables or disables the wireless radio? I must have deleted somehow. Thank you.

    http://www-307.IBM.com/PC/support/site.WSS/TVAN-home.html

  • No wifi / bluetooth - Nav Slide led 1 & amp; 7 flashing - Radio is off

    Hi Badpenguin,

    Please try to turn on wireless with the little switch on the right side of your Y560p

    Press Fn + F5 und activate WiFi

    Zehn

  • WiFi radio adapter off, the USB ports does not and the Bluetooth adapter is no longer visible... Please help!

    I had my laptop Dell Vostro repaired under insurance in January 2013 after a spill of liquid.  HAAC Ltd. has replaced most of the laptop - but the return, the SD card did not work.  This seems to be due to the engineer he connects not properly and the company recommended it and returned it to me again.  A couple of months, I found my USB was temperamental - so is my built in Bluetooth adapter.   Last month - the wifi does not work for most of the time either so I have to connect to my router by wire.

    This could be a problem in windows 7 - all my problems seem to be related to network adapters.  If it's a hardware problem - does anyone know if it could be another loose connection?  HAAC Ltd. only give a 3 month warranty on parts that seems just a little.  But if this anomaly is due to the production of poor quality - that is not properly connect the laptop then I'll go back their again if they are responsible.

    By the way – there's a switch wifi on the front of the laptop - but is not currently be recognized.

    If anyone has settings that I could check that can help - especially if some inhibit the use of wifi.

    Thank you very much

    Hello

    Your wifi switch not recognized is probably a hardware problem. The rest could be a hardware or software problem.

    Method 1:

    Lets start by doing a reset to coercive. Follow these steps:

    1. Unplug the notebook (remove power cord), then remove the battery.
    2. Disconnect all USB devices and the connections between the USB ports.
    3. Let the laptop only for several minutes.
    4. Then plug the power cord without connecting the USB devices. Then replace the battery.
    5. Plug each device in turn, allowing them to load the drivers of devices one at a time (plug in the appliance and wait its loading all its drivers before installing the next USB).

    The computer recognizes the USB ports? All of them or none of them?

    Method 2:

    Open Control Panel, Manager of design. Click the view tab, and then click Show all devices. From there, you can remove all instances of USB devices and restart the computer to see if the problem resolves. Repeat this procedure with the wireless adapter (uninstall and reinstall, ensuring that there is only one instance of the wireless adapter).

    Method 3:

    Create a new user account by following the instructions in this article:   http://windows.microsoft.com/en-US/Windows7/Create-a-user-account . Does this solve the problem?  If the problem is resolved in a new user account, this means that the old user profile is damaged. Here is the link to repair a damaged user account: http://windows.microsoft.com/en-us/windows7/Fix-a-corrupted-user-profile.

    Try these methods and post your results here. I'll be here waiting for the results!

    Kind regards

    BearPup

  • E560 wireless radios turned off after Windows update

    Hi, I have 2 new portable e560. When I finished all the windows update and restart the computer, the wireless cannot turn on. I do FN + F8 and click on, but it doesn't do anything! I can activate and DΘsactiver bluetooth and mode plane but not the wireless.

    I have all the latest version of everything (wireless driver, BIOS, hotkey,...) and cannot do anything. And this appen on 2 different (but new) system.

    Logins does not. If I go to the Manager, I see the device and it is activated.

    I reimagee the system with the original Lenovo DVD and his work. But when I did the update of Windows (one of the 151 I need to do), the device will stop working. Help, I've lost 3 days on this problem.

    Thank you and sorry for my English, I'm french

    Found the solution: reset the BIOS! and everything works now...

  • Portege A600: 3 G radio off and can depend on the use of Win 7 64 bit

    I have a Portege A600 with 3G (Ericsson F3507g).

    The Wireless Manager says the radio is off and I should activate it via the hardware switch.
    The switch is turned on, but only effects the Wifi and Bluetooth. FN + F8 does nothing.

    All the drivers are installed and I also installed RF 3 G utility.
    There is nothing in the BIOS referring to WWAN. I have Windows 7 64 bit installed.

    I saw a suggestion to install the value Pack, but the two zip files will not extract because they suggest that they are part of a multi zip pack.

    > I saw a suggestion to install the value Pack, but the two zip files will not extract because they suggest that they are part of a multi zip pack.

    [Value added Package | http://www.toshiba.eu/innovation/download_driver_details.jsp?service=EU&selCategory = 2 & selFamily = 4 & selSeries = 243 & selProduct = 821 & selSho rtMod = 797 & language = 13 & selOS = all & selType = all & yearup load = & monthupload = & dayupload = & useDate = null & mode = al lMachines & search = & action = search & macId = & country = all & selectedLanguage = 13 & type = all & page = 10 & ID = 73571 & OSI D = 30 & driverLanguage = 42] must be installed to use the function keys and activated the WiFi / 3G.

    After downloading, you can decompress the package. Then, you will find a file .exe inside the new folder.
    This exe file is also a zipped package. You can extract this right click on the exe file and choosing extract here. Then you will find the setup.exe file, which should launch the installation

    But before doing the [pilot 3 G | http://www.toshiba.eu/innovation/download_driver_details.jsp?service=EU&selCategory = 2 & selFamily = 4 & selSeries = 243 & selProduct = 821 & selSho rtMod = 797 & language = 13 & selOS = all & selType = all & yearup load = & monthupload = & dayupload = & useDate = null & mode = al lMachines & search = & action = search & macId = & country = all & selectedLanguage = 13 & type = all & page = 1 & ID = 71930 & DISO =-1 & driverLanguage = 42] and [3 G RF Power Control Utility | http://www.toshiba.eu/innovation/download_driver_details.jsp?service=EU&selCategory = 2 & selFamily = 4 & selSeries =] [243 & selProduct = 821 & selSho rtMod = 797 & language = 13 & selOS = all & selType = all & yearup load = & monthupload = & dayupload = & useDate = null & mode = al lMachines & search = & action = search & macId = & country = all & selectedLanguage = 13 & type = all & page = 1 & ID = 73658 & DISO =-1 & driverLanguage = 42] must be installed.

  • Portege R500 3G "Radio off".

    Hello
    RELOADED Vista and in Mobilink, he says the Radio is off :(
    How can I go around it, because does not know where?
    Thank you

    Have you installed the utility of RF control and the Toshiba value added Package?
    If this isn't the case, you should install it.

Maybe you are looking for

  • HP 8200 elite CMT: can I use an external power supply for AMD Radeon HD graphics card 7770?

    I have HP 8200 elite CMT CPU in which 320 watts PSU is installed. I want to use AMD Radeon HD 7770 requiring more power (minimum 400 watts power supply) for maximum performance. But the fact is, the higher Watt PSU is not available for my cpu because

  • QuickWeb

    Hi, I just started so I'm sorry if it's on the wrong Board... So my HP Mini 5103 (I think) just stopped working one day before I have to go, I needed just to browse the internet and keep in touch. So I decided that I'll just use QuickWeb. But I think

  • How can I get my network shares to market.

    My discovery of the network, network and sharing Center, will not turn on.and it seems I've tried averthing.

  • E420 and i7-2710QE?

    Hello. I was wondering if someone could tell me if the i7-2710QE would work in my e420. I've looked everywhere for an answer on that. I have the opportunity to buy one for only $65.00 and looking at the plug it would be a great upgrade to my i3-2410.

  • Question of blackBerry Smartphones with GPS in 9700 after the OS 6 upgrade

    I just upgraded my os in Bold 9700 OS 6. After the update the GPS in the phone is idle and there is no way I can activate it.