Use Java to extend the desktop features of Adobe AIR

Source: Internet
Author: User
Tags extend

The recent Merapi project is open source, and it can be used as a message bridge to connect applications running in Adobe Flash player or Adobe AIR to Java applications. The air's security sandbox supports some common desktop interactions, such as systray support, file access, and so on, but it does not allow other operations, such as accessing USB devices, loading local applications, and so on.

And that's where Merapi is, with a simple messaging framework for Flash, Flex, and air applications to communicate with Java, and then you can interact with these resources as proxies for Java. We can send a message via a simple API:

var message:message = new Message ();

            Message.data = "Hello from Merapi Flex.";

            Message.type = "Reply";

            Bridge.instance.sendMessage (message);

The technology's many applications include the Tesla Model S-car touch-screen system:

Merapi is a landmark solution for bridging traditional desktop and web technologies, which fills the gap between the two applications. The main advantages of Merapi are as follows:

• Access to hardware devices: In the past, browser-based technology (such as Adobe Flash, Microsoft Silverlight, AJAX) was inaccessible to hardware devices except for microphones and webcam.

• Access to existing APIs: through Merapi We can access existing open source and commercial software from browsers or runtime engines such as Adobe AIR without a server.

• Improve the performance of applications.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.