added android client code