<?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: Detecting whether an AIR application has run before</title>
	<atom:link href="http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/</link>
	<description>code = joy</description>
	<lastBuildDate>Thu, 29 Jul 2010 22:29:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jeremy Daley</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-22852</link>
		<dc:creator>Jeremy Daley</dc:creator>
		<pubDate>Wed, 07 Jul 2010 18:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-22852</guid>
		<description>@jr
I&#039;d recommend using the applicationDirectory and not the applicationStorageDirectory if you want stuff to be deleted during uninstall.</description>
		<content:encoded><![CDATA[<p>@jr<br />
I&#8217;d recommend using the applicationDirectory and not the applicationStorageDirectory if you want stuff to be deleted during uninstall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yash Mody</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-17774</link>
		<dc:creator>Yash Mody</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-17774</guid>
		<description>@Jugger,. 

I think this is a windows OS specific problem. It deletes the file on MAC OS I ll verify it on windows though

Yash</description>
		<content:encoded><![CDATA[<p>@Jugger,. </p>
<p>I think this is a windows OS specific problem. It deletes the file on MAC OS I ll verify it on windows though</p>
<p>Yash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jr</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-17498</link>
		<dc:creator>jr</dc:creator>
		<pubDate>Thu, 05 Nov 2009 20:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-17498</guid>
		<description>Is there a way to delete the applicationStorageDirectory on uninstall?

On an app I am working on, I must display an EULA popup the first time the app is run. If a user uninstalls and reinstalls, the EULA must be displayed again.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Is there a way to delete the applicationStorageDirectory on uninstall?</p>
<p>On an app I am working on, I must display an EULA popup the first time the app is run. If a user uninstalls and reinstalls, the EULA must be displayed again.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jugger</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-17425</link>
		<dc:creator>Jugger</dc:creator>
		<pubDate>Wed, 28 Oct 2009 02:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-17425</guid>
		<description>@Yash 
It is not deleted when the application is uninstalled. Is there a solution for this? Thanks!</description>
		<content:encoded><![CDATA[<p>@Yash<br />
It is not deleted when the application is uninstalled. Is there a solution for this? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yash Mody</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-16602</link>
		<dc:creator>Yash Mody</dc:creator>
		<pubDate>Thu, 06 Aug 2009 16:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-16602</guid>
		<description>@Tony, If the file is placed in the appstorage directory (may be assets folder), it gets deleted when the application is uninstalled. With this you can first test if file exists or not. If it doesn&#039;t than it means its a fresh install or reinstall and you can safely delete the existing db file.</description>
		<content:encoded><![CDATA[<p>@Tony, If the file is placed in the appstorage directory (may be assets folder), it gets deleted when the application is uninstalled. With this you can first test if file exists or not. If it doesn&#8217;t than it means its a fresh install or reinstall and you can safely delete the existing db file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony MacDonell</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-16508</link>
		<dc:creator>Tony MacDonell</dc:creator>
		<pubDate>Thu, 09 Jul 2009 20:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-16508</guid>
		<description>This also doesn&#039;t take into account the fact that the user may have had the app installed before and uninstalled.

I am unable to find a way to get around this.</description>
		<content:encoded><![CDATA[<p>This also doesn&#8217;t take into account the fact that the user may have had the app installed before and uninstalled.</p>
<p>I am unable to find a way to get around this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikechambers</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-9864</link>
		<dc:creator>mikechambers</dc:creator>
		<pubDate>Fri, 09 Nov 2007 13:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-9864</guid>
		<description>&gt;Is it possible to save data to a Local SharedObject in AIR?

Yes, you can use either a local shared object, or the encrypted data store.

Either would work, and are pretty good at storing name / value pairs.

mike chambers

mesh@adobe.com</description>
		<content:encoded><![CDATA[<p>>Is it possible to save data to a Local SharedObject in AIR?</p>
<p>Yes, you can use either a local shared object, or the encrypted data store.</p>
<p>Either would work, and are pretty good at storing name / value pairs.</p>
<p>mike chambers</p>
<p><a href="mailto:mesh@adobe.com">mesh@adobe.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikechambers</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-9863</link>
		<dc:creator>mikechambers</dc:creator>
		<pubDate>Fri, 09 Nov 2007 13:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-9863</guid>
		<description>Yeah, you could use locate SQLite DB, sharedobjects, or the encrypted data store, although I think that the DB would be overkill (and more complex than it need to be).

mike chambers

mesh@adobe.com</description>
		<content:encoded><![CDATA[<p>Yeah, you could use locate SQLite DB, sharedobjects, or the encrypted data store, although I think that the DB would be overkill (and more complex than it need to be).</p>
<p>mike chambers</p>
<p><a href="mailto:mesh@adobe.com">mesh@adobe.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Ritchey</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-9862</link>
		<dc:creator>Ross Ritchey</dc:creator>
		<pubDate>Fri, 09 Nov 2007 12:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-9862</guid>
		<description>Would it not be wiser, while a bit more complex, to use either
   1. The local SQLite database
   2. The encrypted local store
to store this type of information.  Then it could possibly be less likely that the user will delete it.  I know that I am usually less likely to delete a .db file in a program directory than a .txt file that I can easily open and look at.

Or perhaps it could be possible to create a &quot;temporary&quot; database that could persist through multiple sessions?  That way the information would never even get saved out to a file</description>
		<content:encoded><![CDATA[<p>Would it not be wiser, while a bit more complex, to use either<br />
   1. The local SQLite database<br />
   2. The encrypted local store<br />
to store this type of information.  Then it could possibly be less likely that the user will delete it.  I know that I am usually less likely to delete a .db file in a program directory than a .txt file that I can easily open and look at.</p>
<p>Or perhaps it could be possible to create a &#8220;temporary&#8221; database that could persist through multiple sessions?  That way the information would never even get saved out to a file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dru Kepple</title>
		<link>http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/comment-page-1/#comment-9845</link>
		<dc:creator>Dru Kepple</dc:creator>
		<pubDate>Thu, 08 Nov 2007 16:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikechambers.com/blog/2007/11/07/detecting-whether-an-air-application-has-run-before/#comment-9845</guid>
		<description>Simple enough...Is it possible to save data to a Local SharedObject in AIR?  Either that, or some form of &quot;OS-standard&quot; preference file?  Coming from (minimal) Cocoa programming experience, it&#039;s pretty easy to save preference data to a .plist file.  It&#039;s almost as easy as using an LSO... Just wondering if a mechanism like that exists for AIR, which might be a little more fool proof than just writing a single file to an almost arbitrary location, but instead in the user&#039;s preference directory.

Just kinda thinking out loud.</description>
		<content:encoded><![CDATA[<p>Simple enough&#8230;Is it possible to save data to a Local SharedObject in AIR?  Either that, or some form of &#8220;OS-standard&#8221; preference file?  Coming from (minimal) Cocoa programming experience, it&#8217;s pretty easy to save preference data to a .plist file.  It&#8217;s almost as easy as using an LSO&#8230; Just wondering if a mechanism like that exists for AIR, which might be a little more fool proof than just writing a single file to an almost arbitrary location, but instead in the user&#8217;s preference directory.</p>
<p>Just kinda thinking out loud.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
