@Override
	public SimpleNotificationMessage translate(Context context, Bundle data, NotificationMessage message) throws SocializeException {
		SimpleNotificationMessage notify = new SimpleNotificationMessage();
		notify.setTitle(message.getText());
		String url = message.getUrl();
		if(url != null) {
			notify.setText(url);
			data.putString(Socialize.DIRECT_URL, url);
		}
		else {
			throw new SocializeException("No url found in notification of type [" +
					message.getNotificationType() +
					"]");
		}		
		return notify;
	}
@Override
	public SimpleNotificationMessage translate(Context context, Bundle data, NotificationMessage message) throws SocializeException {
		SimpleNotificationMessage notify = new SimpleNotificationMessage();
		notify.setTitle(message.getText());
		String url = message.getUrl();
		if(url != null) {
			notify.setText(url);
			data.putString(Socialize.DIRECT_URL, url);
		}
		else {
			throw new SocializeException("No url found in notification of type [" +
					message.getNotificationType() +
					"]");
		}		
		return notify;
	}
@ Override public SimpleNotificationMessage translate ( Context context , Bundle data , NotificationMessage message ) throws SocializeException { SimpleNotificationMessage notify = new SimpleNotificationMessage ( ) ; notify . setTitle ( message . getText ( ) ) ; String url = message . getUrl ( ) ; if ( url != null ) { notify . setText ( url ) ; data . putString ( Socialize . DIRECT_URL , url ) ; } else { throw new SocializeException ( "No url found in notification of type [" + message . getNotificationType ( ) + "]" ) ; } return notify ; }
/*
(non-Javadoc)
@see com.socialize.notifications.MessageTranslator#translateTo(android.content.Context, android.os.Bundle, com.socialize.notifications.NotificationMessage)
/ * ( non - Javadoc )