hi.
i recreate a server program in my pc that can read any input (
string) from client(android) which is transmitted via bluetooth (kinda like bluetooth chat). The problem is my server seems cannot show string immediately after i send it from my client, it'll only appeared after i turn off the bluetooth and the connection was cut, also it won't send response string to client. already try to put pWriter.flush() to make string shows, but it doesn't works. can you tell me what's wrong with my program? thank you.
here is my program :