Android App Development - Start a chat with computer device using android phone?

To Nr.1 I'm not quite sure why you first need to ping the device, as you could simply try to connect to the given device (using a timeout) and see if it can be connected I found some informations on this here To Nr.2 So, if you want your Devices to communicate to each other, you'll want to use Sockets But, if your App is only for chatting and you don't need to know if the last send package was successfully send, you could also use UDP instead of TCP (So you don't need your application to run both the Server and the Client-Socket) Although, all your questions could have been answered by doing a little googleing.

To Nr.1 I'm not quite sure why you first need to ping the device, as you could simply try to connect to the given device (using a timeout) and see if it can be connected. I found some informations on this, here. To Nr.2 So, if you want your Devices to communicate to each other, you'll want to use Sockets.

But, if your App is only for chatting and you don't need to know if the last send package was successfully send, you could also use UDP instead of TCP (So you don't need your application to run both the Server and the Client-Socket). Although, all your questions could have been answered by doing a little googleing...

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions