Quantcast
Viewing all articles
Browse latest Browse all 21156

Package Java ANE file for desktop

Hi!

 

I'm trying to package an ANE file for desktop and am almost bald now :/.

 

I just made an HelloWorld extension with a simple "sayHello" method that simply returns the string "Hello World".

I made a JAR file of it, created the extension's XML definition as follow :

<extension xmlns="http://ns.adobe.com/air/extension/3.1">          <id>com.nurun.helloworld</id>          <versionNumber>1.0.0</versionNumber>          <platforms>                    <platform name="Windows-x86">                              <applicationDeployment>                                        <nativeLibrary>HelloWorld.jar</nativeLibrary>                                        <initializer>com.nurun.ane.hw.HelloWorldExtension</initializer>                                        <finalizer>com.nurun.ane.hw.HelloWorldExtension</finalizer>                              </applicationDeployment>                    </platform>          </platforms></extension>

 

I compiled my SWC, extracted the library.swf file out of it (is it still necessary or ADT finally does it itself.?) and use the


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>