boolean hasPostponedMessages(){
  String[] projection=new String[]{BaseColumns._ID,Imps.Messages.BODY,Imps.Messages.PACKET_ID,Imps.Messages.DATE,Imps.Messages.TYPE,Imps.Messages.IS_DELIVERED};
  String selection=Imps.Messages.TYPE + "=?";
  boolean result=false;
  Cursor c=mContentResolver.query(mMessageURI,projection,selection,new String[]{Integer.toString(Imps.MessageType.POSTPONED)},null);
  if (c == null) {
    RemoteImService.debug("Query error while querying postponed messages");
    return false;
  }
 else   if (c.getCount() > 0) {
    result=true;
  }
  c.close();
  return true;
}

boolean hasPostponedMessages ( ) { String [ ] projection = new String [ ] { BaseColumns . _ID , Imps . Messages . BODY , Imps . Messages . PACKET_ID , Imps . Messages . DATE , Imps . Messages . TYPE , Imps . Messages . IS_DELIVERED } ; String selection = Imps . Messages . TYPE + "=?" ; boolean result = false ; Cursor c = mContentResolver . query ( mMessageURI , projection , selection , new String [ ] { Integer . toString ( Imps . MessageType . POSTPONED ) } , null ) ; if ( c == null ) { RemoteImService . debug ( "Query error while querying postponed messages" ) ; return false ; } else if ( c . getCount ( ) > 0 ) { result = true ; } c . close ( ) ; return true ; }
sends a message to other participant ( s ) in this session without adding it to the history .
