MIKEDROID CY
MIKEDROID CY

Reputation: 68

Android - How Capture image from camera or add from Library

I'm new to Android development.

I have an application that allows the user to select images. I'm using an Button. When the user clicks on the Button, I'd like to allow them the option to a)select the image from the gallery, or b)use the camera to capture an image. Please help me by suggestion or any article.

thanx

Upvotes: 2

Views: 3222

Answers (1)

AndroDev
AndroDev

Reputation: 3274

  1. Read following article which explains how to capture image from Camera: Capture camera image from your app

For getting images from gallery, you have to use different intent action defined in Media class.

Upvotes: 1

Related Questions