title: Check if WiFi and WiFi Direct can work simultaneously
body: <p>Not all Android devices support simultaneous WiFi and WiFi-Direct connection - eg, Samsung S3, RedMi, OnePlus, Nexus, allows for both, but most Motorola phones I've tested on (Moto E1, E2, E3) show a popup asking user to switch off WiFi when I call <code>wifiP2pManager.connect()</code>. </p>
  
  <p>Is there a way to check if the Android device supports simultaneous connection? I'd like to not allow Android devices that do not support simultaneous connections to be able to use my app.</p>
  
  <p>Edit :
  I've had a look at <a href="https://stackoverflow.com/questions/12499456/multiplexed-hotspot-in-android">this post</a> and from that I understand Moto phones may not have the wireless drivers for <code>multi-role</code>. But this still doesn't hint at <em>how</em> to figure out if the device supports multi-role or not.</p>