title: Wrapping a c++ library using jni
body: <p>I've successfully added a c++ library to the android 2.3.6 source tree.
  Now i want to wrap my library in order to be used from java
  I've searched a lot in the net about the steps to do so but almost all the examples i've found are hello world examples and simple ones...
  From these examples i've understood that i must create a java file calling the native functions that i need with the prefix native ,then generate the headers and implement the c++ file.</p>
  
  <p>But i don't see how can i call my library functions with this manner. 
  what is the connection between these headers and my function..?
  i am really confused now and i dont know how to start
  So, i would be thankfull if someone can tell me the step to wrap a c++ library(already integrated in the aosp) </p>