Alex Rekish wrote:
Your default implementation is just AS3 code without any native code. So you cannot use ExtensionContext in default.swf/default.swc
You already have senigo.extension.android.test AS3 class for Android. You need to create another one for default. It will be different. Don't use ExtensionContext in it, just AS3 code.
Then put it to default folder as usually and package ANE again.
Another words: you can't use Android implementation on Windows. On Windows (if you don't have Windows-x86 implementation) AIR Runtime use default implementation that cannot call any native code (cannot use ExtensionContext), just AS3 code.
Thanks For the answer Alex, So you mean that test.as I created is belonging to android? ok, if that so why when I put build ANE that's just contain Android-ARM, the error still show up? is there I need to put Windows-86 to run it on windows?
If that true, so for Windows-x86 I must use other actionscript that didn't content ExtensionContext? or In test.as actionscript I must tell if the platform is windows-x86 so I not use ExtensionContext? but how can I do that? could you gave me a sample? it will be nice thank's