Main navigation

Reader Interactions

Comments

          • Thanks buddy but how was your user.json created.
            I know that is different from the google-services.json you put in your app folder directory
            Thank you

          • disculpe pero el la clase register no funciona, agregue el su archivo json y puedo ingresar con los usuarios, pero no logro registrar uno nuevo, ayuda por favor

      • please help, I created a new FireDatabase project as you show up there, then I downloaded the ‘google-services.json’ and added it as told, but when I tried to change the ‘http://’ links inside the code with the new Link of my own, the app runs, but it doesn’t register or log or anything.. is there any link elsewhere i should change rather than inside (Chat/Login/Register/Users) ??

  1. Pls buddy set the perfect link of code both download link is different also both are different from this tutorial.
    also same thing Register.java is not found.

      • thnx buddy and i also need your help for create a json url in firebase account .
        i want to create my account. i create my account but i don’t know how to create json service in database.

        • Hi Bro. It will be automatically available for download once you login to console and create a new project. Try to follow above steps regarding firebase login. We have tried to cover it through steps and images.

    • Hi Paul. I still remember you commented at one of our post when we started blogging and now you are still here. Very happy to see you :).
      You can do either way. You can directly use MainActivity as Login. Just make sure it is launcher activity which it is by default so no problem.

  2. hello sir. i want to ask if it’s possible to limit the chat to customer to admin?

    i mean, i want to make 2 permission for my client, first is admin or seller, second is for client, seller can talk to everyone in one chat like your app, but client can just talk to admins and sellers.

    can u please gimme some idea about how we can limit this app to these methods?

  3. Wanna know the users.json was created like said, which i know is different from the google.services.json
    Big ups guys

  4. Hello, sir. I have followed the tutorial from you, and I have succeeded. However, when the list and sign in can not run. What’s the solution ? thank you

  5. Hello Guys ,

    I am facing an issue , when I add a child node it asks for name and value
    For name I entered users , for value what should I enter ..in database tree.

    from your screen shots I can see you have added 2 child nodes one is users and messaged , but what should be the values forthem because in case I leave them blank these child nodes are not added .

    During Sign up . Also I am getting following error :
    org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

    the generated url with does not end with json . It simply ends with users

    I doubt there is some issue regarding th url and request format . My url is correct

    Can somebody please help me on this .

    thanks in advance .

  6. Am getting error while building firebase, The error is like

    “unable to resolve:com.google.firebase:firebase-client-android:2.5.2+” how to resolve it?

  7. hello, I m ahana .here you show about chat application can I make chat application using SQLite cause I want to make android and web aplication so for php we use php but for android i listen that sqlite use so what i do please help me and reply as soon as possibl

  8. please help, after I created my own FirebaseDatabase as told up there, and downloaded the ‘google-services.json’ to it’s place inside app, then i changed the links inside (Chat/Login/Register/Users) classes to my own, the App runs, but the register and login does nothing, is there any other place i should change the Link at ?

  9. amigo me sale este error una ayuda
    Error:Execution failed for task ‘:app:transformResourcesWithMergeJavaResForDebug’.
    > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE
    File1: C:\Users\Carlos\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.2.2\d20be6a5ddd6f8cfd36ebf6dea329873a1c41f1b\jackson-core-2.2.2.jar
    File2: C:\Users\Carlos\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.2.2\3c8f6018eaa72d43b261181e801e6f8676c16ef6\jackson-databind-2.2.2.jar
    File3: C:\Users\Carlos\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.2.2\285cb9c666f0f0f3dd8a1be04e1f457eb7b15113\jackson-annotations-2.2.2.jar

  10. ey man i have change this url path..but i dont have a users.json…what happen there,and when i click on register nothing shows me..and nothing in database???

  11. does we need to create the users and message tables manually in the firebase console?
    please help me out with this.i am getting frustarted with the errors. i am getting this error “com.android.volley.AuthFailureError”

  12. Hello sir.please tell whether group chat feature is present in this app.If not so please upload a tutorial on group chat android studio.

  13. Sir please tell whether group chat feature is present in the app.If not,so please upload a tutorial on group chat android.

  14. i get error on my json but ur json worked perfectly but you cannot explain how to create json please explain how to create json in firebase ,how you created

  15. hello i have a problem in this project.In firebase database user.json and message.json is not created.How it will created.

  16. can u plz help me in how can we delete one account from the data base and how can we see database in firebase console

  17. nice tutorial but u can change some thing like add the real time data change as like msg seen notation as like whtsapp or any other chat

  18. Hello,I really appreciate your code.It helps me.But there is a big problem in the code that i am not able to understand.You have created a new project then how come the message and user folder here.How do i create it.

  19. Hello Sir, First of all thank you for such a nice tutorial.i want to know if it is possible to get a list of only those chats/ people whom i had messaged. In other words some sort of table with chat history with different people only. As if there are many users online the table will show every single user not the ones i have contacted earlier.

  20. For everyone complaining about the users not being entered, make sure your database rules allow you to make changes

  21. At firebase > Database > Rules > then replace

    {
    “rules”: {
    “.read”: auth : null,
    “.write”: auth : null
    }
    }

    With this:

    {
    “rules”: {
    “.read”: true,
    “.write”: true
    }
    }

Leave a Reply

Advertisment ad adsense adlogger