Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> Android工作筆記:Android路徑大全

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


 

  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved