Volley官方文檔說: "Volley is not suitable for large download or streaming operations, since Volley holds all responses in memory during parsing. For large download operations, consider using an alternative like DownloadManager."這是真的,特別是內存小的手機,使用Volley下載很多文件或者單個大文件就不是很恰當了。
Media Play 設置 Video Location 選擇 Absolute Path Or URL。 找到安卓設備SDCard的根目錄(ROOT PATH) 如果電腦上安裝了adb工具,使用指令 adb shell echo $EXTERNAL_STORAGE 打印SD Card Root directory。 如果安卓設備上安裝了terminal工具,(比如Terminal Emulator for Android),使用指令 ls 根據經驗篩選可能的目錄。 一般而言,