Skip to content Skip to sidebar Skip to footer

How To Redirect User To Ethernet Settings Screen In Android Programmatically?

i have some scenarios in which i need to redirect user to some settings in device(rooted device).example i am redirecting user to wifi settings page like below Intent intent =

Solution 1:

I am aware the syntax is Settings.ACTION_ETHERNET_IP_SETTINGS . Make sure it is not null or it will crash. Please refer to TV network package Source code for example

Solution 2:

I just read your help sign. My device was embedded target so I could revise almost all source code and there was only one target cause it was embedded!

If you use standard Android API even it is rooted, you would better implement your custom setting page for ethernet(Copying original ethernet setting source and modifying it may be better) because some devices does not own ehternet setting activity.

And.. I quit Android developing since then. So I don't know recent developing Android.

Solution 3:

Intentintent=newIntent("android.settings.ETHERNET_SETTINGS");
startActivity(intent);

Success on Android 6.0.1 Devices

Post a Comment for "How To Redirect User To Ethernet Settings Screen In Android Programmatically?"