jump To System Camera Pick Image Activity - Android Camera

Android examples for Camera:Camera Feature

Description

jump To System Camera Pick Image Activity

Demo Code


//package com.java2s;
import android.app.Activity;

import android.content.Intent;

public class Main {
    public static void jumpToSystemCameraPickImageActivity(
            Activity activity, int requestCode) {
        Intent intent = null;//w w  w  .  ja v a 2s.co  m
        intent = new Intent("android.media.action.IMAGE_CAPTURE");
        activity.startActivityForResult(intent, requestCode);
    }
}

Related Tutorials