android camera

8
Hello Everyone

Upload: kajol-shawon

Post on 10-May-2015

375 views

Category:

Education


2 download

TRANSCRIPT

Page 1: Android Camera

H e l l o E v e r y o n e

Page 2: Android Camera

Presentation onDeveloping an application for

an Operating System

Md. Asifujjaman 102014018

Page 3: Android Camera

Intro Here I try to build a camera which will work

or capture image by voice or sound command.

Before enabling application to use cameras

on Android devices, we should consider a few questions about how app intends to use this hardware feature. Camera requirement Quick picture or customized camera Storage

Page 4: Android Camera

Tools

Eclipse ADT(Android Developer

Tools) JRE JDK Android Virtual Emulator

Page 5: Android Camera

Getting Started

Camera Intent  Compose a Camera Intent  -Create an Intent that requests an

image or video, using one of these intent types: MediaStore.ACTION_IMAGE_CAPTURE - Intent action type for requesting an image from an existing camera application.

Start the Camera Intent - Use the startActivityForResult() method to execute the camera intent. After starting the intent, the Camera application user interface appears on the device screen and the user can take a picture 

Receive the Intent Result - Set up an OnActivityResult() method inapplication to receive the callback and data from the camera intent. When the user finishes taking a, the system calls this method.

Page 6: Android Camera

Image capture intent Capturing images using a camera intent is quick way to enable application to

take pictures with minimal coding.

Page 7: Android Camera
Page 8: Android Camera

THANK YOU