How to configue a static IP address, netmask, gateway, dns programmatically on Android 5.x (Lollipop)
How to configure a static IP address, netmask, gateway, DNS programmatically on Android 5.x (Lollipop) for Wi-Fi connection