info
info

Reputation: 2182

Setting the IP address using DHCP programatically from my android application?

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

Answers (1)

Jannis
Jannis

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

Related Questions