开发者

How to move "onClick" from a button to the wifi settings

开发者 https://www.devze.com 2023-02-07 17:42 出处:网络
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 wit

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));
0

精彩评论

暂无评论...
验证码 换一张
取 消