コード例 #1
0
 @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);
 }
コード例 #2
0
 @Override
 protected void onStop() {
   // TODO Auto-generated method stub
   super.onStop();
 }
コード例 #3
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_photogrid);
 }