Client register and get using JSON (android version) by kaihom cheng.