Support Android message passing mechanism 

@cmarcelo @yongsheng @sqliu please review.