OpenVPN and Android NDK

I have a custom C (cross platform) application. Variant of OpenVPN. I want to do this for an Android version with NDK.

It compiles under Linux. Does this mean that I can easily compile it for Andoird too with NDK? And if so, how can I communicate with my library through Java code (regular Android SDK)?

In fact, I'm not yet enough to make the real part of the implementation. But I would like to know what I can expect in advance.

So, if you have experience with NDK and I have any tips / pointers, then you really will help me a lot. For example, I have to follow up with NDK. Compilation options, etc.

Thanks for any help.

+4
source share
1 answer

The Openvpn Android app is open source. See https://github.com/schwabe/ics-openvpn/ Since you wrote that you use the OpenVPN option looking at the Android.mk files of my project can help you.

+2
source

All Articles