video streaming on Fragment of an android app

i want to stream a video from the firebase storage, in a fragment of my android app. but what even i try my video doesn’t launch or the app crash when i request the fragment. being a beginner, i have …

What is the difference between get() and addListenerForSingleValueEvent?

I see a lot of tutorials, documentation and questions about using the Firebase Realtime Database on Android talk about the addListenerForSingleValueEvent method. This method reads the value from the …

Why counter just increase to 1 in firebase?

im trying to increase a visitor counter views when access to read a message, so i made a method called incrementar () and set it where i retrieve info when someone click to open that post. But i dont …

Is firestore callback method run in a separate thread?

I am fetching Firestore data through RX observable. Is it required to subscribe to it in a separate thread or Firestore callback run off the main thread by default? Also please share any references …

Select next value firebase android

I’d like to get first register and then the second one when user click in next button, and so on… I have this:

How to get the data from x document and upload it to a new document called ‘name’ and then delete the old one in java

How to get the data from x document and upload it to a new document called ‘name’ and then delete the old one in java const firestore = firebase.firestore(); // get the data from ‘name@xxx.com’ …

snapshot.getValue(User.class) is returning null

I was working on this User information project. I have created login registration for users. The project supposed to show information about logged-in users. When users log in to their profile, it is …

listAll() does not work for firebase in Android

i have created a function to list all files with in a reference.mStorageRef is defined public. public void ListFiles() { Log.d(“FETCHING_DATA_STATUS”,”STARTED”); …

Firebase firestore problem ‘Make sure to call FirebaseApp.initializeApp(Context) first’

I’m doing a new project in Android Studio. I’d like to make my project in latest version and with Firebase Firestore to keep data. I know that i need to put apply plugin: ‘com.google.gms.google-…

Get IDs of deleted documents in firestore

I have a big collection with several thousand documents. These documents have subcollections with documents inside. Now I deleted a lot of the documents on the highest level. Structure: MyCollection =&…