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
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?
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)?
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
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 [90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)[39m [90m at Function.Module._load (internal/modules/cjs/loader.js:725:27)[39m [90m at Module.require (internal/modules/cjs/loader.js:952:19)[39m [90m at require (internal/modules/cjs/helpers.js:88:18)[39m at Object. (E:\server\server.js:1:22) [90m at Module._compile (internal/modules/cjs/loader.js:1063:30)[39m [90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)[39m [90m at Module.load (internal/modules/cjs/loader.js:928:32)[39m [90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)[39m [90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)[39m { code: [32m'MODULE_NOT_FOUND'[39m, requireStack: [ [32m'E:\\server\\server.js'[39m ] please help me
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
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
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 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.
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
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.
Great one, even 3 year after this is one of the best tutorial on sockets. ❤
You have no idea how much you helped me, big thanks to you!
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
Brilliant stuff. Quick question, how do I subscribe to a channel/topic after I establish a connection to the websocket?
Thank for this useful and clear tutorial! How could I send a message between the device?
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
Brother ... it's fantastic
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?
Thanks, I will consider your feedback for my next videos
@@heyletscode implement crypto in your chat, good job!! audio and crypto!
You're Dope dude seriously
perfect boy!! please implement any CRYPTOGRAPHY and put audio in this CHAT...
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)?
good and time saving toturial, easy to learn
Great. Please continue the playlist!
Great work . Could you please tell us how to make logo maker app. ?
Please reply
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
Hey could you make a video for running node.js script directly in a background thread in android project (in Async Task or something...).
Thank you so much.
I recommend you highly
It gives me some hints
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
[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:725:27)[39m
[90m at Module.require (internal/modules/cjs/loader.js:952:19)[39m
[90m at require (internal/modules/cjs/helpers.js:88:18)[39m
at Object. (E:\server\server.js:1:22)
[90m at Module._compile (internal/modules/cjs/loader.js:1063:30)[39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)[39m
[90m at Module.load (internal/modules/cjs/loader.js:928:32)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)[39m
[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)[39m {
code: [32m'MODULE_NOT_FOUND'[39m,
requireStack: [ [32m'E:\\server\\server.js'[39m ]
please help me
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
My heroo😍
Keep uploading stuff like this
Thanks
Is there any way for the chat to work without opening nodejs, that is to say that the chat is idenpedinete like whatsaap?
Will this run in background (when app is closed) using websockets ? If not, can you please suggest how can we achieve it?
Have you find solution to run in background to receive message even after app is closed?
Omg, great job, U R amazin
How to send individual user please also make these video because message is send to everyone
how to implement chat on two devices other than rooms
My app Crashes when I click on the enter room , any solution?
I rewrite this app in kotlin and worked as expected but it fucked me up for a day 😂
can you please share the code...I know Kotlin only.
@@HimanshuKumar-wt7yx my comment keep disappearing
@@HimanshuKumar-wt7yx I've just pushed it u can go to my github : adwardwolf
@@HimanshuKumar-wt7yx i can share kotlin code
@@nurkhanm8736 can you please share, i am not able to connect to the server
Hello I completed this app but I am not able to connect to the server please help me.. 😭😭
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
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.
same problem here. Any idea how to solve?
@@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.
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
Expected HTTP 101 response but was '200 OK why?
Yes, I am getting same
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.