Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import java.io.File;

import android.os.Environment;

public class Main {
    public static File getPhotoDir() {
        File root_dir = Environment.getExternalStorageDirectory();
        File photo_tmp_dir = new File(root_dir, "YYData/images/photos");
        return photo_tmp_dir;
    }
}