I am trying to make HTTP get & post connections.
Which package is recommended for that?
Is it java.net or org.apache.http?
Does java.net comes included in the sdk?
Any reference/code to connection makin would be appreciable as well.
I am trying to make HTTP get & post connections. Which package is recommended
Share
Either
URL/HttpUrlConnectionor Apache HttpClient are fine choices, and both are part of the Android SDK. There are plenty of examples of using each, such as those linked to in the previous sentence. So long as you add theINTERNETpermission to your application, you can largely ignore the fact that you are on Android and just use these APIs as if you were on desktop Java.