@Override
 protected void onResume() {
   super.onResume();
   photosGridViewContents =
       this.filesAtPath(getFilesDir().getAbsolutePath() + "/images"); // new String[]{};
   photosGridViewAdapter =
       new PhotoGridAdapter(this, R.layout.item_imagesgrid, photosGridViewContents);
   photosGridView = (GridView) findViewById(R.id.photosGridView);
   photosGridView.setAdapter(photosGridViewAdapter);
   photosGridView.setOnItemClickListener(this);
 }
 @Override
 protected void onStop() {
   // TODO Auto-generated method stub
   super.onStop();
 }
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_photogrid);
 }