@Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   if (requestCode == Constants.REQUEST_SHARE_TO_TROOP_BAR) {
     Tencent.onActivityResultData(requestCode, resultCode, data, qqTroopBarListener);
   } else if (requestCode == 10000) {
     String path = null;
     if (resultCode == Activity.RESULT_OK) {
       if (data != null && data.getData() != null) {
         // 根据返回的URI获取对应的SQLite信息
         Uri uri = data.getData();
         path = Util.getPath(this, uri);
       }
     }
     if (path != null) {
       imageUrl.setText(path);
     } else {
       showToast("请重新选择图片");
     }
   }
 }
 @Override
 public void onComplete(Object response) {
   // TODO Auto-generated method stub
   Util.toastMessage(QQTroopBarActivity.this, "onComplete: " + response.toString());
 }
 @Override
 public void onError(UiError e) {
   // TODO Auto-generated method stub
   Util.toastMessage(QQTroopBarActivity.this, "onError: " + e.errorMessage, "e");
 }
 @Override
 public void onCancel() {
   Util.toastMessage(QQTroopBarActivity.this, "onCancel called");
 }