title: Combine Actionscript/Flex Air Android Project with Java Android Project
body: <p><strong>Background:</strong>
  I have a Air Android project written in ActionScript using Flash Builder, and a Android Project in Java using Eclipse. I want to combine these two project, which I want to integrate the Air project into my Java Android project. I don't want to have two standalone projects.</p>
  
  <p>My Air project use <strong>Adobe Media Server</strong> and <strong>rtmp</strong> protocol to publish/play live streams.</p>
  
  <p><strong>Several Approaches I have tried:</strong></p>
  
  <ol>
  <li><p><strong>Adobe Native Extention</strong>: I can call Java native code from my Air project but this is the opposite of what I want to do. </p></li>
  <li><p><strong>Java Native Interface</strong>: I can use it to call c/c++/assembly... but I didn't see how JNI calls Air project</p></li>
  <li><p><strong>Android Webview</strong>: Created a html file embed the .swf file of my Air project, and using Android Java Webview to run the .swf file directly. But it is not working anymore and I guess is Android is not supporting flash player anymore after 2011.</p></li>
  </ol>
  
  <p><strong>Question:</strong></p>
  
  <ol>
  <li>I'm wondering if what I want to do is possible. If so, could anyone give me some directions?</li>
  <li>I can package my Air Android project to .apk. But I didn't find a way to use a existing .apk from another android project.</li>
  <li>Do I have to use cross-compiler to make my Air project into .jar? </li>
  </ol>
  
  <p>Thank you!</p>