public boolean sendContent( long msg_id, int type, String suffix, byte[] content ){
		int flag = -1;
		switch( type ){
		case MessageUtil.TYPE_LONG:
			flag = rsc_handler.addLongResource( msg_id, content );
			break;
			
		case MessageUtil.TYPE_IMAGE:
			flag = rsc_handler.addImageResource( msg_id, suffix, content );
			break;
			
		case MessageUtil.TYPE_VOICE:
			flag = rsc_handler.addVoiceResource( msg_id, suffix, content );
			break;	
		}
		
		if( flag != MessageUtil.SUCCESS ){
			System.out.println( "MessageService : failed to upload resource file " + msg_id );
			return false;
		}
		return true;
	}