protected void onMessage(final String message){
  if (message != null && message.length() > 0) {
    postMessageEvent(message);
  }
}

protected void onMessage ( final String message ) { if ( message != null && message . length ( ) > 0 ) { postMessageEvent ( message ) ; } }
invoked by native listener .
