Porting C++ lib/app on android

前端 未结 3 962
时光说笑
时光说笑 2021-02-15 17:40

I want to port few C/C++ libraries to Android, how feasible it would be

e.g. OpenSSL can it be ported or suppose an application which depends on OpenSSL, what is the bes

3条回答
  •  无人及你
    2021-02-15 18:23

    This should be very doable now with the release of the Android NDK. From their website:

    The Android NDK is a companion tool to the Android SDK that lets Android application developers build performance-critical portions of their apps in native code...

    The NDK provides:

    • A set of tools and build files used to generate native code libraries from C and C++ sources
    • A way to embed the corresponding native libraries into application package files (.apks) that can be deployed on Android devices
    • A set of native system headers and libraries that will be supported in all future versions of the Android platform, starting from Android 1.5
    • Documentation, samples, and tutorials

提交回复
热议问题