port of java chat to android