How To Create A Chat App In Android And NodeJS Using WebSockets | Part 3

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 48

  • @unaisulhadi9102
    @unaisulhadi9102 3 роки тому +8

    Great one, even 3 year after this is one of the best tutorial on sockets. ❤

  • @Alaealae411
    @Alaealae411 Рік тому +3

    You have no idea how much you helped me, big thanks to you!

  • @playconsole2422
    @playconsole2422 4 роки тому +7

    Can you continue this series, or in a new series show how to do this with a database involved like mysql or mongodb, maybe like a whatsapp like app built on websockets/node.js - android - mysql/mongodb

  • @kelvinoff
    @kelvinoff 4 роки тому +1

    Brilliant stuff. Quick question, how do I subscribe to a channel/topic after I establish a connection to the websocket?

  • @mikezhao8397
    @mikezhao8397 4 роки тому +2

    Thank for this useful and clear tutorial! How could I send a message between the device?

  • @ManishGupta-cn7ei
    @ManishGupta-cn7ei 4 роки тому +3

    Tutorial is great but it would be nice to have a full chat with a database that stores chat lists and messages - using mysql or mongodb

  • @Traidev
    @Traidev 11 місяців тому

    Brother ... it's fantastic

  • @yourbuddy4676
    @yourbuddy4676 4 роки тому +2

    Your channel is gonna grow. You're teaching the right stuff, which are usually hard to find anywhere else. However, make sure you are doing whatever you are teaching with best practices. For example, do network and long running task in background thread. Use Kotlin, RxJava, Dagger and Testing. No one has ever done it.
    Where do you work, by the way?

    • @heyletscode
      @heyletscode  4 роки тому +2

      Thanks, I will consider your feedback for my next videos

    • @WebCreatorBrk
      @WebCreatorBrk 4 роки тому

      @@heyletscode implement crypto in your chat, good job!! audio and crypto!

  • @bringbestoutofbest349
    @bringbestoutofbest349 2 роки тому +2

    You're Dope dude seriously

  • @WebCreatorBrk
    @WebCreatorBrk 4 роки тому +4

    perfect boy!! please implement any CRYPTOGRAPHY and put audio in this CHAT...

  • @dkdhrumil3235
    @dkdhrumil3235 3 роки тому

    your tutorial awesome bro.. I've a question, what should we do if server.js is hosted in the cloud or other hosting sites, and how to connect client(android)?

  • @Kgnsbdj
    @Kgnsbdj 3 роки тому

    good and time saving toturial, easy to learn

  • @buzzminkyunghoon3856
    @buzzminkyunghoon3856 4 роки тому

    Great. Please continue the playlist!

  • @sandip9416
    @sandip9416 4 роки тому

    Great work . Could you please tell us how to make logo maker app. ?
    Please reply

  • @mayureshpachangane8626
    @mayureshpachangane8626 4 роки тому

    Great Tutorial bruhhh keep it up....I just wanted to save the chat history as well so when username is the same we should see the chat done so far???? Can u help

  • @harshith_i_am
    @harshith_i_am 4 роки тому

    Hey could you make a video for running node.js script directly in a background thread in android project (in Async Task or something...).

  • @benmax2463
    @benmax2463 4 роки тому

    Thank you so much.
    I recommend you highly
    It gives me some hints

    • @bhaskardhanavath6650
      @bhaskardhanavath6650 4 роки тому

      Hi Ben Max,I am getting the following error:
      internal/modules/cjs/loader.js:883
      throw err;
      ^
      Error: Cannot find module 'websocket'
      Require stack:
      - E:\server\server.js
       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
       at Function.Module._load (internal/modules/cjs/loader.js:725:27)
       at Module.require (internal/modules/cjs/loader.js:952:19)
       at require (internal/modules/cjs/helpers.js:88:18)
      at Object. (E:\server\server.js:1:22)
       at Module._compile (internal/modules/cjs/loader.js:1063:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
       at Module.load (internal/modules/cjs/loader.js:928:32)
       at Function.Module._load (internal/modules/cjs/loader.js:769:14)
       at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [ 'E:\\server\\server.js' ]
      please help me

  • @dhakshnamoorthy8673
    @dhakshnamoorthy8673 3 роки тому

    This is nice but how to create a simple number guessing game or hangman game for multiplayer or two players in app development java using android studio
    What is the concept behind that pls explain bro

  • @muhamadilhamabdulmujib9265
    @muhamadilhamabdulmujib9265 3 роки тому

    My heroo😍

  • @teckgeek
    @teckgeek 4 роки тому

    Keep uploading stuff like this

  • @hamzaalnajer5195
    @hamzaalnajer5195 3 роки тому

    Thanks

  • @rica4261
    @rica4261 3 роки тому

    Is there any way for the chat to work without opening nodejs, that is to say that the chat is idenpedinete like whatsaap?

  • @evolvingnomad4868
    @evolvingnomad4868 2 роки тому

    Will this run in background (when app is closed) using websockets ? If not, can you please suggest how can we achieve it?

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

      Have you find solution to run in background to receive message even after app is closed?

  • @edmirsobrinho6472
    @edmirsobrinho6472 4 роки тому

    Omg, great job, U R amazin

  • @mastifun4917
    @mastifun4917 2 роки тому

    How to send individual user please also make these video because message is send to everyone

  • @conradwawire
    @conradwawire 4 роки тому

    how to implement chat on two devices other than rooms

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

    My app Crashes when I click on the enter room , any solution?

  • @pitter6282
    @pitter6282 3 роки тому +1

    I rewrite this app in kotlin and worked as expected but it fucked me up for a day 😂

    • @HimanshuKumar-wt7yx
      @HimanshuKumar-wt7yx 3 роки тому

      can you please share the code...I know Kotlin only.

    • @pitter6282
      @pitter6282 3 роки тому

      @@HimanshuKumar-wt7yx my comment keep disappearing

    • @pitter6282
      @pitter6282 3 роки тому

      @@HimanshuKumar-wt7yx I've just pushed it u can go to my github : adwardwolf

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

      @@HimanshuKumar-wt7yx i can share kotlin code

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

      @@nurkhanm8736 can you please share, i am not able to connect to the server

  • @priyankakhatate8931
    @priyankakhatate8931 3 роки тому +1

    Hello I completed this app but I am not able to connect to the server please help me.. 😭😭

    • @ayrtonbalonga9405
      @ayrtonbalonga9405 3 роки тому

      i am having the same issues right now. Have you figured it out??? If yes can you help me with it
      i did everything that he does, and i am not able to connect to the server

  • @anvi1534
    @anvi1534 4 роки тому

    1.When I try to send large image files, the connection is closed automatically, how to fix that?
    2. I can't connect to the server when I'm not using the same ISP, i.e. if I want to send msgs from other device, I have to connect that device with the same wifi with which laptop is connected.

    • @theetcher4722
      @theetcher4722 3 роки тому

      same problem here. Any idea how to solve?

    • @SatyamKumar-ts2jh
      @SatyamKumar-ts2jh 3 роки тому

      @@theetcher4722 A little late to it, but you can reduce the image quality for it to work better.
      Since he is transferring the images using Base64 encoding and storing the entire thing in his database, it is bound to crash. Most companies store images in a storage unit, and have a link of that image inside the database. It keeps the messages light weight too.

    • @SatyamKumar-ts2jh
      @SatyamKumar-ts2jh 3 роки тому +1

      Ooh, and for second problem, you will need to allow access of files over internet to make sure your mobile device can listen to the server running on your laptop. Just google search :"How can i access my localhost server in my mobile device". A stackoverflow link will help you

  • @bitsphereinfosystem3472
    @bitsphereinfosystem3472 3 роки тому

    Expected HTTP 101 response but was '200 OK why?

  • @theetcher4722
    @theetcher4722 3 роки тому

    1 When I try to send large image files, the connection is closed automatically, how to fix that?
    2. I can't connect to the server when I'm not using the same ISP, i.e. if I want to send msgs from other device, I have to connect that device with the same wifi with which laptop is connected.