java server code for android memo client.