I want to take a picture from the android emulator through my application when a button is clicked. How can I do that?
Asked
Active
Viewed 5,051 times
4
-
Are you asking about screen shots? – Pankaj Kumar Aug 29 '11 at 11:04
-
I want to capture a picture through the emulator, save it and then display its details in the TextView.It's not about the screen shots. – Prachi Aug 29 '11 at 11:10
1 Answers
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.
-
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
-
1Ok, 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
-
-
1You are welcome :) (but well, you didn't do so much research, did you?) – Shlublu Aug 29 '11 at 11:21