I checked the log cat console. There was a null pointer exception from the
thread which I started. I handled that and ran the application again. Still it is giving me the same error. I am wondering if I am doing anything wrong in specifying the ip address or port number in the android client. Can anyone ensure whether it (what I mentioned in my initial post about ip) is correct or not?
Because the same program if I run it as a standalone
Java application it reads the data from the server without any issues.
Is the android emulator's ip address is the same as my machine's ip address?
Thanks