Detect the interface network (wifi or mobile)

Hello world

I need to detect if I am on the wifi network or mobile network. How can I achieve this?

Thanks in advance!

Think I found it.

He did like this:

QNetworkConfigurationManager *manager = new QNetworkConfigurationManager(this);

QNetworkConfiguration config = manager->defaultConfiguration();

if(config.bearerType() == QNetworkConfiguration::BearerWLAN) {
    // I'm on WiFi
}
else {
    // I'm on a cellular network
}

Tags: BlackBerry Developers

Similar Questions

  • Satellite Pro C660-1NQ does not detect the WLan network

    Hi guys,.

    We have a Toshiba Satellite Pro C660-1NQ here that does not at all, detect the wireless network
    I checked the Device Manager and the wireless card does not show here.

    I tried scanning for new hardware, but nothing was found. I tried to turn the wireless off tension with the function and the keys F8 but not yet showing in Manager devices or any new hardware...

    Any ideas as to what I can try next?

    See you soon,.
    Ash

    Hello

    It seems that the laptop would support the Wlan Atheros 802.11agn card.
    Usually the Atheros Wlan card must appear in Device Manager as on the menu network cards.
    If it s not appear do not then I recommend that you install the WLAN driver which can be downloaded here:
    http://APS2.toshiba-tro.de/WLAN/?page=downloads

    Choose the Atheros Wireless LAN Adapter Windows 7 (32/64) 9.2.0.419.0 or newer
    I hope this helps to detect the WiFi chip!

  • HP 15 D103tx: can't detect the wireless network adapter in Device Manager.

    I can't detect wireless network adapter in the device even Manager after installing the drivers wireless from the following link: http://support.hp.com/in-en/drivers/selfservice/HP-15-d100-Notebook-PC-series/6782098/model/6837966?...

    Wireless "F12" key remains orange color after pressing it several times. I tried to install "Drivers HP wireless button" from the link above, but between th installation process I have error ot OS isn't accomanied for pilots

    I can't connect to a wireless network from my wireless adapter doesn't work. I have to sit near my wifi router to connect with laptop computer using lan cable.

    Even HP Support Assistant does not detect the wireless network card hardware

    Help, please!

    Hello

    According to HP Partsurfer, your lapotp came with Atheros AR9565 802.11bgn 1 x 1 WiFi and Bluetooth 4.0 adapter combination WLAN. Also, your laptop came with FreeDos and I guess currently installed Windows 8 64 bit OS, I am correct?

    The Support page for your machine, doesn't show that the Realtek RTL8188EE 802.11b/g/n Wireless LAN Driver for Windows 8.

    Please download, save & install the Dirver and restart the system, check if the wireless works.

    Concerning

    Visruth

  • Windows Vista detects the wireless network but will not connect to it. Two other users in the same office connect without difficulty.

    The title says it all really.

    I was connected and working normally for about an hour this morning, until suddenly the connection has been lost.
    Windows detects the wireless network but will not connect. Two other users in the same office connect without difficulty.
    Help, please.
    Thank you.
    original title: vista detection network but will not connect

    Hi JulianBeach,

    1. you have made no changes to the computer before the broadcast took place?
    2. What is the exact error message you get?
    3 is connected to the domain of the computer?
    4. what happens when you try to connect to the network?

    Try the steps from the following link:
    Windows wireless and wired network connection problems
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Additional information:
    Wireless network card: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/wireless-networking-frequently-asked-questions

  • Laptop detects the neighbouring network but not my home network?

    My problem is the following...

    My Hp Pavilion dv4 1225dx Vista SP1 computer laptop works very well on our router WRT160, computer laptop Dell Inspiron 8600 XP SP2 from husbands can detect the neighbouring network but not ours. Any suggestions, I searched the forums for answers with no luck.  Thanks in advance!

    Change the channel and SSID or.

  • Photosmart C6180 cannot detect the wireless network

    I have a Photosmart C6180 for over a year, and until recently it connected wireless very well.  But since a week ago, it can't detect the wireless network.  I turned off the printer and wireless router several times each without success.  The "Wireless Setup Wizard" running on the C6180does not help. Watch simply screen printer "looking for... wireless router. "indefinitely, until the function Cancel.  The wireless router is about four feet from the printer, in a direct line of sight.  In addition, I have wireless Internet access using the same router and continue to do this successfully, then the router itself works.  Recently I have updated the firmware on the router as well (after the beginning of this problem).  Running the network Test report wireless on a 'PASS' C6180 returns for "Radio on" but a "FAILURE" for "use of Radio". The radio broadcasts as "about" section of the Menu Radio wireless network.  My router is a Belkin Wireless G Router model F5D7230-4.  The printer prints very well with a wired connection, but wireless connectivity has been a key reason behind my purchase.  Any suggestions greatly appreciated.

    Sorry, but your wireless radio is dead.  Its time for a new printer.

  • Qosmio F10: Driver Installation does not detect the wireless network card

    I wonder if anyone can help before I phone supported again. My motherboard is dead and ASP replaced and recovered my laptop qosmio F10. Since having back, my wireless card did not work.

    Windows detects a "network controller" whenever it starts and gives me the opportunity to install it. I tried to install it by navigating in the 'tools and utilities' records CD rom for folders and subfolders of "Wireless network driver" and it still does not detect the card.

    I also tried to install using the cd rom web gui and selected the 'Pilot wireless network' link and then tried to install it. It opens a dos command prompt and try to install but comes up with the error "failed installation.

    I ran the customer service and they told me to run the qosmio recovery/then recovery of product/recovery of qosmio and again...

    I still don't the card wireless not yet installed. This happened to someone else?

    I tried already shot the drivers from the web, but with no luck... If a representative of customer service with the help of good technical knowledge that would be great, or if someone has encountered the problem too and he had fixed to the give me some advice...

    Thank you very much

    Sean

    Hello

    you see the card wireless as an unknown device in Device Manager? If this is not the case, perhaps that the card was not properly installed after replacing the motherboard.

    Sorry I have no other idea.

    Good bye

  • Inspiron unable to find the wireless network, wifi catcher is on

    I have a Dell Inspiron 1500, recently was unable to connect to the wireless network. Cannot find same wireless networks when I search. A WiFi catcher is enabled.

    Hello

    I suggest you to follow the steps in this link and check if it fhelps:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Also check out this link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-finding-wireless-networks

    It will be useful.

  • WUSB600N detects the wireless network, but fails to register.

    Hi all!

    Recently, I bought a WUSB600N adapter for my pc to share a wireless network and internet between the WAG120N router, my laptop and my pc. I installed the adapter successfully in my pc, but whenever I try to connect to the router, it detects the network wireless signl forcefully excellent, but fails to establish a connection. The error indicates that the security key is incorrect or the router is not in the range of availability. As mentioned, the signal is strong and the key is correct. I even removed the security key once and tried to connect, but the results were the same.

    So what's the problem? What should I do?

    Thanks in advance.

    I finally managed to fix the problem.

    I realized that my WUSB600N MAC address is not registered with the router. I tried everything possible and it didn't work... untilI I entered the adapter ' MAC in authorized MAC addresses for the router. and now it works perfectly.

    I think I have to get along that the adapter has serious problems with XP in the first installation, but after the have registered manually, it works fine.

  • Able to detect the wireless network but cannot connect

    Help, please!

    I have a HP Pavilion DV6 using Windows Vista 64-bit.

    My network wireless adapter intel is able to detect wireless networks three on my College campus.  I know that these networks is currently (I can access it on other devices and my suitemates can view them on their laptops.

    When I double-click a network dialog box appears and informs me that the laptop is currently connected to the network.  After about 30 seconds it says it is unable to connect and an opportunity to try the troubleshooting options (which, alas, never work).  I recently tried to download the latest drivers for the network adapter, but also, it does not work.  The adapter is turned on via the switch on the keyboard and the HP Network Assistant.

    What should I do?

    Hello

    You have a few options in my opinion please try these steps can help you solve your problem.

    (1) unplug the battery adaptor & then press on & press and hold the power button for laptop for 30 seconds then switch on and check if the wireless led lights.

    (2) go to Device Manager then uninstall the drivers wireless network card and restart the device and check if the light is on.

    (3) try to do a system restore to the date where unit was working fine.

    (4) Please update the Bios driver & wireless from the HP website.

    (5) click on start search type Recovery Manager, and then click on it once select Yes on user access control, and then select I need immediate help and then select driver and select request recovery driver wireless and install it and then restart the device.

    (6) If you are comfortable with reinstalling the wireless card that will be on the rear panel of your device you can try this steps as well.

    If you still have the same issue then you need to call HP tech support and get the replaced part.

  • Portege 3490CT: operating system cannot detect the wireless network card

    Hello
    Portege 3490CT with windows XP

    Problem: Try to install the wireless lan card. Windows is not able to detect the new hardware.
    Details of LAN card are NETGEAR 54 Mbps, model WG511v2

    Specifications for lan card
    It is 16-bit PCMCIA and CardBus 32-bit compatible and works in any available PCMCIA or
    Location CardBus. IEEE 802.11 g and b standard wireless technology.

    Specification for laptop Portege
    PC card slot supports two Type II or Type III PC cards; R2.01 PCMCIA, CardBus, PC Card16

    all tracks on this will be very useful
    Best regards
    Ashwani

    Hello

    What the BIOS has been installed on your laptop?
    If you use the Toshiba BIOS so there could be an option called configuration of the device.
    (it s is available on my Satellite)

    You change the option for all devices, you will be able to change the PC Card controller mode. I think you should play a little with this option.
    In other cases, the user was able to resolve a similar issue by changing this option.

    Please report if you re successful because it would be very interesting for me.

    Good bye

  • Satellite sometimes does not detect the wireless network

    Hello

    My laptop Satellite sometimes does not detect wireless networks and the only thing I can do is to restart my computer, is there a solution for this?

    Hello

    Well, in most cases the WLan driver update could solve this problem.
    In addition its advised to check the firmware of the might of Wlan router must be updated as well.
    I recommend also to reset the settings of the WLan router and set it up again

    Another idea; Disable the save option in Win 7 the power supply WLan management

    Welcome them

  • How to disable the laptop network WiFi & allow cable TV

    I have my desktop computer connected using cable for my internet & I have a laptop that I was using WiFi for my internet, how do I change my laptop wi fi to cable so I can go online on my laptop, as well as on my desktop, thanks

    Hello

    You do not have to manually disable you the WiFi, all you have to do is to run an ethernet cable from your router/access point and connect to your ethernet port on the laptop.

    As soon as an ethernet cable is plugged into a computer/laptop, Wifi is disabled automatically, it's the industry standard ethernet tends to provide more transmision of data reliable and stronger than wireless signals.

    However if you use a Modem and not a gateway/router then you can buy a new router, or ask your ISP to upgrade your Moderm to a gateway.

    If you want to keep it cost effective and minimal cost, you could also try doing an Internet connection sharing, providing that your computer has an additional network card, or you could buy a new network adapter and snap it to your computer because the laptop is internet sharing off of your computer in this configuration, you may experience a slow connection.

  • laptop can't detect the wireless network

    I have a laptop Windows 8 now 8.1 pavilion g6 which was not able to detect wireless networks.

    When I try to solve the problems to find a problem it says that there is no problem.

    Icon in the lower right shows a monitor with a white cross in a red circle background and has what looks like a cable with a circular head up.

    What I am currently using is the ethernet cable to the laptop that is connected to the router which works normally.

    Any help will be appreciated, because I need this problem sorted as soon as possible.

    Thanks for the reply. While at the time, I have checked devices and other suggestions I've found by using search engines, it seems that he has not solved the problem.

    However, I am happy to say that it is now back after I did a system restore which did not take long to complete.

    The main problem was he doesn't detect any type of wireless signals and could not get on the internet via an ethernet cable.

    I think I can avoid windows 8.1 where there my laptop slowed down considerably since its installation, which can be made wireless connectivity. A problem I have never using 8.

    Thanks again for the advice.

  • Laptops do not detect the wireless network

    Only 1 of the 3 laptops detects my wireless signal.  I restarted the router, the modem, and other portable... no change.  The signal is strong on the computer, pick up the signal.  What's wrong?

    Hello

    I suggest to refer to this link and follow the instructions in the link below and check, if this can help:

    http://Windows.Microsoft.com/en-us/Windows/help/wireless-network-connection-problems-in-Windows

    It will be useful.

Maybe you are looking for

  • Satellite Pro U200-104 - mass storage device driver

    Hey all,. I just bought a second hand U200-104 and it installs now. My OS is Windows Vista Business 64-bit & 32-bit seem to work ok. Although I installed all that he is on the page of the driver that I keep having an unidentified "Mass Storage Device

  • How can I remove the sender address in email before shipping

    I have an IMAC computer. My email is msn.com (Hot Microsoft mail), I would delete the senders address before forwarding.how?

  • I need help setting up and I use the webcam.

    Original title: sex cam on my samsung r540I don't know how to get my web cam on my screen (samsung R540) to work what am I did or didn't do is not right.

  • CSM assigned the device shifts

    Hello We just all our remote SAA assigned to 4.2 CSM. The only policy that the CSM is contolling, right now, is firewall/access rules. With the rest the ASA awarded today, I have a few questions. How the ASA updates the assigned devices once the assi

  • Icons of folders evil!

    I have a main folder, put in place where I download my pictures from my camera.In this main folder are subfolders each containing photographs grouped by date, occasion etc. I have my main folder set to large icons. Half of the subfolder icons show an