/** 反馈意见收到条目数 */
  private void sysFeedback() {

    AppLockApplication appLockApplication = AppLockApplication.getInstance();
    txt_drawer_version_num.setText(
        getString(R.string.version_now) + appLockApplication.getApplicationVersion());

    setReplySize(appLockApplication.getReplySize());

    mAgent = new FeedbackAgent(this);
    mComversation = mAgent.getDefaultConversation();
    sync();
  }
예제 #2
0
 public void sendInfoToUmeng(String content) {
   String contact =
       currentAccount.getPhone() == null ? currentAccount.getEmail() : currentAccount.getPhone();
   UserInfo info = new UserInfo();
   Map<String, String> map = info.getContact();
   if (map == null) map = new HashMap<String, String>();
   map.put("plain", contact);
   info.setContact(map);
   agent.setUserInfo(info);
   defaultConversation = agent.getDefaultConversation();
   defaultConversation.addUserReply(content);
   defaultConversation.sync(this);
 }