An open API service indexing awesome lists of open source software.

https://github.com/bytao7mao/upload_images_app

android app - upload images to firebase database
https://github.com/bytao7mao/upload_images_app

android firebase images storage uploader

Last synced: 2 months ago
JSON representation

android app - upload images to firebase database

Awesome Lists containing this project

README

          

# upload_images_app
android app - upload images to firebase database

to add these methods from https://stackoverflow.com/questions/37367137/unable-to-get-uri-from-storage-reference-on-firebase :
```
FirebaseStorage storage = FirebaseStorage.getInstance();
StorageReference storageRef = storage.getReferenceFromUrl(this.getString(R.string.storage_path));
Uri uri = storageRef.child("groups/pizza.png").getDownloadUrl().getResult();

storageRef.child("groups/pizza.png").getDownloadUrl().addOnSuccessListener(new OnSuccessListener() {
@Override
public void onSuccess(Uri uri) {
// TODO: handle uri
}
}).addOnFailureListener(new OnFailureListener() {
@Override
public void onFailure(@NonNull Exception exception) {
// Handle any errors
}
});
```