1.0 version
support both java and android