crised / server_android

1 stars 0 forks source link

change network client to HttpURLConnection #12

Open crised opened 11 years ago

crised commented 11 years ago

Still there are org.apache.http libraries, in RawResponse.

Maybe we should use HttpURLConnection instead of Apache Http.

Asked the book author if it's a good idea, maybe it's not, to replace with HttpUrlConnection: https://github.com/bmeike/ProgrammingAndroid2Examples/tree/master/FinchFramework/src/com/finchframework/finch/rest

According to this: For Gingerbread and better, HttpURLConnection is the best choice. Its simple API and small size makes it great fit for Android.

http://android-developers.blogspot.com/2011/09/androids-http-clients.html

It seems that the best is Google Volley, but it might be to imature to use it: https://developers.google.com/live/shows/474338138

Also, We would like to see Fragments inside the activity and Service for the RESTFull procesing.

arussel commented 11 years ago

for #2

arussel commented 11 years ago

done