Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Communicating with remote server in Android

As part of the college mini-project, I am developing a micro-blogging platform for Android. I am planning to use Django framework in python to handle the communication between Android and remote server so as to make database API independent. I heard its best practice to use HTTP methods for the communication. Which is the best site/book to learn using HTTP methods for Android? I

like image 263
Primal Pappachan Avatar asked Jul 14 '26 04:07

Primal Pappachan


1 Answers

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

There isn't anything particular about Android in this respect. Although make sure you include the android.permissions.INTERNET permission in your manifest file otherwise it will totally fail.

like image 160
Chris Thompson Avatar answered Jul 17 '26 21:07

Chris Thompson