FYI: In exploring B4J capabilities, did seek for building this functionality with B4J instead of Java.
See (http://www.rwblinn.de/b4j/b4jhowto/examples/b4jhowtojavaobject.zip) which is one of my B4J HOWTOs example projects.
Select net.NetNetworkInterface from the accordion.
I am researching/working on a new version that should work for mac.Does not return MAC Address on a MAC.
This is a mixture of window, android and the last one is a MAC
View attachment 30531
Does not return MAC Address on a MAC.
This is a mixture of window, android and the last one is a MAC
View attachment 30531
MacBook-Pro.local: MacBook-Pro.local: nodename nor servname provided, or not known
@tstewardI am researching/working on a new version that should work for mac.
mac = File.ReadString("/sys/class/net/eth0","address")
What OS are you working with? Are you using the example above?
Dim ti As jGetMac
Log(ti.MacAddressFromClient)
Windows Vista, and I am working with example above..
B4X:Dim ti As jGetMac Log(ti.MacAddressFromClient)