Wrox Programmer Forums
|
BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2
This is the forum to discuss the Wrox book Professional Android Application Development by Reto Meier; ISBN: 9780470344712
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 16th, 2009, 03:36 PM
Registered User
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Saving picture: RAW and jpeg

Hello and thanks for the book! (My first programming book!),

I'm trying to Take Picture and save it as JPEG file on SDcard.

1) I assume that Picture Saving process is happening within:

//TODO Handle jpeg image data

However, what do we do inside:

//TODO Handle RAW image data


2) Also, by // TODO Do smth with the preview image I assume You mean:
1. Create smth to Click
2. So that when you click takePicture() is called.
(am I right?)
When do we stopPreview()?

3) When do we startPreview()?

-Let's say I have a menu on my welcome screen with buttons.
-When I click on "Take Picture" we start the Camera, setParams, and startPreview.(?)
-preview is playing... then we click on [KeyEvent.KEYCODE_DPAD_CENTER]
-takePicture is called (?). I dont exactly know what takePicture() does, but I assume it returns some bytes.
-And those bytes are PictureCallback???

Is this the right scenario?

SOS,

sm12





Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving picture in Access Jennyalex Access 5 August 16th, 2006 07:55 AM
Saving Picture file to specific Location sangeenobs VB How-To 0 December 13th, 2005 11:18 AM
saving picture from word to other folder DorisTan VB How-To 0 December 3rd, 2004 02:46 AM
Saving Shape objects as Bitmap or Jpeg JoePates Java GUI 2 November 30th, 2004 06:03 PM
Saving Shape objects as Bitmap or Jpeg JoePates BOOK: Beginning Java 2 6 August 8th, 2004 10:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.