I want to send a binary file in Android using UrlConnection class. I've found the code snippets such as here Sending files using POST with HttpURLConnection but I wonder, hasn't anything changed since then to make it easier? Because code there looks pretty complicated for such a simple thing which many developers need.
And I don't want to use any third-party libraries.