如何更改 Android 设备上的 MAC 地址?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10295324/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 03:11:05  来源:igfitidea点击:

How can I change the MAC address on my Android device?

android

提问by Mohit

Is there a simple way to manually change the MAC address of an Android device, such as from a text field in some settings panel or in a text file I can edit?

是否有一种简单的方法可以手动更改 Android 设备的 MAC 地址,例如从某些设置面板中的文本字段或我可以编辑的文本文件中?

Can this be done programmatically? For example, is there an Android library I could call from within my code to change the MAC address?

这可以以编程方式完成吗?例如,是否有我可以在代码中调用的 Android 库来更改 MAC 地址?

Can we apply the same changes to the Bluetooth adapter just as we can with the WiFi adapter?

我们可以像使用 WiFi 适配器一样对蓝牙适配器应用相同的更改吗?