如何以编程方式在Android 9中找到已连接的WiFi Macaddress?
android文档
Mac地址在全球范围内是独一无二的,不可用户候选人,并且可以生存 工厂重置。由于这些原因,保护用户隐私,在Android上 版本6及更高版本,访问MAC地址仅限于系统 应用。第三方应用无法访问它们
,但是此 app 在Play商店中显示WiFi Macaddress。
我正在研究一个项目,该项目涉及找到连接的WiFi MAC地址,并且我尝试了几乎所有在Stackoverflow上可用的解决方案,但它们都无法正常工作。
如果上述应用程序可以访问WiFi MAC地址,那么我们也可以如何?
Android documentation reference
MAC addresses are globally unique, not user-resettable, and survive
factory resets. For these reasons, to protect user privacy, on Android
versions 6 and higher, access to MAC addresses is restricted to system
apps. Third-party apps can't access them
But this app on the play store shows the Wifi MacAddress.
I'm working on a project which involves the finding of connected WIFI Mac addresses and I've tried almost every solution available on StackOverflow but none of them is working.
If the above mention app can access the wifi mac address then we can too but how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我正在使用Android 10,并在下面使用此代码:
希望这对您有帮助!
I'm using Android 10 and i use this code below :
I hope this will help you !