Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.