title: How to make a device groupOwner in WifiDirect?
body: <p>I have developed a WiFi Direct Application and I used this code to differentiate between a groupOwner and other device. But groupOwner is always made randomly. I want to make sure that connecting device acts like a groupOwner every time a connection is made. My code :</p>
  
  <pre><code>if (info.groupFormed &amp;&amp; info.isGroupOwner) {
  
       // GroupOwner     
  
     } else if (info.groupFormed) {
  
  
     } 
  </code></pre>