Android SDCard Check getDataFilesDir(Context c)

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

Description

get Data Files Dir

Declaration

public static String getDataFilesDir(Context c) 

Method Source Code

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

public class Main {
    public static String getDataFilesDir(Context c) {
        return c.getFilesDir().getAbsolutePath() + File.separator;
    }/*from  ww w.jav a 2 s  . c  o  m*/
}

Related

  1. isExternalStorageWritable()
  2. hasMountSDCard()
  3. getExternalStorageFreeSize()
  4. getExternalStorageTotalSize()
  5. generateLogOnSD(String sBody, String fileName, String folderName)
  6. getSDPath()
  7. getSdCacheDir(Context context)
  8. getSdcardFilesDir(Context c)
  9. hasSdcard()