Scott Main | 580f014 | 2011-12-15 16:47:26 -0800 | [diff] [blame] | 1 | page.title=Capturing Photos |
Joe Fernandez | 95f6c75 | 2013-05-14 16:10:58 -0700 | [diff] [blame] | 2 | page.tags="camera","video","picture" |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 3 | |
| 4 | trainingnavtop=true |
| 5 | startpage=true |
| 6 | next.title=Taking Photos Simply |
| 7 | next.link=photobasics.html |
| 8 | |
| 9 | @jd:body |
| 10 | |
| 11 | <div id="tb-wrapper"> |
| 12 | <div id="tb"> |
| 13 | |
| 14 | |
| 15 | <h2>Dependencies and prerequisites</h2> |
| 16 | <ul> |
Scott Main | 326ed25 | 2013-12-04 17:54:03 -0800 | [diff] [blame] | 17 | <li>Android 2.2 (API level 8) or higher</li> |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 18 | <li>A device with a camera</li> |
| 19 | </ul> |
| 20 | |
| 21 | |
| 22 | <h2>You should also read</h2> |
| 23 | <ul> |
| 24 | <li><a href="{@docRoot}guide/topics/media/camera.html">Camera</a></li> |
Scott Main | 50e990c | 2012-06-21 17:14:39 -0700 | [diff] [blame] | 25 | <li><a href="{@docRoot}guide/components/activities.html">Activities</a></li> |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 26 | </ul> |
| 27 | |
| 28 | |
| 29 | <h2>Try it out</h2> |
| 30 | |
| 31 | <div class="download-box"> |
Scott Main | 580f014 | 2011-12-15 16:47:26 -0800 | [diff] [blame] | 32 | <a href="http://developer.android.com/shareables/training/PhotoIntentActivity.zip" |
| 33 | class="button">Download the sample</a> |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 34 | <p class="filename">PhotoIntentActivity.zip</p> |
| 35 | </div> |
| 36 | |
| 37 | </div> |
| 38 | </div> |
| 39 | |
| 40 | <p>The world was a dismal and featureless place before rich media became |
| 41 | prevalent. Remember Gopher? We don't, either. For your app to become |
| 42 | part of your users' lives, give them a way to put their lives into it. |
| 43 | Using the on-board cameras, your application can enable users to augment what |
| 44 | they see around them, make unique avatars, look for zombies around the corner, |
Joe Fernandez | 95f6c75 | 2013-05-14 16:10:58 -0700 | [diff] [blame] | 45 | or simply share their experiences.</p> |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 46 | |
| 47 | <p>This class gets you clicking fast with some super-easy ways of |
| 48 | leveraging existing camera applications. In later lessons, you dive deeper |
| 49 | and learn how to control the camera hardware directly.</p> |
| 50 | |
| 51 | |
| 52 | <h2>Lessons</h2> |
Joe Fernandez | 95f6c75 | 2013-05-14 16:10:58 -0700 | [diff] [blame] | 53 | |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 54 | <dl> |
| 55 | <dt><b><a href="photobasics.html">Taking Photos Simply</a></b></dt> |
| 56 | <dd>Leverage other applications and capture photos with just a few lines of code.</dd> |
| 57 | <dt><b><a href="videobasics.html">Recording Videos Simply</a></b></dt> |
| 58 | <dd>Leverage other applications and record videos with just a few lines of code.</dd> |
| 59 | <dt><b><a href="cameradirect.html">Controlling the Camera</a></b></dt> |
| 60 | <dd>Control the camera hardware directly and implement your own camera application.</dd> |
Joe Fernandez | 95f6c75 | 2013-05-14 16:10:58 -0700 | [diff] [blame] | 61 | </dl> |
Scott Main | 564e8aa | 2011-12-15 15:59:34 -0800 | [diff] [blame] | 62 | |