Shri
Shri

Reputation: 1243

Executing HTTP requests from native code

I have to make HTTP calls from native code (GET and POST requests). Can some one shed some light on this ? I'm not looking for generic JNI solution, I'm looking more like reference implementation particularly for HTTP

Upvotes: 4

Views: 3910

Answers (2)

bllakjakk
bllakjakk

Reputation: 5065

I had similar requirements for building an engine on android. I successfully tried and ported both libcurl and libsoup.

I would say libcurl is far more stable and better documented.

Upvotes: 2

Blackbelt
Blackbelt

Reputation: 157467

I had successfully run libcurl to Android 8. You can surf the net and search for resource:

for instance

Hope it helps.

Upvotes: 4

Related Questions