开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜