onClickCallback through define-callback

define-callback defines a cncb callback and also a native java method,
which convert local ref into global ones