0

I have two button and one gallery in my activity, when I click the button it will redirect to gallery and I would like to select an image. The selected image will be added in my gallery. When I click another button it will capture image from camera and add it in my gallery

how to do that? any idea?

MKJParekh
  • 34,073
  • 11
  • 87
  • 98
Prabhu.ST
  • 5
  • 2
  • I hope this will help you.. http://stackoverflow.com/questions/7304007/take-picture-from-camera-and-choose-from-gallery-and-display-in-image-view – anddev Jan 09 '12 at 05:25

1 Answers1

0

To get image from sd-card follow the link: How to pick an image from gallery (SD Card) for my app? and for camera follow following tutorial:

http://mobile.tutsplus.com/tutorials/android/android-sdk-quick-tip-launching-the-camera/

Community
  • 1
  • 1
jeet
  • 29,001
  • 6
  • 52
  • 53