I am developing an Android app which will be used by custom devices which will have ethernet support (and also wifi).
The app has to enable a settings activity for Ethernet.
Please NOTE that these settings have to be run by the app and not by the Android settings, since the app will be the only thing running on the device and the user will not have access to the Android running in the background.
The user has to be able to:
- ENABLE/DISABLE Ethernet
- Choose DHCP or STATIC
- If choosing STATIC - set IP, gateway
The problem is that I cannot access the android.net.ethernet
programmatically and there is no explanation about this issue online.
So if someone has done something like this, please help me get into the right direction.