4

I want to take a picture from the android emulator through my application when a button is clicked. How can I do that?

Wladimir Palant
  • 55,537
  • 12
  • 95
  • 123
Prachi
  • 996
  • 4
  • 23
  • 36

1 Answers1

4

This question about how to trigger the picture taking can help you, and this question about how to access to the taken pictures too.

Community
  • 1
  • 1
Shlublu
  • 10,693
  • 4
  • 51
  • 69
  • Thanks for helping...but how can i get this Activity for taking the picture. I am new to android so please elaborate a bit coz I am not able to understand. – Prachi Aug 29 '11 at 11:15
  • 1
    Ok, so it is not related to the emulator, but to your app. You would like your app to take a picture and access to that picture. This can help you: http://stackoverflow.com/questions/2729267/android-camera-intent , and this too: http://stackoverflow.com/questions/2169649/open-an-image-in-androids-built-in-gallery-app-programmatically - please reword your question to clarify this. – Shlublu Aug 29 '11 at 11:19
  • Ya..u got it very correct! this is exactly what I want to do. Thanks – Prachi Aug 29 '11 at 11:21
  • 1
    You are welcome :) (but well, you didn't do so much research, did you?) – Shlublu Aug 29 '11 at 11:21