Category : firebase

I used a DatePickerDialog to get the selected date from user by clicking on a TextView. But the thing is how do I send that value(date) from the TextView to Firebase? Can the date be converted into string? TextView startDate; DatePickerDialog.OnDateSetListener startDateDateSetListener; startDate.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Calendar cal = Calendar.getInstance(); ..

Read more

I want to implement an ML model on data stored in Firebase to detect anomalies in data and notify the client through an app. My question is, what is the tool I have to use? and how to integrate it with my android app? Thank you in advance Source: Android..

Read more

Situation: I am working on a group chat app using Flutter and Firebase Real-Time Data base. I am aiming for a scalable group messaging system, so I have group messages sent to a single location according to their group id. In the database the location looks like "firebaseio.com/app/groupchats/groupid/messages". For the messages preview page new messages ..

Read more

I am Working on Android Application in Which I am using the QR Library implementation ‘me.dm7.barcodescanner:zxing:1.9.13 The Issue I am Facing is as I Scan The QR Code With Flash and Go to Next Activity After the Results Received ,like this if (resultstring != null) { String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date()); Intent intent = new ..

Read more

If I try to do it with the help of Array then it update all the fields in Firestore and I want to update only the particular field only. I have tried many things but I am not able to achieve what I want.Help.[[[[[[save.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { progressBar.setVisibility(View.VISIBLE); i =0; ..

Read more

My Firebase database just simply doesn’t work in Kotlin, every listener (onComplete, onFailure etc) doesnt work and I don’t know why. It’a problem in my other project but i created another one just to make sure and it still doesn’t work. Here is my code import android.os.Bundle import android.widget.Button import androidx.appcompat.app.AppCompatActivity import com.google.firebase.database.ktx.database import com.google.firebase.ktx.Firebase ..

Read more