title: How to get Wifip2pInfo object in wifi direct
body: <p>It's giving a null pointer exception.I would like to get the IP address of a device connected via wifi direct.How to do this can anyone explain?Attached a <a href="http://i.stack.imgur.com/ErM7T.png" rel="nofollow">Screen</a> to see.
  Thanks in advance.</p>