public void advertisePresence(String presence){
  if (!latestAdvertisedPresence.equals(presence)) {
    latestAdvertisedPresence=presence;
    Log.d(LOG_TAG,"Advertising presence " + presence);
    myUser.updatePresence(presence,null,null);
  }
}

public void advertisePresence ( String presence ) { if ( ! latestAdvertisedPresence . equals ( presence ) ) { latestAdvertisedPresence = presence ; Log . d ( LOG_TAG , "Advertising presence " + presence ) ; myUser . updatePresence ( presence , null , null ) ; } }
send the advertise presence message .
