Reputation: 2182
I am working on an a proxy based application where I need to edit the IP settings in an android Phone. I got reference from Programmatically getting the gateway and subnet mask details
For getting DHCP Info this link is useful. Can I set a particular IP for the android mobile itself?
Upvotes: 0
Views: 3346
Reputation: 569
So you want to actively change the IP address? This is not possible if DHCP is activated and no longer easily possible since Android 3.X.
Possible duplicate of:
How to configue a static IP address, netmask, gateway programmatically on Android 3.x or 4.x
Set Android IP,DNS,GATEWAY setting programatically
Upvotes: 1