androidandroid-ndkamropencore

ndk-build how to build opencore-amr


I want to use opencore-amr native code in android jni.

but i don't know how to write Android.mk file.

can anyone tell me how?

I want to call the following function in opencore-amr lib:

AMREncodeInit

AMREncode

AMREncodeExit

I download opencore-amr from http://sourceforge.net/projects/opencore-amr/files/opencore-amr/


Solution

  • After a period of time, I figure it out myself: See this project in github:

    opencore-amr-Android

    I make a wrapper and build it with NDK