Android SDCard Root Get getSDCardRoot()

Here you can find the source of getSDCardRoot()

Description

get SD Card Root

Declaration

public static String getSDCardRoot() 

Method Source Code

//package com.java2s;
import java.io.File;

import android.os.Environment;

public class Main {
    public static String getSDCardRoot() {
        return Environment.getExternalStorageDirectory().getAbsolutePath()
                + File.separator;
    }/*from w  w  w .  ja va 2  s .c  o m*/
}

Related

  1. getExternalCacheDir(Context context)
  2. getRootFilePath()
  3. getOutputMediaFile()
  4. getOutputMediaFile(int type)
  5. getOutputMediaFileUri()