Android NDK and rendering to live wallpapers

前端 未结 1 1144
名媛妹妹
名媛妹妹 2021-01-13 03:11

I\'m just looking around for starting learning NDK, with one particular project in mind:

I want to continually render a changing bitmap from NDK side to be able to s

相关标签:
1条回答
  • 2021-01-13 03:34

    As far as I know, the other projects that do rendering with the NDK and use jnigraphics prior to 2.2 actually include that library in the project and load it as a 3-rd party library.

    See the description of PREBUILT_SHARED_LIBRARY in android-ndk-r5b/docs/ANDROID-MK.html for more information on how to do that.

    You can find jnigraphics in:

    android-ndk-r5b/platforms/android-8/arch-arm/usr/lib/libjnigraphics.so
    

    Of course, I don't know if it's actually permissible to redistribute part of the NDK (maybe someone else can weigh in on this), but apparently the only holdup with using jnigraphics prior to Android 2.2 is simply the fact that it's not present in earlier releases.

    Hope that helps.

    0 讨论(0)
提交回复
热议问题