Node Webkit and Java Applet

0 favourites
  • 8 posts
From the Asset Store
Node Downloader is a plugin for download file for Construct 3 and construct 2 game engine
  • Hi,

    I wanna use a Java Applet in Node Webkit.

    I saw in Node Github Wiki than by default the Java Applet access is disabled, and to enabled we need to change the Manifest "Package Json" in the Webkit Subfields.

    But how could I do that? And after where I put the .jar file?

    I read than for "Plugins" we need to create a folder, but and for Applets?

    Somebody could help?

    Thanks

  • If your writing a Java Applet, then you don't need nodewebkit. A Java Applet. Is a full Java application with only a few line changes. It's a JVM compiled app.

    make the applet changes and then the program will run as a full application. wala, no nodewebkit needed.

    soooo. what do you need to embed an application in another application?

  • Hi jayderyu

    Let me explain better.

    I have an web app developed with C2, and I have a Java Applet which I open in a iframe, inside the web app.

    When I export to Node Webkit, the iframe open but the applet is not working.

  • package.json is in <install>/exporters/html5/node-webkit. You could try importing the .jar as a project file. But I think you're crazy for trying this.

  • Hi Ashley

    Well in fact the applet is used to audio capture, which I cannot do directly in HTML5.

    I will try to edit the package.json to set Java use.

    Thanks for your attention!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey Ashley

    Works now!!!

    I edit the package.json file to include

         "webkit": {

              "plugin": true,

              "java": true

         },

    And put the .jar and another files of the applet in win32 folder.

    Thanks again.

  • Hi Ashley

    Well in fact the applet is used to audio capture, which I cannot do directly in HTML5.

    I will try to edit the package.json to set Java use.

    Thanks for your attention!

    ok, this explains a whole lot. I just couldn't imagine any reason to package an application within in application. This is like the old Flash audio work around on Android.

  • Microphone input should be coming eventually to HTML5, at least on Chromium based platforms (Chrome + node-webkit). Last I tested it I couldn't get it working, but hopefully the kinks will be worked out soon.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)