Esempio n. 1
0
  public void forward(String comment, String url)
      throws WeiboException, NoSinaAccountBindedException {
    String userId = preferences.getString("sina_account", null);
    if (userId == null) throw new NoSinaAccountBindedException();

    if (weibo == null) {
      initSinaWeibo();
    }
    weibo.updateStatus(comment + " " + url);
  }