Send message continuously

view story

http://stackoverflow.com – I am developing an application in which client sends messages to server and server receives messages. But in my application when I am sending message, it is received by server only once. If I have to send message again to server I have to Force close the application and then again send message. Means in continuous manner I have to send data to server. Below is my code. Please help me to solve this problem. import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.Socket; import android.os.Bundle; import android.os.Handler; import android. (HowTos)