jiro at ronri-kobo.com
Sun Jan 18 23:30:49 CST 2009
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.
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" <jiro at ronri-kobo.com>
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Sent: 1/18/2009 5:42 PM
> Subject: Re: externals
>> 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?
> 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
> The demo is downloadable at the following URL:
> 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
More information about the use-livecode