How to send data to the Firebase Realtime database. Android studio Kotlin.

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ •

  • @MohsenMashkour
    @MohsenMashkour  Рік тому

    navigation component ua-cam.com/video/ttkkigp74ds/v-deo.html

  • @德川家源
    @德川家源 6 місяців тому +1

    thank you very much for helping us learning

  • @yazilimportali6431
    @yazilimportali6431 2 місяці тому

    Thanks for the good tutoriol.

  • @mahmoudabdulfattah7294
    @mahmoudabdulfattah7294 Рік тому

    thank you man very very very nice tutorial

    • @MohsenMashkour
      @MohsenMashkour  Рік тому

      Sub for more. Im building another series about firebase and jetpack compose

  • @德川家源
    @德川家源 6 місяців тому +1

    thank you very much

  • @paulatriep9279
    @paulatriep9279 Рік тому +1

    Just a quick question. How can you prevent an entry in firebase being added with an error. In your example it provides an error message when the phone number is not entered but it still writes to the realtime database.

    • @MohsenMashkour
      @MohsenMashkour  Рік тому

      You just need to check by an if statement. If all of the fields are filled by the user then the data will be sent otherwise a message will be displayed

  • @veguitascript3322
    @veguitascript3322 Рік тому

    is there a way to have a lot of data in realtime database and show in the app; but the condition is that each day the data that is showed in the app have to be updated for the next id. For example: The id = 1 , shows apple, but the next day the id have to be 2, and shows pineapple, all the data is in firebase. Is it posible my query ?

    • @MohsenMashkour
      @MohsenMashkour  Рік тому

      Hello. Firebase is a database and as other databases holds the data that you send to it. the database will send you exactly your data without any changes. Therefore the changes should be manage in the app that you are developing.

    • @MohsenMashkour
      @MohsenMashkour  Рік тому

      I recommend you to watch this video to learn how to update exact data in firebase based on the id. ua-cam.com/video/H1TZUaBvdN8/v-deo.html

  • @Csaim
    @Csaim 4 місяці тому

    Cant get that contacts import. Please help!

  • @khuramwarriach
    @khuramwarriach Рік тому

    can you make a video on room database with kotlin

  • @sebastianlopez-wh6ht
    @sebastianlopez-wh6ht Рік тому

    Hi Mi friend, i try to upload a image using retrofit and php, have you an example, i dont find example for this or multiple image thx

  • @CrickOGGY
    @CrickOGGY Рік тому +1

    " java.lang.IllegalStateException: Activity com.example.madproject.AddPeople@7a815de does not have an ActionBar set via setSupportActionBar()" i have this error please help me

    • @tutrieu3250
      @tutrieu3250 Рік тому

      because in latest android studio not have toolbar so you can't run program with 2 line code setUpAppbarConfiguration. Should not have 2 line code

    • @hverma233
      @hverma233 Рік тому

      Did you get the solution?

    • @CrickOGGY
      @CrickOGGY Рік тому

      ​​​@@hverma233dont exactly remember but i think in addfragments line 25 'contact' should be firebase location but name i put random name . Ithink thats why

    • @johnproto3586
      @johnproto3586 7 місяців тому

      @@CrickOGGY can you help me please, i have the same problem :(

    • @CrickOGGY
      @CrickOGGY 7 місяців тому

      ​@@johnproto3586 I don't remember but it works for me . But I think I change some code part in final fragment.kt file . Use chat gpt may be u'll find the answer