Thank you Bill for your response! This has been confounding me for a while and I've had no idea how to remedy it. Is it possible for you to please include a code sample or a link to a code sample?
On Aug 28, 8:45 am, Bill <wrobb...@gmail.com> wrote: > There seems to be a bug in the EXTRA_OPTIONS if you're using the > default camera activity. That is why you are not getting full sized > pictures. > > If you want to embed the preview you can use the Camera object > directly. > > On Aug 28, 1:02 am, Pavel <pavli...@gmail.com> wrote: > > > Hey tinyang, > > > Could you please share the code you use for picture taking? I am > > working on the same thing and having weird issues with it - it does > > not take full sized pictures for unknown reason... > > > And yeah, sorry, no answer to your question from my side at the moment. > > > Pavlo > > > On Thu, Aug 27, 2009 at 9:14 PM, tinyang<gnay...@gmail.com> wrote: > > > > Hello. > > > > I just got my camera preview working for my app, but it is not > > > appearing > > > where I want it to appear, and I'm not sure how to get it there. > > > Instead of > > > using the entire screen for the preview, I would like to put it inside > > > a > > > surfaceview in an activity xml gui. What do I need to change? Here > > > is my > > > code: > > > > public class TakePic extends Activity { > > > > SurfaceView camSurface; > > > > Preview camPreview; > > > > @Override > > > > protected void onCreate(Bundle savedInstanceState) { > > > > super.onCreate(savedInstanceState); > > > > requestWindowFeature(Window.FEATURE_NO_TITLE);//hide window title > > > > camPreview = new Preview(this); //create preview > > > > setContentView(R.layout.takepic); > > > > setContentView(camPreview); //set preview as activity content > > > > camSurface = (SurfaceView) findViewById(R.id.camsurface); > > > > } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---