Chat client for android devices and a java server