how to get emulator port number in program?
i want to get android emula开发者_如何学JAVAtor port number in program how do i get it????
Execute the command
netstat -aon
from command prompt. You will get all the PDIs and port numbers used by them. You can see the PID for emulator from task manager or use the command
tasklist
The process name is 'emulator-arm.exe'
By using the netstat
command
精彩评论