Greeting everyone, im working a project right now and need help for firebase realtime database. My firebase Project As you guys can see in the above picture, inside student, I have matric number, and inside matric number have block and department. I have a barcode scanner which scan the value of department and return to get the matric number. Any
Tag: firebase
how do I fix my flutter app not building with cloud firestore?
So I am new to flutter and firebase and I wanted to add firestore capabilities to my app, but when I tried to use firestore I got an error The plugin cloud_firestore requires a higher Android SDK version. │ │ Fix this issue by adding the following to the file │ │ C:UsersJaffStudioProjectspriv_chatandroidappbuild.gradle: After fixing the SDK version, then I
Firebase Database gives null values
This is my Firebase Database snippet I am trying to get the name of the expense and the expense amount and set it into a RecyclerView. This is my adapter for the RecyclerView: This is my POJO class for Expense Model This is my code snippet The log shows that every value in the expense class has been set to
how can i get all the data in document firestore?
current i am working to my school project using android studio, it is an attendance system where I store my data to Firestore and the user are able to download/export the data to become Excel file. What I am trying to do is how can I get the all data in a single document of a Collection in firestore here’s
How to get Each value from Firebase?
How can I get each value from Firebase and set it to my variable (Lat&Long) My Code : and The log result said Answer Since you’re using Java, here is the code that can help you read the value of Lat, as well the value of Long: As you can see, there is no need for any loop. You can
Android NullPointer Attempt to invoke virtual method ‘boolean java.util.ArrayList.add(java.lang.Object)’ on a null object reference
I’m getting this error: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.util.ArrayList.add(java.lang.Object)’ on a null object reference and just to make it clear is that I know others with the same issue have asked the same question and I have read the solutions which are usually that you have to instantiate your ArrayList which however I am obviously doing but
Read Firestore Data in Android Java
i am working on android application and i am trying to read data from the firestore. One of the key contains further object data which i want to read. i was able to read the data for purchases but purchases has further array data with contains products keys. i am unable to read that. i want a simple solution, no
Firestore does not query on every Listview custom adapter
So this is the source code of my adapter: What I am trying to do is, change the value of two of my Textviews, consignor_cList and recipient_cList from a firestore query. Initially, both these textviews are having text value as String uid of my firestore document. I want to use these id, query the whole document and use the document
Database URL do not match
I’m trying to send user’s data to Realtime Database in SignUpActivity in my project. For that I created a database reference and copied the url that is written in my Realtime Database with the following code: However, when launching the app I get Fatal exception stating the following: 2022-06-21 14:50:24.921 8323-8323/com.dinocodeacademy.maingoquizagain E/AndroidRuntime: FATAL EXCEPTION: main Process: com.dinocodeacademy.maingoquizagain, PID: 8323 java.lang.RuntimeException:
How to give read access permission for Firestore imageurl in Java
I am able to access the Firestore image url on my browser window. I want to convert this image url into BufferedImage after reading I have to find sub-image to get barcode value presented on my image. Here is the code, I have connected with my bucket using Firestore and selecting few images from bucket based on conditions. And rules