How to change android device name used by NsdManager?
问题 I am using NsdManager to register a web service on the local network. My problem is that the device name is called "android", so I can access the phone as "android.local" from my laptop. How can I change that name? I would like something more unique. 回答1: You cannot change this (on non-rooted devices). "android" is the host name of the device, ".local" is the suffix added by the mDNS (see this article). 来源: https://stackoverflow.com/questions/13796841/how-to-change-android-device-name-used-by