This is a discussion on Action_image_capture within the Nexus S forums, part of the Google Phones category; I create an simple application to allow user take photo and then preview it.
This application run OK on android SDK 2.1. But when I ...
I create an simple application to allow user take photo and then preview it.
This application run OK on android SDK 2.1. But when I install it on Nexus s(SDK 2.3), it not run properly. The problem is that when user takes photo, this photo is not saved.
I wonder this is my bug or Nexus s bug?
Can anyone help me!
Android.net is the premier Android Forum
. Registered users do not see these ads. .
Regarding to this problem, I got the trace the source code of camera.java (android source code) and found that, when starting camera to take photo,
if the intent not contain EXTRA_OUTPUT it will not store the image (just send
the small bitmap on onActivityResult).
I tried to put EXTRA_OUTPUT, I worked. But another problem is the orientation of photo is alway 0.
I think we must change the way to take photo in the code!
Search tags for this page
android nexus 7 video capture extra output thumbnail
Click on a term to search our sites for related topics.