java - how to set interface device name of wifi direct -


i have similar question post android wifi direct device details however, seem din't solution post.

is method can used set wifi-direct name similar function of "setname()" or "setservicename" in bluetoohadapter & nsdserviceinfo.

you can rename device wifi direct name using reflection. check solution here: android rename device's name wifi-direct

additionally, there file called p2p_supplicant.conf in /data/misc/wifi/p2p_supplicant.conf contains field wifi direct name specified. can edit using answer on slight adjustment: editing value in file p2p_supplicant.conf located on /root/data/misc/wifi/p2p_supplicant.conf

just note can manually change name of wifi direct device on phone without need app. there rename device option in wifi->wifi direct on android phones.

hope helps. let me know if have questions.


Comments

Popular posts from this blog

python 3 IndexError: list index out of range -

android - How to save instance state of selected radiobutton on menu -

IF statement in MySQL trigger -