protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.photoshare_activity);
   findViewById();
   setListener();
   init();
 }
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (resultCode == RESULT_OK) {
     // 获取新的照片地址
     mCurrentPath = data.getStringExtra("path");
     Map<String, String> map = mKXApplication.mAlbumList.get(mCurrentPosition);
     map.put("image_path", mCurrentPath);
     // 更新界面显示
     if (mKXApplication.mAlbumList.size() > 1) {
       mAdapter.notifyDataSetChanged();
     } else if (mKXApplication.mAlbumList.size() == 1) {
       mDisplaySingle.setImageBitmap(mKXApplication.getPhoneAlbum(mCurrentPath));
     }
   }
 }
 protected void onDestroy() {
   super.onDestroy();
   mKXApplication.mAlbumList.clear();
 }