How to connect android with Firebase database || Android and Firebase || Firebase + android #1

Sdílet
Vložit
  • čas přidán 11. 06. 2024
  • connect android with Firebase
    How to connect android with Firebase database
    Fire base is a real time database
    android and firebase tutorial #1
    Simple connection android with firebase database
    --------------------------------------------------------------------------
    android + firebase tutorial #2
    how to insert data into firebase database: • Insert data into fireb...
    -------------------------------------------------------------------------
    android,studio,tutorial,firebase,backend,app,creating
    How to connect android with Firebase database
    #firebase
    #firebasetutorials
    #androidandfirebase
  • Věda a technologie

Komentáře • 162

  • @muhammadafiqhaikalbinazwar630

    U sir are my knight in shining armour that saved me from Project Failure Fire dragon.Arigatou!!!!

  • @anasalbadi1057
    @anasalbadi1057 Před 4 lety +2

    This worked for me, I just had to change the toast command, GREAT VIDEO MAN

  • @mshakthivel1859
    @mshakthivel1859 Před 4 lety +1

    Greate video. Every time I wanna add firebase to android, I come here. Thanks!

  • @ThomasIkemann
    @ThomasIkemann Před 4 lety +7

    Thank you! Even though your video is pretty old, you just showed me exactly what I were looking for. Took me two days of watching videos to finaly find the solution I was searching for ;D

    • @adiss9436
      @adiss9436 Před 3 lety

      hey bro which problem is u solved?can u tell me

    • @ThomasIkemann
      @ThomasIkemann Před 3 lety

      @@adiss9436 Hey, since I posted this one year ago I dont know it anymore. But I use VS Code with the android emulator meanwhile.

  • @gabrielnoira3848
    @gabrielnoira3848 Před 2 lety +4

    That Toast is just a Toast, not really means that firebase is connected xD

  • @atanusaha2351
    @atanusaha2351 Před 4 lety +2

    Osthir

  • @keerthanns8459
    @keerthanns8459 Před 4 lety +1

    Thank you bro...i was kinda stuck in prob like...DatabaseReference was not found...but by following steps in this video automatically it got connected...thankyou again👍🏻👍🏻👍🏻

    • @Educatree
      @Educatree  Před 4 lety +1

      welcome....keep in touch

    • @keerthanns8459
      @keerthanns8459 Před 4 lety

      @@Educatree sure bro👍🏻..but i need your help like...the prob is that it shows required google service plugin is 4.0.0 or higher but installed is 0.1...i could not install it...please help me out to solve this please bro

    • @student9297
      @student9297 Před 3 lety

      @@Educatree ??

  • @ahmetcihatboz
    @ahmetcihatboz Před 3 lety

    World will be a better place because of u indian guys, thx

  • @AhmedZahid1
    @AhmedZahid1 Před 4 lety +2

    Thanks for this video really helpful .

  • @malakmehtabkhan3880
    @malakmehtabkhan3880 Před 3 lety +1

    Great video finally i got connected
    .. thank u

  • @sukruthr8993
    @sukruthr8993 Před 4 lety +1

    thanks.. I had an error with firebase database version.. u fixed it!

  • @HamzaKhan-om8gi
    @HamzaKhan-om8gi Před 4 lety +4

    Very conceptual sir. I appreciate your work.where is the Gui for login and signup form for this same method of firebase connection.
    Thank you...
    Looing back towards your response.

  • @sasi3312
    @sasi3312 Před 2 lety

    Thank u brother ❤️ love from 🇱🇰

  • @ShubhamSaini-sc9pu
    @ShubhamSaini-sc9pu Před 4 lety +2

    awesome tutorial!! thanks

  • @karnamkalpesh1988
    @karnamkalpesh1988 Před 5 lety

    Upload more videos on this, it's very helpful

  • @royventure1730
    @royventure1730 Před 3 lety

    Thanks..much helpful

  • @waff5981
    @waff5981 Před 2 lety

    Thank you so much for making this video!

  • @googleg3133
    @googleg3133 Před 2 lety

    I really love you you saved my really more time

  • @okeoyediran1210
    @okeoyediran1210 Před 4 lety +2

    Please any suggestion that could help my app is not working promoting file Google-service is missing, the file I downloaded from Firebase is not working either

  • @jestynshoyoola5339
    @jestynshoyoola5339 Před 4 lety +2

    can you please show how you connect a flutter project to firebase using android studio
    because am having this problem
    AM Firebase: Could not find the Android Application module. Only Android Application Modules can be connected to Firebase online projects. Create a new Android Application Module or create/import a different Android Studio project.

  • @someshgusain2707
    @someshgusain2707 Před 4 lety

    Sir i wanted to ask something like as i have make the navigation drawer in which i clicked the complain activity as it opens.now there are edittext, spinner how can we connect to firebase please help sir

  • @szabolcssz.6525
    @szabolcssz.6525 Před 5 lety +1

    Thanks for video!

  • @chpapermagic1370
    @chpapermagic1370 Před 3 lety +1

    Thanks for the tutorial

  • @AI.Talent.
    @AI.Talent. Před 3 lety

    This is very nice and I use this method thanks

  • @hirdeshshuklagcvudxmmpw2141

    thank you sir :)

  • @sumantopal558
    @sumantopal558 Před 5 lety +4

    anyone facing issue just add
    implementation 'com.google.firebase:firebase-core:16.0.1' in app/build.gradle
    make sure 16.0.1 or whatever version matches with
    implementation 'com.google.firebase:firebase-database:16.0.1'

    • @shabir301
      @shabir301 Před 5 lety

      Thank you saved my time... Previous 30 min I facing this issue...But now it's gone

  • @honiraf3123
    @honiraf3123 Před 4 lety

    thank you very much bro

  • @vaskovasilev1114
    @vaskovasilev1114 Před 5 lety

    Great video!

  • @Dwitio
    @Dwitio Před 3 lety

    Thanks for this tutorial

  • @sushsav1872
    @sushsav1872 Před 5 lety

    App I crashing when running, no errors, but in Logcat it's pointing towards this line
    reff= firebaseDatabase.getInstance().getReference().child("Member");
    Any solution plz reply

  • @raphaeleldaery1663
    @raphaeleldaery1663 Před 5 lety +1

    Please help me, i get the error
    No matching client found for package name

  • @amolgandhi4709
    @amolgandhi4709 Před 3 lety +3

    Even after sign-in it shows signed in as null..What should I do??

  • @stemmamedia
    @stemmamedia Před rokem

    Please can help to make a video on how to develop a live streaming app like that of BIGO LIVE?

  • @cedrickcruz3144
    @cedrickcruz3144 Před 4 lety

    Help my app isnt connecting its says
    " Firebase: Recieved a request from an invalid host "

  • @rodrigocorvalan602
    @rodrigocorvalan602 Před rokem

    Thanks you man🔥🔥

  • @shubhagrawal9815
    @shubhagrawal9815 Před rokem

    Thanks so much!

  • @user-if6bg6bk9z
    @user-if6bg6bk9z Před 4 lety +1

    Thanks a lot bro.. you’re brilliant

  • @piyushgoyal6567
    @piyushgoyal6567 Před 2 lety

    I am curious. You showed a toast at the end. We can show that even we don't connect to firebase. How we will verify that it is connected to firebase?

  • @gabrielnoira3848
    @gabrielnoira3848 Před 2 lety +2

    you should do AMSR videos :)

  • @kamalkkvelly1170
    @kamalkkvelly1170 Před 3 lety

    Thanks you very much

  • @urielantoniopedrazavazquez7083

    Thank you so much friend, but do you have the same procedure but using Cloud Firestore?

  • @tuanphammanh7122
    @tuanphammanh7122 Před 3 lety

    Thanks

  • @sunethhewage3119
    @sunethhewage3119 Před 4 lety +1

    Man saved the day!

  • @athanasiosstogiannos9122

    Hello, if i want to use Firebase for two reasons, ex. Log In and Real Time DB, what version i have to chooce ?
    Thanks in advance

  • @krishnasindhukarri8971
    @krishnasindhukarri8971 Před 4 lety +2

    I am not getting Firebase option in my Tools bar.how can I solve this issue?

  • @cinzacaful
    @cinzacaful Před 3 lety

    Don't tell me you are from India and you have this nice USA accent :)

  • @sambamusichd8843
    @sambamusichd8843 Před 3 lety

    thank u

  • @rajmini05
    @rajmini05 Před 4 lety +3

    Sir please upload the whole complete android course.

  • @musafirhy7537
    @musafirhy7537 Před 4 lety +1

    this is same working in android device when we have run program.

  • @rajmini05
    @rajmini05 Před 4 lety +2

    Sir.. if we delete project file from firebase database.. then how to connect our app to the firebase datbase again?.. plz provide the solution.. It's really helpful to me and other also..

  • @jaa70
    @jaa70 Před 4 lety +3

    You must pay for using this database? what is the volume in bytes you can store there ?

    • @3yanlis1bos
      @3yanlis1bos Před 3 lety

      Free until 1 GB. 50000 reads and writes per day. Search for "firebase docs firestore quotas"

  • @prabalsharma4058
    @prabalsharma4058 Před rokem

    can anyone help to tell how to change cloud firestore to real-time data base as no option is on screen to change

  • @pranaynarvariya8342
    @pranaynarvariya8342 Před 4 lety

    thanks bro

  • @malikabdulsamiawan4085

    Thanks...

  • @adiss9436
    @adiss9436 Před 3 lety

    hey bro i could`t solve it that problem that happend in ur android "Connect to Firebase failed"..."please help me

  • @GadgetsTutorials
    @GadgetsTutorials Před 4 lety

    connection failed did'nt resolve for me after clicking again on connect to firebase

  • @FunctionSys1
    @FunctionSys1 Před 4 lety

    thank you

  • @karthickyuvan
    @karthickyuvan Před 3 lety

    Thanks , but How to store images in firebase storage and display that in gridview Android

  • @fuadlina770
    @fuadlina770 Před 4 lety

    thanks...

  • @likitharotta5678
    @likitharotta5678 Před 3 lety

    Existing connected dialog box is not appearing to mee.....wat should I do now ?

  • @SitiFatimah-tf8fd
    @SitiFatimah-tf8fd Před 4 lety +1

    I don't get the deployment target part. When I clicked on the play button, it will say "Error running app: No target device found". What should I do?

    • @Educatree
      @Educatree  Před 4 lety

      follow video currectly...and check gradle version ...use latest version

  • @sanakhan-ob3fm
    @sanakhan-ob3fm Před 4 lety +1

    also make some vidoes on google map

  • @manalbenchrif2961
    @manalbenchrif2961 Před 3 lety

    please any idea how to make a history of your research in browser

  • @ehtashamali821
    @ehtashamali821 Před 5 lety

    When I try to get AUTHENTICATION TOKEN I'm getting error SERVICE_NOT_AVAILABLE ....
    Can anyone help me ???

  • @zamel_studios7476
    @zamel_studios7476 Před 5 lety +7

    oh man thankes you are great i followed is step by step and i still got errors plz plz help me iv been 4 days struggling

    • @Educatree
      @Educatree  Před 5 lety

      Send sms in hangout in to educatreeonline@gmail.com

  • @fizzajawedshaikh9530
    @fizzajawedshaikh9530 Před 4 lety +2

    My application crashes. What to do ?

  • @rawanalfar3660
    @rawanalfar3660 Před 4 lety

    Thanks alot, but they said:
    error:cannot find symbol class frmdemo
    How to solve it, please?

  • @akshaysinghal9051
    @akshaysinghal9051 Před 4 lety

    I am not able to connect to firebase as it is kept on showing request from an invalid user

  • @jothisan
    @jothisan Před 3 lety

    SIr, I am getting error like "File Google-Services.json is missing" Can you please help me? where do I miss?

  • @AHTSkills
    @AHTSkills Před 2 lety

    how we can show only pdf from firedetabase bro please tell

  • @vadakkanchottanikara6587

    I haven't connected my project....
    Because my old projects name already there...
    Pls help

  • @hekmatullah7123
    @hekmatullah7123 Před 4 lety +1

    thanks a lot :)

  • @visheshgupta1036
    @visheshgupta1036 Před 5 lety

    u made it man

  • @HannibalBarca217
    @HannibalBarca217 Před 3 lety

    thanks Fez

  • @panasonic232
    @panasonic232 Před 5 lety +2

    Whoaaa 4:50 saved me! Thanks a lot! ❤️👀

    • @Educatree
      @Educatree  Před 5 lety +1

      I am also suffer there at first time

  • @tekbssync5727
    @tekbssync5727 Před 3 lety

    5:21 nowadays it doesn't contain any true or false , but it contains now< 1234567 something ?? what should i do

  • @manalbenchrif2961
    @manalbenchrif2961 Před 3 lety +1

    thanks

  • @hemantnilim1541
    @hemantnilim1541 Před 3 lety

    If I need your help for marketing my app, how may I contact you ?

  • @Vathananable
    @Vathananable Před 3 lety

    Can I have two databases SQLIite and Firebase?

  • @priyadarshini2831
    @priyadarshini2831 Před 4 lety

    I have gone step by step via the procedure the last step where we type in toast.make text it is displaying error I am getting stuck there ,I have tried changing the name of file from frmddemo to myactivity still it is displaying error?why?

    • @Educatree
      @Educatree  Před 4 lety

      check gradle version...use new gradle version

  • @diraneserges6076
    @diraneserges6076 Před 3 lety

    Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.
    please i have this error. how i do to change it

  • @monfreign
    @monfreign Před 3 lety

    the toast kinda confused me.... doesn't it need some kind of if..else statement to decide if it's connected? pls enlighten me :)

  • @aditinikam6039
    @aditinikam6039 Před 3 lety +1

    I am getting the following error:
    File google-services.json is missing. The Google Services Plugin cannot function without it.

    • @sconosciuto
      @sconosciuto Před 3 lety +1

      You can download it from the firebase site. On the homepage of your project, click on android icon, set it up and follow the instruction. It tells you to download that file.

    • @aditinikam6039
      @aditinikam6039 Před 3 lety

      @@sconosciuto Thanks that helped a lot!!

  • @marufhassan634
    @marufhassan634 Před 5 lety +4

    Anyone wondering what he worte in Toast, this
    Change MainActivity to the java class name in AS.
    Toast.makeText(MainActivity.this, "Firebase Connection Successful", Toast.LENGTH_SHORT).show();

    • @Educatree
      @Educatree  Před 5 lety

      what u mean

    • @piusgabula
      @piusgabula Před 4 lety +1

      the toast is not checking any connection firebase its jhs any other toast

    • @BIlalKhan-te6ii
      @BIlalKhan-te6ii Před 3 lety

      yeah i am also confused when he did that, why he did that doesn't make sense its like if the application works toast will popup off course ..

  • @lakshmikumari8583
    @lakshmikumari8583 Před 3 lety

    I am getting connect to firebase is failed again and again. How to fix it Sir?

  • @mshakthivel1859
    @mshakthivel1859 Před 4 lety +1

    I had Gradle sync failure, even after doing everything. Took these lines from an old project. paste in grade:
    //noinspection GradleCompatible,GradleDependency
    implementation 'com.google.firebase:firebase-core:16.0.1'
    //noinspection GradleDependency
    implementation 'com.google.firebase:firebase-database:16.0.1'
    //noinspection GradleDependency
    implementation 'com.google.firebase:firebase-storage:16.0.1'

  • @MKGOfficial_music
    @MKGOfficial_music Před 4 lety

    it will launch the toast anyway ahahahahhah

  • @technicalhacker6758
    @technicalhacker6758 Před 5 lety

    How to increase count and store into firebase database by clicking a button?

    • @Educatree
      @Educatree  Před 5 lety

      czcams.com/video/r-g2R_COMqo/video.html

  • @deepakkarmaDK
    @deepakkarmaDK Před 3 lety

    i am getting this issue when clicking on connect to firebase
    Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.
    i have choosed API veriosn 21 and language is java
    Android Studio Details As below -
    Android Studio 4.2.1
    Build #AI-202.7660.26.42.7351085, built on May 10, 2021
    Runtime version: 11.0.8+10-b944.6842174 amd64
    VM: OpenJDK 64-Bit Server VM by N/A
    Windows 10 10.0
    GC: G1 Young Generation, G1 Old Generation
    Memory: 1280M
    Cores: 4
    Registry: external.system.auto.import.disabled=true

    • @deepakkarmaDK
      @deepakkarmaDK Před 3 lety

      I got the solution just deleted JCenter() from project build.gradle

  • @kunalshinde6249
    @kunalshinde6249 Před 4 lety +1

    Google-services.json is missing sir?

  • @pushkaragnihotri1609
    @pushkaragnihotri1609 Před 4 lety +1

    how Toast is the proof of sucessful connection to the firebase database?

    • @Educatree
      @Educatree  Před 4 lety

      if any error before toast is not work

  • @knabhishek6961
    @knabhishek6961 Před 5 lety +1

    Bro i am getting 15.0.0 not found error at time of adding database to app

    • @Educatree
      @Educatree  Před 5 lety

      Are you follow correct steps ...descrbd in this video...?

    • @Educatree
      @Educatree  Před 5 lety

      Replace ... Implementation 'com.google.firebase:firebase-database:16.0.5' in your app gradle depndency

    • @knabhishek6961
      @knabhishek6961 Před 5 lety +1

      Thanks bro now it is working

    • @nikshailapp
      @nikshailapp Před 5 lety

      @@knabhishek6961 but firebase is disconnet

    • @nikshailapp
      @nikshailapp Před 5 lety

      Tools > Firebase - check.

  • @shehrozali8306
    @shehrozali8306 Před 5 lety

    Bro i have found problem during sync with database plz provide solution...

  • @zamel_studios7476
    @zamel_studios7476 Před 5 lety +1

    i gonna be crazy

  • @lungambatha2819
    @lungambatha2819 Před 4 lety +2

    Please avoid placing your mic really close to your mouth. I can literally hear your breathing and smacking your tongue. Nevertheless, great video.

    • @Educatree
      @Educatree  Před 4 lety

      thanku for your valuable feedback

  • @latestvogue3036
    @latestvogue3036 Před 3 lety

    Hey wait, is he using Internet Explorer?

  • @strollingspirit9949
    @strollingspirit9949 Před 4 lety

    Toast message is not gettting executed :(

  • @Creativities-with-Zunii

    Clear screen nh seen ho rahe

  • @KS-io5rh
    @KS-io5rh Před 4 lety +1

    Not working my app is crashing..😖

    • @Educatree
      @Educatree  Před 4 lety

      use new version gradle

    • @KS-io5rh
      @KS-io5rh Před 4 lety

      @@Educatree my gradle version is 3.6.2

  • @zauraliyev367a2
    @zauraliyev367a2 Před 4 lety

    Are you kidding? The toast message will be shown no matter what. It will be shown even if the database is not successfully connected. Don't deceive people!

    • @Educatree
      @Educatree  Před 4 lety

      if get any error toast not works