<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Magnifying Glass AIR 2 application or how to communicate with a Java program from AIR</title>
	<atom:link href="http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air</link>
	<description>Web, Mobile, and Rock&#38;Roll</description>
	<lastBuildDate>Sat, 11 Feb 2012 15:54:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Red5 Screen sharing success!.. using Adobe air and native process API - Adam Rensel &#124; Red 5 Virtual Class Dev</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-16664</link>
		<dc:creator>Red5 Screen sharing success!.. using Adobe air and native process API - Adam Rensel &#124; Red 5 Virtual Class Dev</dc:creator>
		<pubDate>Thu, 27 Jan 2011 06:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-16664</guid>
		<description>[...] used a java app to send screen shots to air which was used as a sort of screen magnifier written by Mihai Corlan. Now, this was written in flex but the great thing is that he posted the project source. I&#8217;m [...]</description>
		<content:encoded><![CDATA[<p>[...] used a java app to send screen shots to air which was used as a sort of screen magnifier written by Mihai Corlan. Now, this was written in flex but the great thing is that he posted the project source. I&#8217;m [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 有助于Flash平台开发提速的50个学习资源 &#8211; 新闻资讯 &#8211; 9RIA.com天地会 &#8211; 论坛 &#124; 谱曲</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-11674</link>
		<dc:creator>有助于Flash平台开发提速的50个学习资源 &#8211; 新闻资讯 &#8211; 9RIA.com天地会 &#8211; 论坛 &#124; 谱曲</dc:creator>
		<pubDate>Sun, 08 Aug 2010 13:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-11674</guid>
		<description>[...] Server•        探索“以默认应用开始的”API•        探索本地进程API：这里，这里，这里还有这里。•        寻找在Adobe AIR2里的一列网络接口•    [...]</description>
		<content:encoded><![CDATA[<p>[...] Server•        探索“以默认应用开始的”API•        探索本地进程API：这里，这里，这里还有这里。•        寻找在Adobe AIR2里的一列网络接口•    [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 有助于Flash平台开发提速的50个学习资源 &#171; echo &#34;RenYuan&#039;s Blog&#34;</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-11632</link>
		<dc:creator>有助于Flash平台开发提速的50个学习资源 &#171; echo &#34;RenYuan&#039;s Blog&#34;</dc:creator>
		<pubDate>Fri, 06 Aug 2010 02:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-11632</guid>
		<description>[...] •        探索“以默认应用开始的”API •        探索本地进程API：这里，这里，这里还有这里。 •        寻找在Adobe AIR2里的一列网络接口 •  [...]</description>
		<content:encoded><![CDATA[<p>[...] •        探索“以默认应用开始的”API •        探索本地进程API：这里，这里，这里还有这里。 •        寻找在Adobe AIR2里的一列网络接口 •  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 50 resources to get up to speed with the Flash Platform : Mihai Corlan</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-11553</link>
		<dc:creator>50 resources to get up to speed with the Flash Platform : Mihai Corlan</dc:creator>
		<pubDate>Fri, 30 Jul 2010 06:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-11553</guid>
		<description>[...] the Native Processes API: here, here, here, and [...]</description>
		<content:encoded><![CDATA[<p>[...] the Native Processes API: here, here, here, and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-11373</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 16 Jul 2010 11:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-11373</guid>
		<description>@NAZ

You could try to run the project in debug mode; get the source code and import the project in Flash Builder and then start the project in debug mode.

Also you could check that you have Java installed at this path: /Library/Java/Home/bin/java

Regarding Java version, the minimum version required is 5.</description>
		<content:encoded><![CDATA[<p>@NAZ</p>
<p>You could try to run the project in debug mode; get the source code and import the project in Flash Builder and then start the project in debug mode.</p>
<p>Also you could check that you have Java installed at this path: /Library/Java/Home/bin/java</p>
<p>Regarding Java version, the minimum version required is 5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NAZ</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-11361</link>
		<dc:creator>NAZ</dc:creator>
		<pubDate>Thu, 15 Jul 2010 15:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-11361</guid>
		<description>I&#039;m amazed by the speed you get the images, but i can&#039;t manage to run the app i get the &quot;requirements&quot; error but i have AIR2 and the latest Java, i&#039;m on MAC, and created the file in my home directory and it didn&#039;t help.. is there any way to see what the error is.

Much appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;m amazed by the speed you get the images, but i can&#8217;t manage to run the app i get the &#8220;requirements&#8221; error but i have AIR2 and the latest Java, i&#8217;m on MAC, and created the file in my home directory and it didn&#8217;t help.. is there any way to see what the error is.</p>
<p>Much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChiGaTTa</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-10377</link>
		<dc:creator>ChiGaTTa</dc:creator>
		<pubDate>Thu, 06 May 2010 12:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-10377</guid>
		<description>It&#039;s a clean solution to the problem. Thanks for sharing it with me!</description>
		<content:encoded><![CDATA[<p>It&#8217;s a clean solution to the problem. Thanks for sharing it with me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dag</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-10376</link>
		<dc:creator>Dag</dc:creator>
		<pubDate>Thu, 06 May 2010 11:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-10376</guid>
		<description>You could write a simple program in C++ that reads the the javahome variable from the registry. It would have to take OS variations into account. 
This program could then be executed by adobe AIR as a nativeapplication and report the path to Java back to AIR through stdout.</description>
		<content:encoded><![CDATA[<p>You could write a simple program in C++ that reads the the javahome variable from the registry. It would have to take OS variations into account.<br />
This program could then be executed by adobe AIR as a nativeapplication and report the path to Java back to AIR through stdout.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChiGaTTa</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-10375</link>
		<dc:creator>ChiGaTTa</dc:creator>
		<pubDate>Thu, 06 May 2010 11:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-10375</guid>
		<description>I see, thanks for your answer! :)
It&#039;s just I am developing an application on Air using some functionalities I made in Java and I was looking for some way I can provide the java path without asking the user to provide it (you know some users really don&#039;t know about what are you asking for and with some clicks put your app right into the trash).

Thanks and congrats for the blog :)</description>
		<content:encoded><![CDATA[<p>I see, thanks for your answer! :)<br />
It&#8217;s just I am developing an application on Air using some functionalities I made in Java and I was looking for some way I can provide the java path without asking the user to provide it (you know some users really don&#8217;t know about what are you asking for and with some clicks put your app right into the trash).</p>
<p>Thanks and congrats for the blog :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-10374</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Thu, 06 May 2010 10:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-10374</guid>
		<description>You can&#039;t actually. You can look for java or you can ask the user to provide the path to the java.

On Mac OS usually there is symbolic link to the java so it is easy to guess where it is.</description>
		<content:encoded><![CDATA[<p>You can&#8217;t actually. You can look for java or you can ask the user to provide the path to the java.</p>
<p>On Mac OS usually there is symbolic link to the java so it is easy to guess where it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChiGaTTa</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-10370</link>
		<dc:creator>ChiGaTTa</dc:creator>
		<pubDate>Thu, 06 May 2010 08:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-10370</guid>
		<description>Nice example! I am only curious about one thing, to call java you need to set the java executable path here:

npInfo.executable = new File(&quot;/Library/Java/Home/bin/java&quot;);

So... how can you be sure that path will work on every computer?</description>
		<content:encoded><![CDATA[<p>Nice example! I am only curious about one thing, to call java you need to set the java executable path here:</p>
<p>npInfo.executable = new File(&#8220;/Library/Java/Home/bin/java&#8221;);</p>
<p>So&#8230; how can you be sure that path will work on every computer?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sachin</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-10240</link>
		<dc:creator>sachin</dc:creator>
		<pubDate>Thu, 29 Apr 2010 07:48:34 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-10240</guid>
		<description>Hi
I have created a sample here with Flex for
magnifying glass in flex:

http://devsachinonflex.blogspot.com/2010/04/magnifying-glass-in-flex.html

Sachin Dev Tripathi
Flex and RIA developer
sachindevtripathi@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi<br />
I have created a sample here with Flex for<br />
magnifying glass in flex:</p>
<p><a href="http://devsachinonflex.blogspot.com/2010/04/magnifying-glass-in-flex.html" rel="nofollow">http://devsachinonflex.blogspot.com/2010/04/magnifying-glass-in-flex.html</a></p>
<p>Sachin Dev Tripathi<br />
Flex and RIA developer<br />
<a href="mailto:sachindevtripathi@gmail.com">sachindevtripathi@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zero point nine &#187; Blog Archive &#187; Using NativeProcess in AIR 2 for screencaps</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-9986</link>
		<dc:creator>zero point nine &#187; Blog Archive &#187; Using NativeProcess in AIR 2 for screencaps</dc:creator>
		<pubDate>Mon, 19 Apr 2010 04:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-9986</guid>
		<description>[...] another implementation of AIR 2 screen capture, see this post by Mihai Corlan, also with source, using Java. There are also a few other related examples out there as [...]</description>
		<content:encoded><![CDATA[<p>[...] another implementation of AIR 2 screen capture, see this post by Mihai Corlan, also with source, using Java. There are also a few other related examples out there as [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AIR 2 Native Process with Java &#171; bioRex21&#39;s blog</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-9895</link>
		<dc:creator>AIR 2 Native Process with Java &#171; bioRex21&#39;s blog</dc:creator>
		<pubDate>Wed, 14 Apr 2010 22:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-9895</guid>
		<description>[...] are some other post and articles related to Native Process:   Interacting with a native process  Magnifying Glass AIR 2 application or how to communicate with a Java program from AIR  Embedding Tomcat and BlazeDS in an AIR 2.0 Application  Video: AIR 2.0 NativeProcess Example  [...]</description>
		<content:encoded><![CDATA[<p>[...] are some other post and articles related to Native Process:   Interacting with a native process  Magnifying Glass AIR 2 application or how to communicate with a Java program from AIR  Embedding Tomcat and BlazeDS in an AIR 2.0 Application  Video: AIR 2.0 NativeProcess Example  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: camila</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-8814</link>
		<dc:creator>camila</dc:creator>
		<pubDate>Tue, 23 Feb 2010 00:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-8814</guid>
		<description>GOSTEII</description>
		<content:encoded><![CDATA[<p>GOSTEII</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-8617</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 04 Feb 2010 23:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-8617</guid>
		<description>Great example! The source for the flex project is busted.  Can you fix it?</description>
		<content:encoded><![CDATA[<p>Great example! The source for the flex project is busted.  Can you fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-8386</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Mon, 18 Jan 2010 08:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-8386</guid>
		<description>@Ashley @Dag

I have no idea why you get those errors. Maybe you can dig a little bit more by running the project in debug mode...

I will ask around and if I find something I&#039;ll be back.</description>
		<content:encoded><![CDATA[<p>@Ashley @Dag</p>
<p>I have no idea why you get those errors. Maybe you can dig a little bit more by running the project in debug mode&#8230;</p>
<p>I will ask around and if I find something I&#8217;ll be back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashley</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-8385</link>
		<dc:creator>Ashley</dc:creator>
		<pubDate>Mon, 18 Jan 2010 07:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-8385</guid>
		<description>Hi, I get this error after starting on OS X 10.6.2.

STANDARD_ERROR_DATA: [ProgressEvent type=&quot;standardErrorData&quot; bubbles=false cancelable=false eventPhase=2 bytesLoaded=121 bytesTotal=0]/n2010-01-18 08:40:05.944 java[35533:903] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs

-ash</description>
		<content:encoded><![CDATA[<p>Hi, I get this error after starting on OS X 10.6.2.</p>
<p>STANDARD_ERROR_DATA: [ProgressEvent type="standardErrorData" bubbles=false cancelable=false eventPhase=2 bytesLoaded=121 bytesTotal=0]/n2010-01-18 08:40:05.944 java[35533:903] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs</p>
<p>-ash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dag</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-8370</link>
		<dc:creator>Dag</dc:creator>
		<pubDate>Fri, 15 Jan 2010 16:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-8370</guid>
		<description>Thank you for a very good post on nativeprocess communication!
By using your source code as a starting point I made an application that captures the displayed content on my secondary monitor (extended desktop, in windows) and displays this in a window on my primary monitor. It worked fine for a bit but after playing around for a few minutes I got this error message:

Error: Error #2030: End of file was encountered.
	at flash.desktop::InboundPipe/readBytes()
	at test:ScreenShotService/onStandardOutputData()[C:\Users\DHL\Documents\Flex Builder 3\test\src\ScreenShotService.as:97]

ScreenShotService.as:97 says:

nativeProcess.standardOutput.readBytes(_processBuffer, _processBuffer.length, bLength - _processBuffer.length);

Any clue on what might cause this and how to fix it?</description>
		<content:encoded><![CDATA[<p>Thank you for a very good post on nativeprocess communication!<br />
By using your source code as a starting point I made an application that captures the displayed content on my secondary monitor (extended desktop, in windows) and displays this in a window on my primary monitor. It worked fine for a bit but after playing around for a few minutes I got this error message:</p>
<p>Error: Error #2030: End of file was encountered.<br />
	at flash.desktop::InboundPipe/readBytes()<br />
	at test:ScreenShotService/onStandardOutputData()[C:\Users\DHL\Documents\Flex Builder 3\test\src\ScreenShotService.as:97]</p>
<p>ScreenShotService.as:97 says:</p>
<p>nativeProcess.standardOutput.readBytes(_processBuffer, _processBuffer.length, bLength &#8211; _processBuffer.length);</p>
<p>Any clue on what might cause this and how to fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://corlan.org/2009/11/30/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/comment-page-1/#comment-7728</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 03 Dec 2009 10:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2009/11/28/magnifying-glass-air-2-application-or-how-to-communicate-with-a-java-program-from-air/#comment-7728</guid>
		<description>nice post mihai! i&#039;m particularly interested in media integration with native processes in AIR 2 myself. i actually just made a post tonight about integrating AIR with mplayer to play non-flash supported video formats. i figured you&#039;d be interested and it would also be great to get your feedback!

http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/</description>
		<content:encoded><![CDATA[<p>nice post mihai! i&#8217;m particularly interested in media integration with native processes in AIR 2 myself. i actually just made a post tonight about integrating AIR with mplayer to play non-flash supported video formats. i figured you&#8217;d be interested and it would also be great to get your feedback!</p>
<p><a href="http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/" rel="nofollow">http://mchristoff.com/2009/12/using-the-air-2-0-nativeprocess-api-to-control-mplayer/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

