本文实例讲述了Android编程实现wifi扫描及连接的方法。分享给大家供大家参考,具体如下:
主界面,搜索附近WIFI信息
/**
* Search WIFI and show in ListView
*
*/
public class MainActivity extends Activity implements OnClickListener,
OnItemClickListener {
private Button search_btn;
private ListView wifi_lv;
private WifiUtils mUtils;
priva
1