如何找到外部SD卡(MNT / exd​​sdcard)路径的Andr​​oid? [英] how to find external sdcard(mnt/exdsdcard) path android?

查看:221
本文介绍了如何找到外部SD卡(MNT / exd​​sdcard)路径的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Exdsdcard路径找到


  

我需要找到外部SD卡路径(MNT / exd​​sdcard)。我想同一些图像exdsdcard和我去访问数据库还。



解决方案

试试这个

 文件extStore = Environment.getExternalStorageDirectory();

然后指定文件夹名和文件名

有关例如:

/ LazyList /+ serialno.get(位置).trim()+。JPG

Exdsdcard path find

i need to find out external sdcard path(mnt/exdsdcard).i want to same some images to exdsdcard and i went access database also.

解决方案

try this

File extStore = Environment.getExternalStorageDirectory();

Then specify the foldername and file name

for e.g:

"/LazyList/"+serialno.get(position).trim()+".jpg"

这篇关于如何找到外部SD卡(MNT / exd​​sdcard)路径的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆