Android SDCard Check getSdcardFilesDir(Context c)

Here you can find the source of getSdcardFilesDir(Context c)

Description

get Sdcard Files Dir

Declaration

public static String getSdcardFilesDir(Context c) 

Method Source Code

//package com.java2s;
import android.content.*;
import java.io.*;

public class Main {
    public static String getSdcardFilesDir(Context c) {
        return c.getExternalFilesDir(null).getAbsolutePath()
                + File.separator;
    }/*from  w w  w.j  a v a 2s . c o  m*/
}

Related

  1. getExternalStorageTotalSize()
  2. generateLogOnSD(String sBody, String fileName, String folderName)
  3. getDataFilesDir(Context c)
  4. getSDPath()
  5. getSdCacheDir(Context context)
  6. hasSdcard()
  7. isSDCardPresent()
  8. getFreeMemory(String path)
  9. isSdcardAvailable()