Little code for an Android chat program