added message receive handling for android