i would like to have a button that on click will direct the user to the wifi settings of the device..any idea for the onclick code please?
Asked
Active
Viewed 1,356 times
0
-
all the answers are right!!thanks mates! – menu_on_top Feb 01 '11 at 14:01
-
Have a look at this [question and answer](http://stackoverflow.com/q/2318310/512958) – dave.c Feb 01 '11 at 13:55
2 Answers
3
You can star the WIFI Settings activity with:
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));

Will Tate
- 33,439
- 9
- 77
- 71
-
2instead of posting a same answer one can vote up the already posted answer. Its a battle of reputation but make it fair... – Rohit Sharma Feb 01 '11 at 14:01