Im trying to make a single UDP app in android studio. Whenever I run the app and press the button the app crashes.
Im using Datagram object to make it. My code seems to be alright but I don´t know where the mistake is. ITS DRIVING ME CRAZY please, help me.
This is the main activity page ...