Skip navigation
Durss
Currently Being Moderated

Package Java ANE file for desktop

Mar 29, 2012 3:38 AM

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

 
Replies
  • Currently Being Moderated
    May 12, 2012 3:36 AM   in reply to Durss

    Hi,Durss,Do you this program a success? Do you have Java API for window-x86?

     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2012 8:15 AM   in reply to Durss

    In the window to run on it is still possible, whether you want to pack Java virtual machine.

    May I wanted to write a jar bag similar android.jar..

    But Java and air, are running in the virtual machine, with Java to do the expansion of the window, feel little sense...

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points