Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASIHTTPRequest equivalent for Android or any HTTP request manager/wrapper?

I'm developing an app that will make extensive HTTP requests.

I know for a fact that iOS has a third-party library called ASIHTTPRequest to manage and organize all these requests, making it much easier and less tedious.

Is there a similar library available for Android?

like image 286
MR Mido Avatar asked Apr 06 '11 02:04

MR Mido


People also ask

What is HTTP request and response in Android?

HTTP is used by almost all Android apps to request data, load content, and send changes to backend servers. If you can see and edit these requests & responses then you can understand, debug, and change how any app works, but Android makes this hard to do. By default, almost all apps will use HTTPS but won't trust user-installed certificates.

How do I use the app wrapping tool?

The tool is a Windows command-line application that runs in PowerShell and creates a wrapper around your Android app. After the app is wrapped, you can change the app's functionality by configuring mobile application management policies in Intune. Before running the tool, review Security considerations for running the App Wrapping Tool.

Why do I need to wrap my Android app?

This will ensure that once your app gets to end user devices, it can be launched properly by Android standards. (Optional) Sometimes an app may hit the Dalvik Executable (DEX) size limit due to the Intune MAM SDK classes that are added during wrapping.

Can wrapped apps be signed after wrapping?

Wrapped apps can be signed after wrapping using your existing signing tools (any signing information in the app before wrapping is discarded). If possible, the signing information that was already used during the build process should be used during wrapping.


1 Answers

According to this talk, if you're targeting pre-Gingerbread versions (<2.3) you should stick to Apache Http Client library. If however you're targeting Gingerbread or later, you will be safer to use the java.net.URLConneciton class as recommended by the Google engineer.

like image 98
mobilekid Avatar answered Oct 21 '22 17:10

mobilekid