get SD Card Absolute Path - Android Hardware

Android examples for Hardware:SD Card

Description

get SD Card Absolute Path

Demo Code


//package com.java2s;

import android.os.Environment;

public class Main {

    public static String getSSCardAbsolutePath() {
        return Environment.getExternalStorageDirectory().getAbsolutePath();
    }//from  w w w .j  a  v  a 2 s.c o  m
}

Related Tutorials