Randall,

Java provides a lot of methods for File IO, which are abstracted and platform-dependent. My external enables them to be used from within Rev.

Java Swing offers a platform-independent file or directory chooser dialog. However I have never tested it by using my external. I will test it and inform you of the result later. I don't think my external can open dialogs created in Java.

Jiro Harada



On 2009/01/19, at 11:21, Randall Reetz wrote:

Well, good, thanks, i guess that provides a path to cross pltform external supported code. Do java machines offer file IO and directory navigation? How about reaching into file system events as they happen and generating rev messages?

-----Original Message-----
From: "Jiro Harada" <[email protected]>
To: "How to use Revolution" <[email protected]>
Sent: 1/18/2009 5:42 PM
Subject: Re: externals

Randall,

In rev, are externals written to a reference VM so that they are
only written once and can run on any platform?  Or, do they have to
be written separately to each platform? Can java programs be called
as externals?

Randall

I have written an external to launch a JVM and call the Java methods
on Windows and Mac OS. By the external the Java methods can be called
as external commands or functions of Rev on both platforms. The
external also enables the Java programs to send messages to Rev's
handlers.

The demo is downloadable at the following URL:
http://www.f-ab.net

The demo is created by Runrev 3.0. In the demo, Derby(relational
database in written Java), HttpClient(http components written Java),
Red5(Flash server written in Java) and Sphinx-4(speech recognizer
written in Java) are used.

Jiro Harada

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to