Ended up using a ListView and custom adapter then having it iterate over an ArrayList with objects of class Photo... I update the Bitmap (thumbnail) property for the Photo objects when I take the picture then refresh the ListView. This method works very well photoListView. SetAdapter(new ArrayAdapter(this, R.layout.
Photo_list_item, photosList) { @Override public View getView(final int position, View convertView, final ViewGroup parent) { View row = null; final Photo thisPhoto = getItem(position); if (null == convertView) { LayoutInflater inflater = (LayoutInflater) getSystemService(Context. LAYOUT_INFLATER_SERVICE); row = inflater. Inflate(R.layout.
Photo_list_item, null); } else { row = convertView; } photoPreview. SetOnClickListener(new View.OnClickListener() { public void onClick(View view) { File photoDirectory = new File(Environment. GetExternalStorageDirectory()+"/Pictures/appName"); if(!photoDirectory.isDirectory()) { photoDirectory.mkdir(); } File photo = new File(Environment.
GetExternalStorageDirectory()+"/Pictures/appName/", thisPhoto.getId()+"_photo. Jpg"); CameraHandlerSingleton. SetPictureUri(Uri.
FromFile(photo)); CameraHandlerSingleton. SetPhotoId(thisPhoto.getId()); Intent intent = new Intent("android.media.action. IMAGE_CAPTURE"); intent.
PutExtra(MediaStore. EXTRA_OUTPUT, Uri. FromFile(photo)); startActivityForResult(intent, CAMERA_PIC_REQUEST); } }); return row; } }) Then my onActivityResult: protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.
OnActivityResult(requestCode, resultCode, data); if(resultCode == RESULT_OK) { if(requestCode == CAMERA_PIC_REQUEST) { Uri selectedImage = CameraHandlerSingleton.getPictureUri(); String photoId = CameraHandlerSingleton.getPhotoId(); getContentResolver(). NotifyChange(selectedImage, null); ContentResolver cr = getContentResolver(); Bitmap thumbnail; try { thumbnail = Bitmap. CreateScaledBitmap(android.provider.MediaStore.Images.Media.
GetBitmap(cr, selectedImage), 300, 200, true); p. SetThumbnail(thumbnail); p. SetTaken(true); } catch(FileNotFoundException e) { Toast.
MakeText(this, "Picture not found. ", Toast. LENGTH_SHORT).show(); e.printStackTrace(); } catch(IOException e) { Toast.
MakeText(this, "Failed to load. ", Toast. LENGTH_SHORT).show(); Log.
E("Camera", e.toString()); } catch(Exception e) { Toast. MakeText(this, e.toString(), Toast. LENGTH_SHORT).show(); Log.
E("Camera Exception", e.toString()); e.printStackTrace(); } startActivity(getIntent()); finish(); } } }.
Ended up using a ListView and custom adapter then having it iterate over an ArrayList with objects of class Photo... I update the Bitmap (thumbnail) property for the Photo objects when I take the picture then refresh the ListView. This method works very well. PhotoListView.
SetAdapter(new ArrayAdapter(this, R.layout. Photo_list_item, photosList) { @Override public View getView(final int position, View convertView, final ViewGroup parent) { View row = null; final Photo thisPhoto = getItem(position); if (null == convertView) { LayoutInflater inflater = (LayoutInflater) getSystemService(Context. LAYOUT_INFLATER_SERVICE); row = inflater.
Inflate(R.layout. Photo_list_item, null); } else { row = convertView; } photoPreview. SetOnClickListener(new View.OnClickListener() { public void onClick(View view) { File photoDirectory = new File(Environment.
GetExternalStorageDirectory()+"/Pictures/appName"); if(!photoDirectory.isDirectory()) { photoDirectory.mkdir(); } File photo = new File(Environment. GetExternalStorageDirectory()+"/Pictures/appName/", thisPhoto.getId()+"_photo. Jpg"); CameraHandlerSingleton.
SetPictureUri(Uri. FromFile(photo)); CameraHandlerSingleton. SetPhotoId(thisPhoto.getId()); Intent intent = new Intent("android.media.action.
IMAGE_CAPTURE"); intent. PutExtra(MediaStore. EXTRA_OUTPUT, Uri.
FromFile(photo)); startActivityForResult(intent, CAMERA_PIC_REQUEST); } }); return row; } }); Then my onActivityResult: protected void onActivityResult(int requestCode, int resultCode, Intent data) { super. OnActivityResult(requestCode, resultCode, data); if(resultCode == RESULT_OK) { if(requestCode == CAMERA_PIC_REQUEST) { Uri selectedImage = CameraHandlerSingleton.getPictureUri(); String photoId = CameraHandlerSingleton.getPhotoId(); getContentResolver(). NotifyChange(selectedImage, null); ContentResolver cr = getContentResolver(); Bitmap thumbnail; try { thumbnail = Bitmap.
CreateScaledBitmap(android.provider.MediaStore.Images.Media. GetBitmap(cr, selectedImage), 300, 200, true); p. SetThumbnail(thumbnail); p.
SetTaken(true); } catch(FileNotFoundException e) { Toast. MakeText(this, "Picture not found. ", Toast.
LENGTH_SHORT).show(); e.printStackTrace(); } catch(IOException e) { Toast. MakeText(this, "Failed to load. ", Toast.
LENGTH_SHORT).show(); Log. E("Camera", e.toString()); } catch(Exception e) { Toast. MakeText(this, e.toString(), Toast.
LENGTH_SHORT).show(); Log. E("Camera Exception", e.toString()); e.printStackTrace(); } startActivity(getIntent()); finish(); } } }.
Intent intent = new Intent("android.media.action. Thumbnail = Bitmap. MakeText(this, "Picture not found.", Toast.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.