Added java side code for android testing...
Signed-off-by: Zhou Chang <achang.zhou@gmail.com>