Duh! Thats for C and for an old version of Air for TV. Android uses Java, and the packaging and signing is quite different.
I think I've got my extension implemented. Compiles correctly. But I don't quite get what steps should be taken to merge the Java classes into the Flex project. Do we use FB or must we build & package from the command line? There seems to be a specific order & directory structure required...
I'm totally interested in an working example of native extensions,too.
I would love to see how working this concept in action. Perfekt would be a the combination of Android and iOS native Code which does functionally the same and is includet in an Mobile Project.
If there is anything like that available it would really help me out
Thanks in advance,
Thanks for the link, but I already read this. This is how I got to this topic
But I found something which could be interesting for others as well.
I found something which actually worked for me.
He posted to projects c++ and FlashBuilder and also an antfile which helped me a lot.
If you look at the comments there are tipps for error handling during the project set up.
Also I included a working communication roundtrip snippet via FREObjects and a simple increment line which could also be found in the comments.
Maybe this helps someone getting a better understanding for this new feature, in my opinion it does
No, it's logical to release the command-line versions first. It allows those of us who don't mind getting down & dirty to dive in and iron out the bugs in the core components before they are baked into Flash Builder or Flash Pro releases, which build upon the command line compilers. Thats what a pre-release or beta is for. Besides, if you're writing or porting native code you'll want to be able to drop down to command line tools to use build scripts and so on.
As Flash Pro has no C/C++/Java you'll probably only be able to consume native extensions. That means somebody has to write them first. And for that they need either the command line tools or a native-capable IDE such as Flash Builder in Eclipse plus tooling. The beta registration for FB 4.6 is already open:
I'm sure we'll hear more about Flash Pro at MAX next week.
I know we can get our hands on the betas, we don't want them. We can import the AIR runtimes into CS5.5 -- but we can't do anything with extensions (as far as we can tell). FLEX is just not something we like working with. We'll wait for it to be brought to the IDE, but it does indeed suck.