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 co开发者_如何学Pythonde please?
You can star the WIFI Settings activity with:
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
精彩评论