used qblox android api to make a server side java version