S
S
slowking2012-04-16 11:35:41
Java
slowking, 2012-04-16 11:35:41

Reset internet connection

How can I programmatically implement a restart of the Internet connection (I need to change ip)?
PS Do not suggest rebooting the device.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ilya_Drey, 2012-04-16
@Ilya_Drey

Google about DHCP lease, I'm not a programmer, but that's what we call it :)

B
benipaz, 2012-04-16
@benipaz

try the devcon utility . You need the command devcon restart PCI\... enter the ID of the network card and reboot it.

R
Ruma7a, 2012-04-16
@Ruma7a

On / off airplane mode? :) Yes, perversion)

P
Puma Thailand, 2012-04-16
@opium

Usually I have a widget to turn off the Internet, so I think there is no such problem to do programmatically.
Or do you need the name of the class and method? So here you can easily decode such a widget and see the insides.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question