I'm trying to port my Android application to Chrome using ARC Welder and am having some trouble getting information about the network. In particular, I'd like to get
- The current IP address
- The IP address of the gateway
- If we're on wireless, the SSID + BSSID of the network, along with whatever other wireless info is available
If some of this info is not available, I'll take ANY info
I've tried several things and nothing works. I've retrieved the WifiManager, retrieved NetworkInterface.getNetworkInterfaces(), and even tried InetAddress.getLocalHost(). Nothing works.
I'm starting to feel that this is because the app is being sandboxed and perhaps I need to put something in the manifest. Unfortunately, little documentation exists for this.
Any ideas on how I can get this?