Category : firebase-realtime-database

I trie to retrive data from RealtimeDatabse with FirebaseUI RecyclerView but nothing appears. I tried a lot of tutorials and searched a lot but nothing will help me. I want to retrieve the status from "Parcare2" in a Text view. The MainAcvitiy where RecyclerView is: public class Parcare extends AppCompatActivity { private RecyclerView recview; ArrayList<Model_parcare> ..

Read more

So I have made an app and Im using firebase database. saving and deleting data dont crash and works fine. but when Im updating my app crashes. Ive tested updating my profile(name, contact, dob, address) multiple times. sometimes its not crashing but sometimes it does after pressing save. please how to solve this Source: Android ..

Read more

I just receive an email from firebase which is: Email Title: [Firebase] Client access to your Realtime Database connectsocialmediaapp-default-rtdb is expiring in 5 day(s) Email Desciption: You chose to start developing in Test Mode, which leaves your Realtime Database instance completely open to the Internet. Because this choice makes your app vulnerable to attackers, your ..

Read more

I trying to show firebase data by using recyclerview. retrieving data is well, I can check it in logcat. Sometimes recyclerview show data, but Usually show nothing. When recycleview show data, it is reflectled firebase data well. Who can tell me What the problem?? Is there mistake in my xml code? Java code artistData.child(starList[i]).addValueEventListener(new ValueEventListener() ..

Read more

In general I’m trying to create a ChatBot app but i don’t have any code for reference and trying it myself.. so far I’ve completed the Sender msg part and updated it in firebase database.. Now how to make the receiver text appear once the sender text is updated? I have seperate layout for sender ..

Read more

I want cumulative of production qty in key ‘pqty’ property: DatabaseReference rootRef = FirebaseDatabase.getInstance().getReference(); DatabaseReference valuesRef = rootRef.child("alldata").child("pqty"); ValueEventListener eventListener = new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { int sum = o; for(DataSnapshot ds : dataSnapshot.getChildren()) { int value = ds.getValue(Integer.class); sum = sum + value; } textview15.setText(String.valueOf(sum)); } @Override public void onCancelled(DatabaseError ..

Read more

I just receive an email from firebase which is: Email Title: [Firebase] Client access to your Realtime Database connectsocialmediaapp-default-rtdb is expiring in 5 day(s) Email Desciption: You chose to start developing in Test Mode, which leaves your Realtime Database instance completely open to the Internet. Because this choice makes your app vulnerable to attackers, your ..

Read more