Android Chat App in Python

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 84

  • @scp-burgerking658
    @scp-burgerking658 3 года назад +5

    Awesome ! I love how you actually used the sponsors service haha. Im also super grateful for kiwi tutorials in general. I pray for the algorithm to bless you

  • @AbubakarMulla23
    @AbubakarMulla23 3 года назад +8

    I was waiting for a video to do android project with python.... And video came.... Thanks bro😊

  • @7omanji
    @7omanji 3 года назад +4

    I really love your videos, everybody could build an amazing python proyect with 2-3 of your videos.
    Keep it up!

  • @Jelvix
    @Jelvix 3 года назад +8

    Thanks! The efforts to limit the spread of COVID-19 worldwide have forced many people to work from home, which has naturally created a surge in interest in communication and collaboration tools.

  • @Maik.iptoux
    @Maik.iptoux Год назад

    You never check if a nickname is already taken. Why not using an set here? 13:34

  • @smarts7967
    @smarts7967 3 месяца назад

    Nice! very tidy and well explained

  • @axiomV
    @axiomV 2 года назад +2

    I don't know if anyone encountered this, but on the chat_text (TextInput) it shows nothing
    No message text and not the
    "nickname" joined the chat message.

    • @axiomV
      @axiomV 2 года назад +1

      Update for anyone who will see the tutorial.
      Yong Yp' s comment is actually very helpful.For some reason it works with Kivy 2.0.0 but if you try it now (if you have installed the latest python version ), it will not work and if you try to install an older version of Kivy you will get an error.
      That's because Kivy 2.0.0 works with Python version 3,6 to 3,9.
      I tried it with Python 3.9.4 and it works,there are no mistakes the code or anything, and pay attention to indentations.

    • @olasiyandaniel7168
      @olasiyandaniel7168 Год назад

      @@axiomV like you are the man, thanks

  • @codethis3162
    @codethis3162 3 года назад +1

    @ Florian Dedov bro when i execute the code its giving me this error " if current_property[:3] == 'on_':
    TypeError: 'NoneType' object is not subscriptable
    " any solutions

    • @codethis3162
      @codethis3162 3 года назад

      or throw me the source code men

  • @thelazydeveloper
    @thelazydeveloper 3 года назад +2

    it would be nic ei f you can show how to create an android app for deep learning input an image and get an output

  • @python4692
    @python4692 3 года назад +3

    KivyMD is more better to use for GUI and more fresh. Any way thx for your video. Hope will see KivyMD in your future videos

  • @alikhosravi3090
    @alikhosravi3090 Год назад

    I did what you did, but in my case, the app works very well on my PC. However, it doesn't connect to my server from my mobile app. I would appreciate any help.

  • @tocadiscox3
    @tocadiscox3 2 года назад +1

    Hey there! Firstly I want to say that I really enjoy watching your videos. They help me ton to realise my projects. Recently Ive been programming an Android app. I followed your way of setting up a server to handle the chat which Ive implemented in the app. I just came across one major problem. After a while the ubuntu server stops listening and does not react to any new messages or connections. Feels like it goes to sleep in a way. Is there a way to prevent this from happening? Huge thanks in advance! :)

  • @Supreme-pw6ht
    @Supreme-pw6ht 2 года назад +1

    Hello, I rebuilt this with Beeware/Toga instead of Kivy as my PC is to old to run the version of GPL that Kivy uses. It connects to the server, shows username has joined the chat, but when i send a message it crashes. Is there anyway i can send you my code and maybe you can tell me what the error is? @NeuralNine

  • @MrWizardChannel
    @MrWizardChannel 3 года назад +1

    Great video, thanks a lot. Where can I learn more about the designing part (.kv file)? Can you please give the link for that

  • @gamingandcodingstuff751
    @gamingandcodingstuff751 2 года назад

    the client one mine is saying finished with code 0 and does not do anything

  • @fodetraore6666
    @fodetraore6666 2 года назад

    Does not work anymore.I get an operation was atempted on something that is not a soccet

  • @naren06938
    @naren06938 Год назад

    Ur Videos Awesome...if u explain same with AWS EC2 Linux server/Azure Linux VM, i can easily host server & practice this....and can multiple clients chat at a time from more Android phones same time if we use load balancer for server?

  • @abrarmasumabir3809
    @abrarmasumabir3809 3 года назад

    why I'm getting this error in my wsl "Couldn't connect to X server"....what to do...

  • @marcingil7425
    @marcingil7425 3 года назад

    how did you achieve live screen of phone on the desktop?

  • @zayanarshad88
    @zayanarshad88 Год назад

    i got a build dependencies error and i dont know what it means
    how fix

  • @eldiablo9541
    @eldiablo9541 2 года назад

    I don't know if that is something you would normally do but could you also make a tutorial like that in Kotlin?

  • @megneire1870
    @megneire1870 3 года назад

    When I'm compiling the app, it says "# Aidl not found, please install it." even though I have it already.
    Can anybody help?

  • @yongyp6928
    @yongyp6928 2 года назад +1

    Hi. Thank you for the great video. I did follow all the code, but I keep getting this error.
    TypeError: Cannot change graphics instruction outside the main Kivy thread
    I've tried to check the code many times and searched on internet, but still couldn't figure it out. Appreciate if you could please give me a clue. Thank you.

    • @yongyp6928
      @yongyp6928 2 года назад +2

      oh! For those who are facing the same problem, it is because of the kivy version. When I used "pip install kivy", the latest version of kivy (2.1.0) was downloaded. I tried to download kivy 1.9, but a really long error came out, so I gave it a try by using Kivy 2.0.0. And it WORKS!

    • @agione7560
      @agione7560 2 года назад

      @@yongyp6928 Thanks!

    • @sohumdamani7686
      @sohumdamani7686 2 года назад +1

      @@yongyp6928 Not working for me. Any other solution?

    • @olasiyandaniel7168
      @olasiyandaniel7168 Год назад

      @@sohumdamani7686 have you found one yet ?

  • @franciswalk3635
    @franciswalk3635 2 года назад

    Hey I tried to do this app but its throwing and error which say you cannot change kivy graphics Instructions outside the main kivy thread

    • @mr.smallshop9787
      @mr.smallshop9787 6 месяцев назад

      I put stop-Ture after changing self.chat_text in the receive function. Also used @mainthread decorator for def receive. Also, I created another thread object each time a message is sent. That worked for me. Godspeed.

  • @ralphanthony5198
    @ralphanthony5198 Год назад

    Great video! Awesome work! How can I implement this on my website for my clients?

  • @joaoalmirante4268
    @joaoalmirante4268 Год назад

    Hello. I follow everything but it's hard to understand why not running. I got the error message:
    "Cannot change graphics instruction outside the main Kivy thread"
    and ...
    "...main.py", line 27, in send_message
    client.send(f"{self.nickname_text.text}: {self.message_text.text}".encode(self.FORMAT))
    OSError: [WinError 10038] An operation was attempted on something that is not a socket"
    ---
    Anyone know how to fix it ?

  • @Invnty
    @Invnty 3 года назад

    thanks alot, but im wait the way of how i can send files by python using tcp server.

    • @sc0urge561
      @sc0urge561 3 года назад

      use the sockets module

  • @한진영-o5q
    @한진영-o5q 2 года назад

    Never seen someone actually use the sponsor’s service. lol.

  • @sobhandeepgope
    @sobhandeepgope 3 года назад +1

    can any one tell me how to clear the message_text when we hit thw send button just like other chat apps? please help

    • @NeuralNine
      @NeuralNine  3 года назад +1

      you set the text attribute to "". That's it

    • @sobhandeepgope
      @sobhandeepgope 3 года назад +1

      @@NeuralNine thanks bro...

    • @sobhandeepgope
      @sobhandeepgope 3 года назад +1

      @@NeuralNine one more small help please.... how to make the chat history scrollable?

  • @gamingandcodingstuff751
    @gamingandcodingstuff751 2 года назад

    you should also start sharing the code

  • @harsharya828
    @harsharya828 2 года назад

    hi bro your work is amazing but i got some error. can you please give source code or your kivy version.

  • @Mikeystaff
    @Mikeystaff Год назад

    I'm missing something, Kivy keeps giving me errors.

  • @yahav1234567891
    @yahav1234567891 2 года назад

    Hi, can i please get the code? for everything you wrote if it is possible

    • @ElmoPlayss
      @ElmoPlayss 2 года назад

      Bro.. the entire point of a tutorial is to watch and learn... not copy, paste, close....

  • @necokeretsu4363
    @necokeretsu4363 2 года назад

    please make a client create own group with (python, kivy )

  • @randomparson0
    @randomparson0 3 года назад

    Tysm . I really need this:3

  • @nagarjunsugavaneswaran
    @nagarjunsugavaneswaran 3 года назад

    Can anyone help me to understand difference between return and print in programming

    • @rafasantos23
      @rafasantos23 3 года назад +1

      In Python, you'll use "return" inside of a function(def) ONLY to return some value or whatever, "print" you can use in anywhere and it shows a value on the screen

    • @franciswalk3635
      @franciswalk3635 2 года назад +2

      Return is what you want a function to store. print is what you want the function to display when called.

    • @nagarjunsugavaneswaran
      @nagarjunsugavaneswaran 2 года назад

      @@franciswalk3635 Understood bro!

  • @Lennoxo
    @Lennoxo 3 года назад

    Can I also make these app for IOS?

  • @codewithsmoil4098
    @codewithsmoil4098 2 года назад

    Lol this video is full knowledge for python guys :)

  • @advaitshiralkar9190
    @advaitshiralkar9190 3 года назад

    I am unable to install kivy

  • @cyberchuck4089
    @cyberchuck4089 3 года назад

    can we chat in real time

  • @aditya_asundi
    @aditya_asundi 3 года назад +2

    LIT 🔥🔥🔥

  • @0verflowSec
    @0verflowSec 3 года назад

    THANK YOU SO MUCHHHH😍

  • @JS-kc1tm
    @JS-kc1tm 3 года назад

    I don't know shite about these things, but how secure is this?

    • @atrumluminarium
      @atrumluminarium 3 года назад

      I'm guessing not very secure. I'm not very knowledgeable about security either but I think for a private app, setting up an sshuttle or self-hosted vpn to the server rather than opening sockets to the public and putting some sort of manual encryption on the messages would be better. For a public access app, one might need to look onto more sophisticated security techniques

  • @thedevnoteyt
    @thedevnoteyt 3 года назад +1

    You're awesome 🔥

  • @franz1645
    @franz1645 3 года назад

    When i want to start the server, i become an error.
    The Traceback is = File "server.py", line 23
    message = client.recv(1024)
    ^
    TabError: inconsistent use of tabs and spaces in indentation

  • @varungupta974
    @varungupta974 3 года назад

    please give the source code

  • @alien_X1
    @alien_X1 3 года назад

    we can make undetectable backdoor by this right ???

  • @BO-nn9up
    @BO-nn9up 3 года назад +1

    thanx so much!!

  • @hwzzegwggs8029
    @hwzzegwggs8029 3 года назад

    Thank you so much for this Video I love u

  • @zaidbaarab552
    @zaidbaarab552 Год назад

    you don't push code to github !!!!! unlike

  • @ayushranjan1326
    @ayushranjan1326 2 года назад +1

    Big fan Sir

  • @2ka10rayhannaufalarrafi8
    @2ka10rayhannaufalarrafi8 3 года назад

    thank you so much

  • @abrarmasumabir3809
    @abrarmasumabir3809 3 года назад +1

    awwwwwwwwwwwweeeeeeeeeeeeeeeeeeeeessssssssssssssssssssssssssssssooooooooooooooooooommmmmmmmmmmmmmmmmmmmmmmeeeeeeeeeeee

  • @username_taken_se_pareshan_boi
    @username_taken_se_pareshan_boi 3 года назад

    I am your 500th Like

  • @charbelnammour8226
    @charbelnammour8226 3 года назад +1

    First comment!

  • @mjvithesh9827
    @mjvithesh9827 3 года назад +1

    Nice

  • @angryorange1706
    @angryorange1706 2 года назад

    I'm trying to run this app locally and keep getting this 'client.connect((self.ip_text.text, 5555))
    ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it'. Anyone know what this means? My firewall shouldn't be a problem

    • @axiomV
      @axiomV 2 года назад

      If you're running it on Pycharm with PORT 5555 go to the terminal on the bottom side of the screen and type :
      netstat -aon | findstr :5555
      If it returns something with 5555 it will have a process ID (PID) with a number.
      Then type :
      Taskill /PID number /F
      And try running the server.py again.
      Also try to check on the top right corner for any errors, especially indentations.

  • @JarppaGuru
    @JarppaGuru 2 года назад

    yes thats how easy it is. grap phonenumber and you have id. read contact numbers and you have someone to wrtie message. thats easy it is. makewhatsapp and add ads or sell numbers to make money lol.when its success sell to facebook