I've got a form built in my android layout, and have an activity that takes some text from that form and attaches it to a variable.
I also have a PHP form that can handle a POST variable containing the text when it arrives.
Seeing that HttpClient is deprecated (leaving a slew of dead stackOverflow answers in it's wake), what is the newest way to send the POST?
I'm not looking for anything complicated - just "Here's how you connect and send a solitary variable."
UPDATE: I was hoping for an answer that doesn't require me to use any outside classes. Doesn't android have this capability independently?
Here is a small example to connect and send a solitary variable
then you can get these imports
AsyncTask
Btw SO answers are not dead! If so ..may be that's because you only dig the grave yard!