summaryrefslogtreecommitdiffstats
path: root/docs/html/training/camera/index.jd
blob: 5501ab0e63c02a1a84173fb587585166edb8ef05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
page.title=Capturing Photos
page.tags=camera,video,picture

trainingnavtop=true
startpage=true
next.title=Taking Photos Simply
next.link=photobasics.html

@jd:body

<div id="tb-wrapper">
<div id="tb">


<h2>Dependencies and prerequisites</h2>
<ul>
  <li>Android 2.2 (API level 8) or higher</li>
  <li>A device with a camera</li>
</ul>


<h2>You should also read</h2>
<ul>
  <li><a href="{@docRoot}guide/topics/media/camera.html">Camera</a></li>
  <li><a href="{@docRoot}guide/components/activities.html">Activities</a></li>
</ul>


<h2>Try it out</h2>

<div class="download-box">
 <a href="http://developer.android.com/shareables/training/PhotoIntentActivity.zip"
class="button">Download the sample</a>
 <p class="filename">PhotoIntentActivity.zip</p>
</div>

</div>
</div>

<p>The world was a dismal and featureless place before rich media became
prevalent. Remember Gopher? We don't, either. For your app to become
part of your users' lives, give them a way to put their lives into it.
Using the on-board cameras, your application can enable users to augment what
they see around them, make unique avatars, look for zombies around the corner,
or simply share their experiences.</p>

<p>This class gets you clicking fast with some super-easy ways of
leveraging existing camera applications. In later lessons, you dive deeper
and learn how to control the camera hardware directly.</p>


<h2>Lessons</h2>

<dl>
  <dt><b><a href="photobasics.html">Taking Photos Simply</a></b></dt>
  <dd>Leverage other applications and capture photos with just a few lines of code.</dd>
  <dt><b><a href="videobasics.html">Recording Videos Simply</a></b></dt>
  <dd>Leverage other applications and record videos with just a few lines of code.</dd>
  <dt><b><a href="cameradirect.html">Controlling the Camera</a></b></dt>
  <dd>Control the camera hardware directly and implement your own camera application.</dd>
</dl>