@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.facebook_phonebook_detail);
    setTitle();
    setTitle(title);
    long uid = this.getIntent().getLongExtra("phonebookid", -1);
    phonebook = orm.getPhonebook(uid);
    user = orm.getFacebookUser(uid);
    userLogo = (ImageView) this.findViewById(R.id.phonebook_img_logo_ui);
    phonebook_info_list = (ListView) this.findViewById(R.id.phonebook_info_list);
    phonebook_info_list.setOnItemClickListener(itemClickListener);
    userName = (TextView) this.findViewById(R.id.phonebook_user_name);

    if (user != null) {
      if (isEmpty(user.name) == false) userName.setText(user.name);
      userName.setOnClickListener(toUserDetailClick);
      userLogo.setOnClickListener(toUserDetailClick);
      String tmpurl = getImgURL(user);
      // first set small icon and then set the right icon
      String smallFile = TwitterHelper.getImagePathFromURL_noFetch(user.pic_square);
      int ret = -1;
      if (new File(smallFile).exists() == true) {
        try {
          Bitmap tmp = BitmapFactory.decodeFile(smallFile);
          if (tmp != null) {
            // ImageCacheManager.instance().addCache(user.pic_square, tmp);
            // userLogo.setImageBitmap(tmp);

            Matrix matrix = new Matrix();
            int h = 120;
            Bitmap mBaseImage = tmp;
            float scale = (float) h / (float) mBaseImage.getWidth();
            matrix.setScale(scale, scale);
            mBaseImage =
                Bitmap.createBitmap(
                    mBaseImage, 0, 0, mBaseImage.getWidth(), mBaseImage.getHeight(), matrix, true);
            userLogo.setImageBitmap(mBaseImage);
          } else {
            ret = R.drawable.no_avatar;
          }
        } catch (Exception ne) {
          ret = R.drawable.no_avatar;
        }
      } else {
        ret = R.drawable.no_avatar;
      }

      if (ret > -1) {
        Matrix matrix = new Matrix();
        int h = 120;
        Bitmap mBaseImage =
            BitmapFactory.decodeResource(SNSService.getSNSService().getResources(), ret);
        float scale = (float) h / (float) mBaseImage.getWidth();
        matrix.setScale(scale, scale);
        mBaseImage =
            Bitmap.createBitmap(
                mBaseImage, 0, 0, mBaseImage.getWidth(), mBaseImage.getHeight(), matrix, true);
        userLogo.setImageBitmap(mBaseImage);
      }

      if (tmpurl != null) {
        setImage(tmpurl);
      }
    } else {
      Log.e(TAG, "***************Why user is null");
      userLogo.setImageResource(R.drawable.no_avatar);
    }
    // cell/mobile/email/address
    List<PhoneBookDetailItem> items = createPhonebookDetailItems();

    if (items.size() > 0) {
      FacebookPhoneBookDetailAdapter adapter = new FacebookPhoneBookDetailAdapter(mContext, items);
      phonebook_info_list.setAdapter(adapter);
    } else {
      phonebook_info_list.setAdapter(null);
    }

    setTitle("");
    SocialORM.Account account = orm.getFacebookAccount();
    if (checkFacebookAccount(this, account)) {
      perm_session = loginHelper.getPermanentSesstion(this);
      if (perm_session != null) {
        perm_session.attachActivity(this);
        facebookA = new AsyncFacebook(perm_session);
      } else {
        launchFacebookLogin();
      }
    }
  }