当前位置:操作系统 > 安卓/Android >>

Android工作笔记:Android路径大全

Android不同api调用显示的路径:

 

 

[java]
Environment.getExternalStorageState:mounted 
Environment.getDownloadCacheDirectory().getPath():/cache 
Environment.getDataDirectory().getPath():/data 
Environment.getExternalStorageDirectory().getPath():/mnt/sdcard 
Environment.getExternalStoragePublicDirectory().getPath():/mnt/sdcard/Pictures 
Environment.getRootDirectory().getPath():/system 
 
Environment.getDownloadCacheDirectory().getAbsolutePath():/cache 
Environment.getDataDirectory().getAbsolutePath():/data 
Environment.getExternalStorageDirectory().getAbsolutePath():/mnt/sdcard 
Environment.getExternalStoragePublicDirectory().getAbsolutePath():/mnt/sdcard/Pictures 
Environment.getRootDirectory().getAbsolutePath():/system 

Environment.getExternalStorageState:mounted
Environment.getDownloadCacheDirectory().getPath():/cache
Environment.getDataDirectory().getPath():/data
Environment.getExternalStorageDirectory().getPath():/mnt/sdcard
Environment.getExternalStoragePublicDirectory().getPath():/mnt/sdcard/Pictures
Environment.getRootDirectory().getPath():/system

Environment.getDownloadCacheDirectory().getAbsolutePath():/cache
Environment.getDataDirectory().getAbsolutePath():/data
Environment.getExternalStorageDirectory().getAbsolutePath():/mnt/sdcard
Environment.getExternalStoragePublicDirectory().getAbsolutePath():/mnt/sdcard/Pictures
Environment.getRootDirectory().getAbsolutePath():/system


 

补充:移动开发 , Android ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,