title: How to link and call function of prebuild static native library from android studio
body: <p>I need to change pitch and time stretching of an audio. For this I am using prebuild static library. Currently I am having libZtxAndroid.a static library and corresponding header file which contains function declaration. But I don't know how to load this library in my android studio app and call native function from java code. I explored many links and tried to load this library. But all attempts are failed. This is the one link which I have tried last time <a href="https://tariqzubairy.wordpress.com/2012/03/12/use-of-prebuild-static-library-compiled-with-android-toolchain/" rel="nofollow noreferrer">https://tariqzubairy.wordpress.com/2012/03/12/use-of-prebuild-static-library-compiled-with-android-toolchain/</a></p>
  
  <p>Also I am using FFMPEG shared library and MP4Parser (<a href="https://github.com/sannies/mp4parser" rel="nofollow noreferrer">https://github.com/sannies/mp4parser</a>) library in this app for adding water mark to video and merging audio respectively. Can any one help from basics.</p>
  
  <ol>
  <li>How to load static library?</li>
  <li>Where I need to place that static library?</li>
  <li>Where I need to create jni folder (folder structure)?</li>
  <li>How to call function available in that static library with the help of header file from java code?</li>
  </ol>