Communication with a remote server on Android

As part of the college mini-project, I am developing a micro-blogging platform for Android. I plan to use the Django framework in python to handle communication between Android and the remote server to make the database APIs independent. I have heard how best to use HTTP methods for communication. What is the best website / book to learn using HTTP methods for Android? I

+3
source share
2 answers

You can use standard Java HTTP operations. Check out this SO post: How to send an HTTP request in java?

There is nothing special about Android in this regard. Although make sure you include permission android.permissions.INTERNETin the manifest file, otherwise it will fail completely.

+3
source

Check out this article by Android developers to understand the difference between Apache HTTP and HTTPUrlConnection.

Android Developer Article

0
source

Source: https://habr.com/ru/post/1743105/


All Articles