-2

Can I get the IP address of the device somehow without asking for premission to do a connection with this device?

Mat
  • 202,337
  • 40
  • 393
  • 406
Hexdec
  • 35
  • 6

1 Answers1

0

I don't think this is possible because you need to access the network interfaces in order to get their IP.

You can find a solution with the usage of permissions here

Community
  • 1
  • 1
Ca11e
  • 103
  • 9
  • True. You don't need a permission "to do a connection" but just `ACCESS_WIFI_STATE` to just "access" network state. – shkschneider Jan 09 '15 at 13:59