Skip to content

change network client to HttpURLConnection #12

@crised

Description

@crised

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions