to top

Dependencies and prerequisites

  • Android 1.5 (API level 3) or higher
  • A device with a camera

You should also read

Try it out

Download the sample

PhotoIntentActivity.zip

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.

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.

Lessons

简易拍照
Leverage other applications and capture photos with just a few lines of code.
简易录像
Leverage other applications and record videos with just a few lines of code.
操作相机
Control the camera hardware directly and implement your own camera application.