private void onClickQiuknow() {
   CreateKnowFacade.getInstance().unRegisterListener(this);
   // check whether or not the user is the same as me
   String uid = UserInfo.getInstance().getUid();
   if (uid.equalsIgnoreCase(mUid)) {
     ToastFactory.showMsgForShortTime(this, R.string.addrlist_new_same);
     return;
   }
   Intent intent = new Intent(this, QiuKnowMessageActivity.class);
   intent.putExtra("uid", mUid);
   intent.putExtra("name", UserInfo.getInstance().getUserName());
   intent.putExtra("targetName", mUserDetailInfo.getUser_info().getNick_name());
   startActivityForResult(intent, 1);
 }
 private void sendMsg(String msg) {
   String userName = UserInfo.getInstance().getUserName();
   String userIcon = "";
   String userSignature = mCurrentComment;
   ReplyMessage replyMsg = new ReplyMessage(userSignature, userName, userIcon);
   replyMsg.setSignature(msg);
   IMReplyMsgManager.getInstance().sendMsg(mUid + "@cajian.cc", replyMsg.getMessageJsonString());
 }
 private void initLogo(Message item, View view) {
   ViewTag tag = (ViewTag) view.getTag();
   String uid = item.getUid();
   String currentUid = UserInfo.getInstance().getUid();
   int width = AppContext.getDimensionPixelSize(R.dimen.msg_time_size);
   if (currentUid.equalsIgnoreCase(uid)) {
     BitmapLoaderManager.getInstance()
         .loadBitmap(
             ImageSizeUtils.get96x96(UserInfo.getInstance().getUserLogo()),
             tag.icon,
             width,
             width,
             AppContext.getBitmap(R.drawable.icon_96x96));
   } else {
     BitmapLoaderManager.getInstance()
         .loadBitmap(
             ImageSizeUtils.get96x96(FriendFacade.getInstance().getFriendLogo(uid)),
             tag.icon,
             width,
             width,
             AppContext.getBitmap(R.drawable.icon_96x96));
   }
 }