我有點困惑與火力地堡文檔文件的本地路徑:https://firebase.google.com/docs/storage/android/download-files如何獲得從火力地堡下載存儲
我想通過文件的URL下載從火力地堡一個文件,然後獲取其當地路徑:
mStorageReference.getFile(downloadURL).addOnSuccessListener(new
OnSuccessListener<FileDownloadTask.TaskSnapshot>() {
@Override
public void onSuccess(FileDownloadTask.TaskSnapshot taskSnapshot) {
// I assume the file is now downloaded from the given URL and is on the device
// HOW DO I GET THE PATH TO THE FILE ON THE DEVICE ?
}
});
問題出在評論中。
你能告訴我爲什麼我的文件名更改,即從文件名到文件名-13557732.pdf一次下載....? – Camille