【发布时间】:2017-01-21 16:17:15
【问题描述】:
我正在为我的应用创建一个帐户设置页面。所以我提供了一个 ImageView 来设置个人资料图片。
我正在通过以下方式加载图像:
Glide.with(AccountSetupActivity.this)
.load(mAuth.getCurrentUser().getPhotoUrl())
.into(mCircularProfile); //mCircularProfile is ImageView
它完美无缺。问题是当我尝试存储此文件时。
mImageUri = mAuth.getCurrentUser().getPhotoUrl();
StorageReference filePath
= mStorageProfilePicturesRef.child("just a random name for testing");
//Putting The Image At The Specific File Path
filePath.putFile(mImageUri)
非常感谢任何帮助!
【问题讨论】:
-
到底是什么问题?
标签: java android firebase firebase-authentication