title: Native bridge between Python and Dalvik or AAF
body: <p>Is there any project that bridges Python and Dalvik in same address space?</p>
  
  <p>That is an object created in one language can be registered as a listener in the other and vice versa?</p>
  
  <p>--</p>
  
  <p>Python could be CPython or PyPy;</p>
  
  <p>Dalvik could be full Android Application Framework, or only Dalvik virtual machine, or in the worst case, could even be a non-Dalvik JVM;</p>
  
  <p>Bridge could be written in Python/cffi, Python/jni, native C/C++ code, or even java.</p>
  
  <p>Scripting environment, as far as I understand, doesn't do what I want.</p>
  
  <p>In case of a total lack of Python--Dalvik bridge, I'll take full-featured C/C++-based C/C++--Dalvik bridge as a valid answer as a last resort. Then an example is required on instantiating a on object in C/C++ land that can be submitted as a valid listener to some Android API at runtime, including security considerations.</p>