3

Maybe I didn't understand at all the concept of wifi-direct, but, can an android be connected in the same time to a wifi for internet and a printer via wifidirect ?

When i'm connected to my printer, i lose the ability to reach the internet via "normal" wifi.

This could be a duplicate of this question, but it has no answer and is marked as duplicate of that question, which does not cover that subject (we're talking about 2 wifis, not 3G + wifidirect).

  • 2
    You only have one WiFi chip so you can only either connect to a hotspot or host one, not both at the same time. (WiFi direct uses a hosted hotspot for connection so your phone acts like one) With two individual WiFi adapters it would be possible to do. – GiantTree Feb 6 '15 at 11:52
  • Thx GiantTree ; so if I want my app to be able to print, i have to programmatically switch connexion in-app ? (could you put your comment in an answer so i up it ?) – Gregory Kapustin Feb 6 '15 at 11:55
6

According to SO this should be possible:

That "last item" no longer is the last item, though – so let me quote that "official reply":1

All devices certified under the Wi-Fi Direct program allow the user to connect to an infrastructure or a Wi-Fi Direct-certified network. Some devices certified under the Wi-Fi Direct program support connections to both an infrastructure network and Wi-Fi Direct-certified group at the same time (e.g. a laptop may support an infrastructure connection while also belonging to a Wi-Fi Direct-certified group). Simultaneous connection to a Wi-Fi Direct-certified group and an infrastructure network is an optional feature.


1: That site belongs to the Wi-Fi Alliance®, see Who we are

2

You only have one WiFi adapter so you only can either connect to a hotspot or host one, not do both at the same time. This is so because WiFi-direct is basically acting as a hotspot for others.

With two individual WiFi adapters it would be possible because you would have two individual network connections.

-1

Wifi can be used for single operation only. You can use either wifi or hotspot.

protected by Community Aug 2 '16 at 14:55

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.