AIR to DLL via applet

Hi,
We are trying to build a Flex app which is supposed to work both in online and offline mode.
Application reads images from scanner and processes it.
Drivers are DLLs (written in C++), we wrap them in Java applet.
We were able to connect SWF to applet via ExternalInterface.
However, how can we connect AIR to applet ?
I was told Merapi is the answer, however it is still in Alpha.  :-(
They didn't even answer me when I applied to participate.
Any help is very appreciated !
Thank you in advance,
Oleg.

Michael,
I am getting "Story Not Found" from that link,
and the only Merapi stories on that site I could find where about Merapi volcano.
Is that what you are referring to ?
As for Merapi project, it's creator recently left,
so the project seems to be dying or dead, no activity for a long time:
http://www.merapiproject.net/index.php?option=com_fireboard&Itemid=58&func=view&id=253&cat id=8
Any comments on that ?
And it seems like Adobe has no alternative and doesn't care.
So what am I to do with my problem ?
Thank you,
Oleg.

Similar Messages

  • Calling DLL in applet

    i trying to call a c DLL from applet and will be able to access all the method when i'm running this applet using command prompt and every thing goes fine , but when i'm trying to call that html file with explorer then no action happens. Same is the case with eclipse , my code is worrking fine when running in command line console but when i put same code in some package then it fails and gives me Unsatisfied link error. I dont know what is wrong in calling it with in package. Kindly help.

    Deepak.shanu wrote:
    Do you that magic code !!!! I already said I have no idea how it works.
    Lokk its is not working in jsp also .. do you have any idea how this will work..Huh?
    JSP runs on the server. So you install the dll there and it will run. If it doesn't then you did not configure it correctly. Or maybe it doesn't work at all.
    And I question a design that supposes that a shared library can work equally well via an applet, on the client, and via the server.

  • How to connect my macbook air to internet via cable ethernet?

    Hi,
        I tried to connect my macbook air to internet via lightning to ethernet adaptor. I am having cable internet, and my windows laptop normally connects to internet without anything to set in it. Anyone can help in this aspect...
    Thanks in advance..

    Finally, it got connected....
    The solution is, may be simple, but it took 3 days...
    Switch off (plug out the electrical connection to the modem), and power again the cable modem...
    it got connected...
    Thank you Diesel....

  • How to connect Macbook air to tv via airplay ?

    How do I connect my Macbook Air to tv via Apple TV and airplay ?

    Hello wayneharlow
    You should see an AirPlay button in the Menu Bar in the upper right hand corner near the Date and Time. If you do not see it, then you may need to turn it on to show up there, then it is a matter of selecting the Apple TV from that drop down menu. Check out the article below for more information and troubleshooting if needed.
    About AirPlay Mirroring in OS X
    http://support.apple.com/kb/ht5404
    Regards,
    -Norm G.

  • How to transfer a 8GB .MOV file from MacBook Air (late 2013) via external HD (Samsung S2 Portable) to a Dell laptop ?

    Hi guys and galls,
    How can I transfer a 8GB .MOV file from MacBook Air (mid 2013) via external HD (Samsung S2 Portable) to a Dell laptop ? The mentioned file currently will not let me transfer it to my ext HD. I want to upload it afterwards to a Dell laptop with Windows software installed.
    Reformatting the drive doesn't seem to be the sollution, since this will erase all the data stored on the ext HD, and it will only allow me to use the drive with either Apple or Microsoft equipment.
    Please HELP, running out of options here... Thnx, "Apple-Dummy"

    Apple-Dummy wrote:
    How can I tell whether my External HD is formatted NTFS?
    Attach the HDD to your MBP.  Click on the icon on the desktop COMMAND+I. It will produce a display such as this and look what it says by FORMAT.
    How do I format my External HD: FAT or ExFAT?
    Do this on a PC.  You will have to use the Windows equivalent of Disk Utility.  I am not a Windows user so I cannot give you detailed information regarding this.  I have seen on these forums that there are at times compatibility problems if formatted on a Mac.
    Which one is preferred, FAT or ExFAT? And why?
    Use ExFAT.  FAT has a file size limitation of 4 GB.
    Ciao.

  • Seem to have lost air play ability via apple tv after upgrading to iOS5

    seem to have lost air play ability via apple tv after upgrading to iOS5

    Nope, i was able to download it in the Middle East...
    Apple always releases updates to everyone in the same time... (unlike Android and Nokia)
    Something is wrong...
    What ou can do is unplug the appletv from the electricity and the hdmi, plug it ony to your laptop using a mini usb plug (the one used by many cameras and tech devices)...
    Open itunes, find the apple tv, click on restore and let it download from laptop...
    That oughta update the firmware to 4.4.1...

  • MacBook Air to TV via HDMI...No Audio?

    How to get audio on tv when Macbook Air is directly connected via MiniDisplay adapter to HDMI /TV.....?  Only have video at this point??

    X423424X wrote:
    Make sure you are using a mini-displayport to HDMI adapter that also has audio passthrough like this one.
    Are you using this particular dongle?  I've had trouble with some of these OEM adapters in the past.  However, you can't beat the pricing if it works (I think the Apple version is $29).

  • How do I connect Macbook Air to Macbook via ethernet crossover cable?

    Hi all,
    For the life of me, I'm having a lot of troubles connecting my Macbook Air to Macbook, here is what I've done so far:
    1. Turned on sharing in System preferences on both systems and given "read and write" access to "myself", "users" and "everyone".
    2. Then connected a ethernet cable to both macbook and macbook air (via original Apple USB ethernet)
    3. When I go to Finder > Shared on both systems, they say cannot open drop box insufficient privileges.
    Please someone link to step by step tutorial of Mac OS X 10.5 sharing through ethernet cable or correct me on what I'm doing wrong, and I don't have firewire cable otherwise things would've easier .
    Thanks in advance!

    You are probably over thinking the problem.
    Do not use a crossover cable. Just connect the two machines directly with a standard ethernet cable and they will auto assign ip addresses and be accessible to each other. The ethernet chips in both machines will detect the cable, etc and it "just works".
    Also your sharing settings do not need to be that open. I would recommend to pulling them back so that you are not giving the world access to your machine.

  • How to use dll with applet?

    I want to use a dll with a applet.
    I try several solutions : signed applet, dll in jar, ... But without any result.

    U can use it if u sign the applet. It is a bit trick way though.
    Create an inputstream, read and copy the dll to some where path is defined (System dir for ex) from jar. Then load that library.. But u need a dummy class for that before starting applet. Rest is ur brain.. Best of luck. I tried and succeded.

  • Error while loading javaGUI from BSP via Applet

    Hello Folks,
    i saw an interesting Thread by Thomas Jung (SAP) how to starting a R/3 Transaction via javaGUI from a Business Server Page. I did the same steps but get an Java Error while loading the applet. Can anyone help me?
    The error listed in the JavaConsole is:
    java.security.AccessControlException: access denied (java.util.PropertyPermission com.sap.platin.productType read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at com.sap.platin.micro.Version.guessVersionType(Version.java:230)
         at com.sap.platin.GuiAppletBase2.findProductType(GuiAppletBase2.java:324)
         at com.sap.platin.GuiApplet2.getProductType(GuiApplet2.java:18)
         at com.sap.platin.GuiAppletBase2.<init>(GuiAppletBase2.java:54)
         at com.sap.platin.GuiApplet2.<init>(GuiApplet2.java:14)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    All Jar-Libraries are imported in the Application Mime-Repository...and regardless the JavaGUI is installed on my local host or not, i get the same error...
    Thanks in advance for your help,
    Christian Kremer

    Hi,
    You can check the below forums.
    DTP with error RSBK257
    - Jaimin

  • How to Install AIR on Linux via SSH

    How can I install AIR on a linux server via SSH?
    llama

    Hi llama,
    As installing AIR requires a running xserver on linux. So you can install using ssh by providing -Y parameter.
    so connect to your server in the way, e.g: ssh -Y user@server and then perform the installation.
    Regards
    Syed

  • DB Connection via Applet

    I am attempting use BC4J via an applet deployed as a simple JAR archive.
    When trying to connect via the standard LoginDialog class I get the folowing exceptions:
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.debugoutput read)'
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.timing read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.function read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.level read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.linecount read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.trace.threshold read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.jdbc.driver.verbose read)'
    Exception occurred during event dispatching:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.sql.SQLPermission setLog)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.sql.DriverManager.setLogStream(DriverManager.java:397)
    at oracle.jbo.common.Diagnostic.init(Diagnostic.java:119)
    at oracle.jbo.common.Diagnostic.<clinit>(Diagnostic.java:62)
    at oracle.jbo.common.JboInitialContextFactory.getInitialContext(JboInitialContextFactory.java:49)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at oracle.dacf.dataset.SessionInfo._createAppModule(SessionInfo.java:2279)
    at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1787)
    at oracle.dacf.dataset.DbAccessImpl.connect(DbAccessImpl.java:458)
    at oracle.dacf.control.swing.LoginDlg._connectToDB(LoginDlg.java:1803)
    at oracle.dacf.control.swing.LoginDlg._okButtonClicked(LoginDlg.java:1740)
    at oracle.dacf.control.swing.LoginDlg.actionPerformed(LoginDlg.java:1794)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
    Has anyone experienced this? If so I would be very grateful for any advice.
    Thanks
    Martin

    Hello,
    It seems I have quite the same pb :
    I developped an applet connecting Oracle 7.3.4 via JDBC oracle Thin
    when I run the applet with JDevelopper 3.1
    everything is OK, but when I use it from
    a browser , the Logon window refuses to log
    and have no other possibility but to cancel
    and in the java console I have :
    Java(TM) Plug-in: Version 1.3.0_01
    Utilisation de la version JRE 1.3.0_01 Java HotSpot(TM) Client VM
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.debugoutput read)'
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.timing read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.function read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.level read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.show.linecount read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.logging.trace.threshold read)'
    Failed to query environment: 'access denied (java.util.PropertyPermission jbo.jdbc.driver.verbose read)'
    Exception occurred during event dispatching:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.sql.SQLPermission setLog)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.sql.DriverManager.setLogStream(Unknown Source)
    at oracle.jbo.common.Diagnostic.init(Diagnostic.java:119)
    at oracle.jbo.common.Diagnostic.<clinit>(Diagnostic.java:62)
    at oracle.jbo.common.JboInitialContextFactory.getInitialContext(JboInitialContextFactory.java:49)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at oracle.dacf.dataset.SessionInfo._createAppModule(SessionInfo.java:2279)
    at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1787)
    at oracle.dacf.dataset.DbAccessImpl.connect(DbAccessImpl.java:458)
    at oracle.dacf.control.swing.LoginDlg._connectToDB(LoginDlg.java:1803)
    at oracle.dacf.control.swing.LoginDlg._okButtonClicked(LoginDlg.java:1740)
    at oracle.dacf.control.swing.LoginDlg.actionPerformed(LoginDlg.java:1794)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unkno wn Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    oracle.dacf.control.LoginFailureException: The login did not succeed - aborting.
    at operateur.ViewOperateur.init(ViewOperateur.java:180)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    I think everything is OK with my Applet
    deployment, maybe a security pb ???
    Thanks for any help...
    Bruno

  • Newbie: Passing Structures between DLLs via Java

    A fairly high level question for you good people:
    I have two DLLs. The first DLL is called by Java via JNI, and needs to return something akin to a C Structure (say an int, a double and a string for simplicity).
    My Java code does not need to do anything with this data, except pass it to a second DLL for more processing (the second DLL for example needs to do something with just the double and the string).
    My question is, is this sort of thing practical to do using JNI (I have the DLLs already but can easily add the JNIEXPORT etc functions) ?
    (I have used JNI for a passing single values and arrays back and forth, but nothing with anything akin to structures).
    Many thanks in advance.
    Dave

    My Java code does not need to do anything with this
    data, except pass it to a second DLL for more
    processing (the second DLL for example needs to do
    something with just the double and the string).
    My question is, is this sort of thing practical to do
    using JNI (I have the DLLs already but can easily add
    the JNIEXPORT etc functions) ?
    Somewhere in memory a hunk is reserved for this. Your code does it or some external piece does.
    You have a pointer to that.
    It is very important that the memory does NOT go away until you tell it to.
    You cast the pointer to a long and return that to java. Your java piece keeps track of that.
    It passes the long off to the other dll. That dll casts it back to what is needed (a pointer) and uses it.
    If the second dll disposes of the pointer then you are done. If not then you must dispose of the pointer.
    If you want to keep it then you should add a 'destroy()' method in java that frees the pointer (native call) appropriately. This is also one of the few time where using finalize is probably appropriate as well.

  • Loading dll from applet

    Hello all
    I am trying to develop an applet whose funtionality includes loading a .dll library and invoking some function implemented as native code. The dll implementation is actually third-party, but i am pretty confident there's nothing wrong with it because it works fine when invoked in a standalone application.
    Before going any further, i should note that i am aware of security restrictions, signing applets etc - i have temporarily bypassed that limitation during development by granting a java.security.AllPermission permission in my JRE policy file.
    In fact, the dll itself even works fine when invoked from the applet source directory - i.e. directory source contains the applet class file and the dll file, so when opening the applet using appletviewer and a test html page that contains something like this: <APPLET CODE='PrintApplet.class' WIDTH=426 HEIGHT=322>, everything works fine.
    Trouble starts when i try to package the applet source and the dll into a jar file and open it again using the same procedure, only this time using something like this in my html:
    <APPLET CODEBASE="C:/testdir/PrintApplet" archive="PrintApplet.jar" CODE="PrintApplet" WIDTH=426 HEIGHT=322>
    In this scenario, the dll is loaded using:
    InputStream in = this.getClass().getResourceAsStream("ShellExec.dll");
    and then saved on the client disk using a FileOutputStream.
    What happens then is that i get the following stacktrace:
    java.lang.UnsatisfiedLinkError: C:\testdir\PrintApplet\ShellExec.dll: Invalid access to memory location
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1368)
    at java.lang.Runtime.load0(Runtime.java:737)
    at java.lang.System.load(System.java:809)
    at ShellExec.<clinit>(ShellExec.java:19)
    at PrintApplet.testPrint(PrintApplet.java:200)
    at PrintApplet.clearButton_ActionPerformed(PrintApplet.java:215)
    at PrintApplet$SymAction.actionPerformed(PrintApplet.java:159)
    at java.awt.Button.processActionEvent(Button.java:381)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3639)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    This seems to suggest that the dll is actually loaded, but then something gives. Any ideas as to what may be the issue here?
    Thanks in advance,
    George Anadiotis

    It's not possible to load a DLL file from a jar file. Read the Jar tutorial
    Oz.

  • After upgrading to yosemite macbook air(mid 2011) cannot connect to macbook air(early 2014) via airdrop

    last night i upgraded mine and my wife macbook air to yosemite.
    before, we can share files with airdrop easily but now the mba (early 2014) can not send file to the other one , also the old one

    19.83 GB Page-outs
    You are maxing out your RAM. Try quitting Chrome, it seems to be a resource hog and try closing other applications that you aren't using.

Maybe you are looking for

  • How could i Integrate (merge) 2 different Controlling areas into one?

    Hello gurus, The client i am working for had defined, from the beggining (during SAP Implementation), one Controlling area for the entire company. This definition was correctly done, as a way to centralize every operation and transaccion made. After

  • Problem while posting goods thru MB1C

    Dear Friends, Iam practising in IDES. While posting goods thru t.code MB1C, iam encountering 2 error messages. 1. Posting only possible in 4/2008 & 5/2008 periods only. 2. Posting period 005/2008 is not open. I believe there are few MM settings to be

  • My ac adapter problem (plzzzz help)

    I use my ibook g4 all the time for college work and for general use. Just recently I tripped on the ac adapter cable it came right out and then the ibook itself fell to the floor (from my bed) and landed on the dc side. it didnt look that bad until I

  • Unflolding Workflows HowTos on SDN

    Dear All, Kindly find the article on SAP Business Workflows Introduction on SDN written by me. Topic: Workflows for Dummies - Introduction(Part I) /people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i Thanks & Regards

  • SkyDrive Pro and SharePoint 2010

    Why SkyDrive Pro can no longer sync SharePoint 2010 libraries? I was using Windows 8 with Office 2013 and SkyDrive Pro had no problems with synchronizing content from SharePoint 2010. Now I installed Windows 8.1 with Office 2013 and it doesn't work a