<?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: Can an AIR application restart itself?</title>
	<atom:link href="http://www.colettas.org/?feed=rss2&#038;p=267" rel="self" type="application/rss+xml" />
	<link>http://www.colettas.org/?p=267</link>
	<description>tips on Flex, news about Noteflight, musings on the web</description>
	<lastBuildDate>Wed, 01 Sep 2010 13:35:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: How to restart an AIR application from code &#124; hufkens.net</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-186204</link>
		<dc:creator>How to restart an AIR application from code &#124; hufkens.net</dc:creator>
		<pubDate>Tue, 10 Mar 2009 11:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-186204</guid>
		<description>[...] Joy of Flex blog wrote an article &#8220;Can an AIR application restart itself?&#8221; I tried it out, but this [...]</description>
		<content:encoded><![CDATA[<p>[...] Joy of Flex blog wrote an article &#8220;Can an AIR application restart itself?&#8221; I tried it out, but this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: czBin&#8217;s RIA Blog &#187; Blog Archive &#187; AIR程序可以自动重启吗？</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-158661</link>
		<dc:creator>czBin&#8217;s RIA Blog &#187; Blog Archive &#187; AIR程序可以自动重启吗？</dc:creator>
		<pubDate>Mon, 01 Dec 2008 09:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-158661</guid>
		<description>[...] http://www.colettas.org/?p=267 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.colettas.org/?p=267" rel="nofollow">http://www.colettas.org/?p=267</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim hayes</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-158229</link>
		<dc:creator>jim hayes</dc:creator>
		<pubDate>Sun, 30 Nov 2008 00:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-158229</guid>
		<description>Apologies, the info I provided for getting the application and publishers ID is now old and out of date, for current versions of AIR it&#039;s simpler :

var appID:String = nativeApplication.nativeApplication.applicationID;
	    	var pubID:String = NativeApplication.nativeApplication.publisherID;</description>
		<content:encoded><![CDATA[<p>Apologies, the info I provided for getting the application and publishers ID is now old and out of date, for current versions of AIR it&#8217;s simpler :</p>
<p>var appID:String = nativeApplication.nativeApplication.applicationID;<br />
	    	var pubID:String = NativeApplication.nativeApplication.publisherID;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Kwiatkowski</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-143101</link>
		<dc:creator>Nick Kwiatkowski</dc:creator>
		<pubDate>Sun, 12 Oct 2008 13:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-143101</guid>
		<description>Have you thought about dropping a sophomore file on the filesystem and then trying your launchApplication?  In the section of your app where you check to see a version is already running, you could check to see if the sophomore file exists and ignore the checking code (making sure to delete the file on the filesystem at the same time).  

In a .NET app I had to write a long time ago, we used the above approach.  The file we ended up writing to disk was actually a struct of the information that we wanted to send to our server.  We let the clean copy of our app send the data (we were under the assumption that one of the errors that could occur could prevent us from communicating properly to our syslog server).  

Just a thought!</description>
		<content:encoded><![CDATA[<p>Have you thought about dropping a sophomore file on the filesystem and then trying your launchApplication?  In the section of your app where you check to see a version is already running, you could check to see if the sophomore file exists and ignore the checking code (making sure to delete the file on the filesystem at the same time).  </p>
<p>In a .NET app I had to write a long time ago, we used the above approach.  The file we ended up writing to disk was actually a struct of the information that we wanted to send to our server.  We let the clean copy of our app send the data (we were under the assumption that one of the errors that could occur could prevent us from communicating properly to our syslog server).  </p>
<p>Just a thought!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javier Julio</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-142296</link>
		<dc:creator>Javier Julio</dc:creator>
		<pubDate>Fri, 10 Oct 2008 00:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-142296</guid>
		<description>I second George&#039;s comment. Well said. I&#039;ve been wanting to do this for awhile since I had thought of a nice component this would make. Just like you see in Mac or Windows, you get an alert style prompt to send an error report to the server. But without globally error handling this is near impossible. If possible extremely painful.</description>
		<content:encoded><![CDATA[<p>I second George&#8217;s comment. Well said. I&#8217;ve been wanting to do this for awhile since I had thought of a nice component this would make. Just like you see in Mac or Windows, you get an alert style prompt to send an error report to the server. But without globally error handling this is near impossible. If possible extremely painful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Hayes</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-142283</link>
		<dc:creator>Jim Hayes</dc:creator>
		<pubDate>Thu, 09 Oct 2008 23:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-142283</guid>
		<description>// get applicationID and publisher ID //
var descriptor:XML = nativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = descriptor.namespaceDeclarations()[0];	var appID:String = descriptor.ns::applicationID;
var pubID:String = descriptor.ns::publisherID;</description>
		<content:encoded><![CDATA[<p>// get applicationID and publisher ID //<br />
var descriptor:XML = nativeApplication.nativeApplication.applicationDescriptor;<br />
var ns:Namespace = descriptor.namespaceDeclarations()[0];	var appID:String = descriptor.ns::applicationID;<br />
var pubID:String = descriptor.ns::publisherID;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-142264</link>
		<dc:creator>George</dc:creator>
		<pubDate>Thu, 09 Oct 2008 22:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-142264</guid>
		<description>David,

I&#039;m curious how you globally trap &quot;unrecoverable errors&quot; and report meaningful information back to your servers for diagnosis.  I&#039;m developing a moderate size Flex/AIR app and the lack of a global error handling mechanism is quite frustrating.  This is one of the most glaring oversights in Flex/AIR.  

I&#039;m curious how you handled this in Buzzword.  I&#039;ve tried numerous approaches to global error handling in Flex, but none are ideal.  And even if one could catch all errors globally, stack trace information is not normally available making diagnosis much harder.  

This could and should be much easier...</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>I&#8217;m curious how you globally trap &#8220;unrecoverable errors&#8221; and report meaningful information back to your servers for diagnosis.  I&#8217;m developing a moderate size Flex/AIR app and the lack of a global error handling mechanism is quite frustrating.  This is one of the most glaring oversights in Flex/AIR.  </p>
<p>I&#8217;m curious how you handled this in Buzzword.  I&#8217;ve tried numerous approaches to global error handling in Flex, but none are ideal.  And even if one could catch all errors globally, stack trace information is not normally available making diagnosis much harder.  </p>
<p>This could and should be much easier&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 创建一个可以自我启动的AIR应用是否可能？ &#124; 中文Flex例子</title>
		<link>http://www.colettas.org/?p=267&#038;cpage=1#comment-142193</link>
		<dc:creator>创建一个可以自我启动的AIR应用是否可能？ &#124; 中文Flex例子</dc:creator>
		<pubDate>Thu, 09 Oct 2008 14:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.colettas.org/?p=267#comment-142193</guid>
		<description>[...] http://www.colettas.org/?p=267 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.colettas.org/?p=267" rel="nofollow">http://www.colettas.org/?p=267</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
