title: How to build a shared library without JNI in Android?
body: <p>I develop an Android application, which needs to be a shared library. I have already made the same lib in Linux (using gcc), so I want to compile the same shared lib in Android (ARM processor). But NDK only suports JNI. Now I want to build a separate shared library without direct JNI interaction. I have a lot of C files and headers, so i cannot write JNI for everything. I want build my library for ARM processors. How can i do this?</p>
  
  <pre><code>my stuture is
    -----&gt;JNI
       ----&gt;myfile.c(jni c code)
        -----&gt;android.mk(here i call my two shared lib)
  
         folder1
               ---&gt;include
               ----src
               ----&gt;lib(here i will get my shared lib)
         folder 2
              -----&gt;include
              -----&gt;src
              -----&gt;lib(here i will get my 2nd shared lib)
  </code></pre>
  
  <p>Here I want to build my shared lib separately and then I will call it. Is it possible to build a shred lib without JNI in Android?</p>