I would like to get internet connection with this project. I tried compile curl with ndk, but gave errors. I can get simple http requests with this library: https://github.com/mattiasgustavsson/libs/blob/main/http.h but I want to have https.
Now I try to to use jni to make java calls to urlconnection, my code so far:
I have not needed to do this, so perhaps someone else will hop in with suggestions. I recommend trying out the discord server and seeing if anyone can help out there.
Hi,
I would like to get internet connection with this project. I tried compile curl with ndk, but gave errors. I can get simple http requests with this library: https://github.com/mattiasgustavsson/libs/blob/main/http.h but I want to have https.
Now I try to to use jni to make java calls to urlconnection, my code so far:
But this code is really not complete and gives errors (I have no idea why).
If anyone tried something similar like this, what did you use? Also where could I learn jni commands? If i get success in this I promise to share.
It can be amazing to get network apps like chat can be under 50kb.
Sorry for bad english