get External Files Dir from Activity - Android android.app

Android examples for android.app:Activity Property

Description

get External Files Dir from Activity

Demo Code

import java.io.File;

import android.app.Activity;

public class Main {

  public static File getExternalFilesDir(Activity activity, String type) {
    return activity.getExternalFilesDir(type);
  }/*  w  w w.  j  ava  2 s. c  o m*/

}

Related Tutorials