1

Android Chat Between Phone and PC

view story
linux-howto

http://stackoverflow.com – I have a simple socket server running on my PC and I made a client for the pc to talk to itself however I wanted to adapt it for Android but it keeps crashing telling me something is wrong in the closeChat() method but I cannot figure out what. Here is my code: package com.jister13.chattest; import java.io.EOFException; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.InetAddress; import java.net.Socket; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.text.Editable; import (HowTos)