Well I have spent the last hour reading over their docs, I love seeing high traffic projects. I would feel confident in exploring this avenue since the project seems huge now. I remember 2 years ago it wasn't so large.
I am pretty sure I can do what I need to once I figure out the tool chain. Seems to me, the hardest part is that middle layer where I have the AS API for the native extension and the Cordova plugin. From a distance it looks like I could use the same AS. So it really looks like the project I would have is figuring out actually how to write a Cordova app, then figure out how to write a plugin that calls my audio engine in a Cordova app. Once I get that working as an Android plugin, I will know how I have to translate a FlexJS code base to the Cordova plugin spec. I think I already looked at that code you wrote, need to check it again. So am I think correct here, eventually it looks like I will need to write a custom cross compiler emitter for a Cordova plugin correct? Then this would get hooked and run during the cross compile if the compiler args include it. Mike On Wed, May 13, 2015 at 11:01 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 5/13/15, 6:59 AM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote: > > >Alex, > > > >When I said Windows I meant Windows 7. I use it for rapid prototyping. > >Imagine having an audio DSP core written in C++, I can call C apis from > >the > >AIR windows native extensions that I wrapped with C, then I can call those > >same C apis in Android using Java JNI. > > > >So I use Windows for rapid prototyping and testing of the Android mobile > >app that using the audio DSP core. > > > >My question since I am ignorant and really trying to find a real excuse to > >put some time into FlexJS, do you think it's possible somehow to do the > >same thing I am doing with testing the AIR app with say FlexJS(SWF) UI > >calling that surface API for the audio, then have the same API using > >Cordova for Android, plugging into it's Android plugin system, which the > >calls the native layer. > > > >This is what I am trying to figure out. > > So far, from the little I’ve read about Cordova, it makes me think this is > possible and it would be awesome if you could explore it. > > > > >If I could get this to work, then I would have a complete use case where I > >can use FlexJS to create the UI that is eventually translated to HTML/CSS > >for the Android cordova side. > > Exactly. And the upside is that your app could eventually work in a lot > more places than AIR currently does if you were to write similar platform > extensions for Windows Phone, etc. > > -Alex > >