Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {
    public static final String EXTRA_TAKE_PHOTO = "TAKE_PHOTO_URI";
    public static final String EXTRA_TAKE_VIDEO = "TAKE_VIDEO_URI";

    public static void resetPendingData(Activity activity) {
        activity.getIntent().putExtra(EXTRA_TAKE_PHOTO, "");
        activity.getIntent().putExtra(EXTRA_TAKE_VIDEO, "");
    }
}