android 获取mac地址
来源:互联网 发布:淘宝那家店篮球鞋好 编辑:程序博客网 时间:2024/06/04 20:03
private String getLocalMacAddress() { WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo info = wifi.getConnectionInfo(); return info.getMacAddress(); }
获取Mac地址需要添加权限:
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
0 0
- 【Android】获取Mac地址
- 【Android】获取Mac地址
- android获取mac地址
- Android 获取Mac地址
- android获取mac地址
- android获取mac地址
- 【Android】获取Mac地址
- android获取mac地址
- Android获取mac地址
- android 获取mac地址
- android 获取mac地址
- Android 获取 Mac地址
- Android 获取Mac地址
- 【Android】获取Mac地址
- 【Android】获取Mac地址
- android 获取mac地址
- Android获取手机Mac地址
- cocos2dx Android获取Mac地址
- Java项目Freemark生成静态页面及语法
- 硬件检测:安装、停用
- android触控,先了解MotionEvent(一)
- Cocos2d-js中Chipmunk引擎
- GRE写作必备句型
- android 获取mac地址
- 每天一个linux命令(12):more命令
- oracle11G卸载
- [纯代码/OC]IOS开发入门到进阶笔记20150714
- 使用FreeMarker将数据模型中的值合并到模板文件中
- Eclipse导入Android项目的正确方法
- 4G+:比光纤还要快的手机网络
- 真机iOS 系统升级后xcode不能进行真机调试
- Node:RMQ问题之ST算法