how to use c/cpp library/functions in android

后端 未结 2 1487
孤独总比滥情好
孤独总比滥情好 2020-12-28 16:36

I want to use c/cpp functions/library in an Android application using jni. any suggestion / links / tutorials /example ?

my problem with pointer/structure return

相关标签:
2条回答
  • 2020-12-28 16:52

    You need to use Android NDK (Native Development Kit).

    The NDK package also contains some demos you can compile and run.

    0 讨论(0)
  • 2020-12-28 17:04

    The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications. What is the NDK

    Following are some link which help you to work in Android NDK

    • Using NDK to Call C code from Android Apps
    • Android Beginners: NDK Setup Step by Step
    • Writing applications using the Android NDK
    0 讨论(0)
提交回复
热议问题