@Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.feedback);
   // TravelApplication.getInstance().addActivity(this);
   ActivityMange.getInstance().addActivity(this);
   contentEditText = (EditText) findViewById(R.id.feedback_content);
   contactEditText = (EditText) findViewById(R.id.feedback_contact);
   contactTipsTextView = (TextView) findViewById(R.id.feedback_contact_tips);
   ViewGroup feedbackGroup = (ViewGroup) findViewById(R.id.feedback_group);
   ImageButton submit = (ImageButton) findViewById(R.id.submit);
   submit.setOnClickListener(submitOnClickListener);
   feedbackGroup.setOnClickListener(feedbackGroupOnClickListener);
   InputMethodManager imm =
       (InputMethodManager)
           feedbackGroup.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
   if (imm.isActive()) {
     imm.hideSoftInputFromWindow(feedbackGroup.getApplicationWindowToken(), 0);
   }
   token = TravelApplication.getInstance().getToken();
   if (token != null && !token.equals("")) {
     contactEditText.setVisibility(View.GONE);
     contactTipsTextView.setVisibility(View.GONE);
   }
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   Log.d(TAG, "onDestroy()");
   recycle();
   //		imageLoader.clearMemoryCache();
   ActivityMange.getInstance().finishActivity();
   finish();
 }
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   Log.d(TAG, "onCreate");
   ActivityMange.getInstance().addActivity(this);
   init();
   getNearbyList();
   getPlaceFavoriteCount();
 }
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
    Intent intent;
    switch (item.getItemId()) {
      case R.id.menu_refresh:
        init();
        getNearbyList();
        getPlaceFavoriteCount();
        break;
      case R.id.menu_help:
        intent = new Intent();
        intent.putExtra(ConstantField.HELP_TITLE, getResources().getString(R.string.help));
        intent.setClass(CommonPlaceDetailActivity.this, HelpActiviy.class);
        startActivity(intent);
        break;
      case R.id.menu_feedback:
        intent = new Intent();
        intent.setClass(CommonPlaceDetailActivity.this, FeedBackActivity.class);
        startActivity(intent);
        break;
      case R.id.menu_about:
        intent = new Intent();
        String about = getResources().getString(R.string.about_damuzhi);
        intent.putExtra(ConstantField.HELP_TITLE, about);
        intent.setClass(CommonPlaceDetailActivity.this, HelpActiviy.class);
        startActivity(intent);
        break;
      case R.id.menu_exit:
        ActivityMange.getInstance().AppExit(CommonPlaceDetailActivity.this);
        break;

      default:
        break;
    }
    return super.onOptionsItemSelected(item);
  }
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   ActivityMange.getInstance().finishActivity();
 }