文件名称:CheckDoubleSDCard
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
本项目是一个基于可以自动判断SD卡盘符的小例子,作者自述:
最近做一个项目,需要显示SD卡上的照片,因为自己用的是三星手机,结果发现用Environment.getExternalStorageDirectory().getAbsolutePath()这样的代码只能显示出内置SD卡的照片,没有办法获取到外置SD卡的照片,搜索了好多,结果发现都不如意,不是我想要的。后来综合了各种资料后,终于弄出个自己满意的。我的这个代码可以自动判断手机上所有的盘符,不需要人工指定,比如 /sdcard0 ,之类的,然后在此基础上,自动判断有几个有效的SD卡。-This project is one can automatically determine the SD card drive based on a small example, author readme:
Recently did a project, need to display pictures on the SD card, because our own Samsung mobile phone, the results found with Environment.getExternalStorageDirectory ().GetAbsolutePath () this code can only be shown pictures of the built-in SD card, there is no way to get pictures of the external SD card, search a lot. The results showed that are not satisfied, not what I want. Later integrated all kinds of information, and finally make a satisfactory. I of the code can automatically determine all the letter on the phone, do not need to manually specified, such as /sdcard0, like, and then on the basis of this, automatic judge several effective SD card.
最近做一个项目,需要显示SD卡上的照片,因为自己用的是三星手机,结果发现用Environment.getExternalStorageDirectory().getAbsolutePath()这样的代码只能显示出内置SD卡的照片,没有办法获取到外置SD卡的照片,搜索了好多,结果发现都不如意,不是我想要的。后来综合了各种资料后,终于弄出个自己满意的。我的这个代码可以自动判断手机上所有的盘符,不需要人工指定,比如 /sdcard0 ,之类的,然后在此基础上,自动判断有几个有效的SD卡。-This project is one can automatically determine the SD card drive based on a small example, author readme:
Recently did a project, need to display pictures on the SD card, because our own Samsung mobile phone, the results found with Environment.getExternalStorageDirectory ().GetAbsolutePath () this code can only be shown pictures of the built-in SD card, there is no way to get pictures of the external SD card, search a lot. The results showed that are not satisfied, not what I want. Later integrated all kinds of information, and finally make a satisfactory. I of the code can automatically determine all the letter on the phone, do not need to manually specified, such as /sdcard0, like, and then on the basis of this, automatic judge several effective SD card.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
判断双SD卡_CheckDoubleSDCard
............................\.classpath
............................\.project
............................\.settings
............................\.........\org.eclipse.jdt.core.prefs
............................\AndroidManifest.xml
............................\assets
............................\bin
............................\...\AndroidManifest.xml
............................\...\CheckDoubleSDCard.apk
............................\...\classes
............................\...\.......\com
............................\...\.......\...\example
............................\...\.......\...\.......\checkdoublesdcard
............................\...\.......\...\.......\.................\BuildConfig.class
............................\...\.......\...\.......\.................\MainActivity.class
............................\...\.......\...\.......\.................\R$attr.class
............................\...\.......\...\.......\.................\R$dimen.class
............................\...\.......\...\.......\.................\R$drawable.class
............................\...\.......\...\.......\.................\R$id.class
............................\...\.......\...\.......\.................\R$layout.class
............................\...\.......\...\.......\.................\R$menu.class
............................\...\.......\...\.......\.................\R$string.class
............................\...\.......\...\.......\.................\R$style.class
............................\...\.......\...\.......\.................\R.class
............................\...\classes.dex
............................\...\dexedLibs
............................\...\.........\android-support-v4-005f05a900d020a0a78d567098d3e9d2.jar
............................\...\res
............................\...\...\crunch
............................\...\...\......\drawable-hdpi
............................\...\...\......\.............\ic_launcher.png
............................\...\...\......\drawable-mdpi
............................\...\...\......\.............\ic_launcher.png
............................\...\...\......\drawable-xhdpi
............................\...\...\......\..............\ic_launcher.png
............................\...\...\......\drawable-xxhdpi
............................\...\...\......\...............\ic_launcher.png
............................\...\resources.ap_
............................\gen
............................\...\com
............................\...\...\example
............................\...\...\.......\checkdoublesdcard
............................\...\...\.......\.................\BuildConfig.java
............................\...\...\.......\.................\R.java
............................\ic_launcher-web.png
............................\libs
............................\....\android-support-v4.jar
............................\proguard-project.txt
............................\project.properties
............................\res
............................\...\drawable-hdpi
............................\...\.............\ic_launcher.png
............................\...\drawable-ldpi
............................\...\drawable-mdpi
............................\...\.............\ic_launcher.png
............................\...\drawable-xhdpi
............................\...\..............\ic_launcher.png
............................\...\drawable-xxhdpi
............................\...\...............\ic_launcher.png
............................\...\layout
............................\...\......\activity_main.xml
............................\...\menu
............................\...\....\main.xml
............................\...\values
............................\...\......\dimens.xml
............................\...\......\strings.xml
............................\...\......\styles.xml
............................\...\values-sw600dp
............................\...\..............\dimens.xml
............................\...\values-sw720dp-land
............................