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?
You can use Android Async HTTP Client
Gradle
static HTTP client
Client code