blob: 5501ab0e63c02a1a84173fb587585166edb8ef05 [file] [log] [blame]
Scott Main580f0142011-12-15 16:47:26 -08001page.title=Capturing Photos
Joe Fernandez33baa5a2013-11-14 11:41:19 -08002page.tags=camera,video,picture
Scott Main564e8aa2011-12-15 15:59:34 -08003
4trainingnavtop=true
5startpage=true
6next.title=Taking Photos Simply
7next.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 Main326ed252013-12-04 17:54:03 -080017 <li>Android 2.2 (API level 8) or higher</li>
Scott Main564e8aa2011-12-15 15:59:34 -080018 <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 Main50e990c2012-06-21 17:14:39 -070025 <li><a href="{@docRoot}guide/components/activities.html">Activities</a></li>
Scott Main564e8aa2011-12-15 15:59:34 -080026</ul>
27
28
29<h2>Try it out</h2>
30
31<div class="download-box">
Scott Main580f0142011-12-15 16:47:26 -080032 <a href="http://developer.android.com/shareables/training/PhotoIntentActivity.zip"
33class="button">Download the sample</a>
Scott Main564e8aa2011-12-15 15:59:34 -080034 <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
41prevalent. Remember Gopher? We don't, either. For your app to become
42part of your users' lives, give them a way to put their lives into it.
43Using the on-board cameras, your application can enable users to augment what
44they see around them, make unique avatars, look for zombies around the corner,
Joe Fernandez95f6c752013-05-14 16:10:58 -070045or simply share their experiences.</p>
Scott Main564e8aa2011-12-15 15:59:34 -080046
47<p>This class gets you clicking fast with some super-easy ways of
48leveraging existing camera applications. In later lessons, you dive deeper
49and learn how to control the camera hardware directly.</p>
50
51
52<h2>Lessons</h2>
Joe Fernandez95f6c752013-05-14 16:10:58 -070053
Scott Main564e8aa2011-12-15 15:59:34 -080054<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 Fernandez95f6c752013-05-14 16:10:58 -070061</dl>
Scott Main564e8aa2011-12-15 15:59:34 -080062