Home > Mobile > Questions about the text dialog android development
Questions about the text dialog android development
Time:10-24
The younger brother recently in android's big homework, do you want to be a local area network (LAN) communication, how to do it in the pop-up dialog box, and then enter your nickname after only after the socket connection? Because every client is the same IP address, but want to pass the text dialog, to set up his own name, then the name to the server by circulating, Now the problem is that I wrote a function of the text dialog, in front of the open thread connection on the server side is calling the function, Like this
But before I enter the name here, the server connection over there,
My side simulator hint I type
The server output over there
So what is your brother, you the problem of Java thread, why not a top-down, And if not, how to get to for a while will have the same IP, but different nicknames,
CodePudding user response:
Didn't understand your description, mean is you want the user to enter after the name of the connection again? You are not a sure button, the button add event not line?