<?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: Using the Adobe AIR Install Badge</title>
	<atom:link href="http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/feed/" rel="self" type="application/rss+xml" />
	<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/</link>
	<description>ActionScript, Flex, Flash thoughts</description>
	<lastBuildDate>Thu, 22 Dec 2011 16:49:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Jo</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-689</link>
		<dc:creator>Jo</dc:creator>
		<pubDate>Tue, 15 Feb 2011 11:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-689</guid>
		<description>First of all we need a better AIR Install Badge, because the AIR SDK has evolved, some things are deprecated now, like pubID â€“ but still need it in order to make the badge work correctly (currently if you donâ€™t specify an publisherID, youâ€™re asked to install the application although is installed).
For anyone who is struggling take a look http://www.getwebreader.com/2011/02/a-better-custom-air-install-badge-google-analytics/</description>
		<content:encoded><![CDATA[<p>First of all we need a better AIR Install Badge, because the AIR SDK has evolved, some things are deprecated now, like pubID â€“ but still need it in order to make the badge work correctly (currently if you donâ€™t specify an publisherID, youâ€™re asked to install the application although is installed).<br />
For anyone who is struggling take a look <a href="http://www.getwebreader.com/2011/02/a-better-custom-air-install-badge-google-analytics/" rel="nofollow">http://www.getwebreader.com/2011/02/a-better-custom-air-install-badge-google-analytics/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quick Tip: Checking The Version Of An Installed AIR Application at Jozef ChÃºÅ¥ka&#039;s blog</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-671</link>
		<dc:creator>Quick Tip: Checking The Version Of An Installed AIR Application at Jozef ChÃºÅ¥ka&#039;s blog</dc:creator>
		<pubDate>Wed, 25 Aug 2010 15:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-671</guid>
		<description>[...] Using the Adobe AIR Install Badge [...]</description>
		<content:encoded><![CDATA[<p>[...] Using the Adobe AIR Install Badge [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-186</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Sun, 21 Mar 2010 07:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-186</guid>
		<description>It&#039;s clear... I need to contact their system administrator)</description>
		<content:encoded><![CDATA[<p>It&#8217;s clear&#8230; I need to contact their system administrator)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-185</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Sun, 21 Mar 2010 07:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-185</guid>
		<description></description>
		<content:encoded><![CDATA[<p>Hm&#8230; a little Googling point me to this:<br />
&#8216;You can do this by adding the following line to the .htaccess file for your server: (I’m not a server guru, so this may not work in all cases, but it works on the Apache server I’m using.)<br />
AddType application/vnd.adobe.air-application-installer-package+zip .air&#8217;<br />
Ok, i just have access to FTP, friend&#8217;s site hosts on foreign company server, so I look around at <a href="ftp://somesite.com" rel="nofollow">ftp://somesite.com</a> and not find .htaccess file&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-184</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Sun, 21 Mar 2010 06:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-184</guid>
		<description>Thanks Jason! It looks like you are right. I place my .air file to friend&#039;s web server, so appurl now like that
http://www.somesite.com/MyAirApp.air
Ok, then index.html load without errors and I able to click Install Now button, Installer seem to be stars, but anothre message appear.
The application could not be installed. Try installing it again. If the problem persists, contact the application author. Error # 2032. Here is screen
 http://www.clickonf5.org/wp-content/uploads/2009/09/tweetdeck_problem.gif
Strange, withoun badge .air installation run perfectly/</description>
		<content:encoded><![CDATA[<p>Thanks Jason! It looks like you are right. I place my .air file to friend&#8217;s web server, so appurl now like that<br />
<a href="http://www.somesite.com/MyAirApp.air" rel="nofollow">http://www.somesite.com/MyAirApp.air</a><br />
Ok, then index.html load without errors and I able to click Install Now button, Installer seem to be stars, but anothre message appear.<br />
The application could not be installed. Try installing it again. If the problem persists, contact the application author. Error # 2032. Here is screen<br />
 <a href="http://www.clickonf5.org/wp-content/uploads/2009/09/tweetdeck_problem.gif" rel="nofollow">http://www.clickonf5.org/wp-content/uploads/2009/09/tweetdeck_problem.gif</a><br />
Strange, withoun badge .air installation run perfectly/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-183</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Sat, 20 Mar 2010 16:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-183</guid>
		<description>@Igor ... My understanding ( and I could be wrong here ), is that you will need to have an absolute path to your AIR application on a web server.  Not a local file path.  That is to say that your path should start with &#039;http://www....&#039;

Hope that helps.

Jason</description>
		<content:encoded><![CDATA[<p>@Igor &#8230; My understanding ( and I could be wrong here ), is that you will need to have an absolute path to your AIR application on a web server.  Not a local file path.  That is to say that your path should start with &#8216;<a href="http://www...." rel="nofollow">http://www&#8230;.</a>&#8216;</p>
<p>Hope that helps.</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-182</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Sat, 20 Mar 2010 09:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-182</guid>
		<description>Hi! Thanks for great util!
I&#039;ve some problem when creating badge install with it. 
When i load index.html there is message  - Error. Invalid installer parameters.
So, i have my .air file locally,
 C:\seamless\badge\myapp.air
Can this be a problem?</description>
		<content:encoded><![CDATA[<p>Hi! Thanks for great util!<br />
I&#8217;ve some problem when creating badge install with it.<br />
When i load index.html there is message  &#8211; Error. Invalid installer parameters.<br />
So, i have my .air file locally,<br />
 C:\seamless\badge\myapp.air<br />
Can this be a problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bala</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-181</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Fri, 05 Mar 2010 21:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-181</guid>
		<description>i figured out my problem

for anyone else struggling with this: http://forums.adobe.com/message/110535#110535

You can no longer call installApplication() or launchApplication() outside the context of a user-initiated event such as a button click. This change was made to improve the security of the browser API.</description>
		<content:encoded><![CDATA[<p>i figured out my problem</p>
<p>for anyone else struggling with this: <a href="http://forums.adobe.com/message/110535#110535" rel="nofollow">http://forums.adobe.com/message/110535#110535</a></p>
<p>You can no longer call installApplication() or launchApplication() outside the context of a user-initiated event such as a button click. This change was made to improve the security of the browser API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bala</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-180</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Tue, 02 Mar 2010 18:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-180</guid>
		<description>Hey jason, thanks for the suggestion. i do in deed have that in my descriptor file.

I was able to narrow my problem, I think it is a scope issue, maybe you can help ( I am a .NET developer, not so much AS3)

This code snippet is from the AIRBadge.as provided in the AIR SDK

This code works:
private var _appURL: String;
private var _appName: String;
private var _airVersion: String;
				
private var appID:String = &quot;com.dbala.me.appid&quot;; 
private var pubID:String = &quot;&quot;; // 
		
private var launch_args:Array = [&quot;launchFromBrowser&quot;];

&lt;code&gt;

private function onButtonClicked(e:Event):void {
	_air.installApplication( _appURL, _airVersion );
			
}

&lt;/code&gt;

This code does NOT work:

&lt;code&gt;

private function onButtonClicked(e:Event):void {
	_air.getApplicationVersion(appID, pubID, versionDetectCallback);
			
}

private function versionDetectCallback(version:String):void 
{ 
	if (version == null) 
	{
		//this message displays
		root.statusMessage.htmlText = &quot;blablabla installing&quot;;
			
		//this function DOES NOT execute
		_air.installApplication( _appURL, _airVersion );
		
		//this message displays
		root.statusMessage.htmlText = &quot;blablabla after installing&quot;;

			
	} 
	else 
	{ 
		//this message displays
		root.statusMessage.htmlText = &quot;Launching Application..&quot;;
		
		//this function DOES NOT execute
		_air.launchApplication(appID, pubID, launch_args);	
	} 
}

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hey jason, thanks for the suggestion. i do in deed have that in my descriptor file.</p>
<p>I was able to narrow my problem, I think it is a scope issue, maybe you can help ( I am a .NET developer, not so much AS3)</p>
<p>This code snippet is from the AIRBadge.as provided in the AIR SDK</p>
<p>This code works:<br />
private var _appURL: String;<br />
private var _appName: String;<br />
private var _airVersion: String;</p>
<p>private var appID:String = &#8220;com.dbala.me.appid&#8221;;<br />
private var pubID:String = &#8220;&#8221;; // </p>
<p>private var launch_args:Array = ["launchFromBrowser"];</p>
<p><code></p>
<p>private function onButtonClicked(e:Event):void {<br />
	_air.installApplication( _appURL, _airVersion );</p>
<p>}</p>
<p></code></p>
<p>This code does NOT work:</p>
<p><code></p>
<p>private function onButtonClicked(e:Event):void {<br />
	_air.getApplicationVersion(appID, pubID, versionDetectCallback);</p>
<p>}</p>
<p>private function versionDetectCallback(version:String):void<br />
{<br />
	if (version == null)<br />
	{<br />
		//this message displays<br />
		root.statusMessage.htmlText = "blablabla installing";</p>
<p>		//this function DOES NOT execute<br />
		_air.installApplication( _appURL, _airVersion );</p>
<p>		//this message displays<br />
		root.statusMessage.htmlText = "blablabla after installing";</p>
<p>	}<br />
	else<br />
	{<br />
		//this message displays<br />
		root.statusMessage.htmlText = "Launching Application..";</p>
<p>		//this function DOES NOT execute<br />
		_air.launchApplication(appID, pubID, launch_args);<br />
	}<br />
}</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/#comment-179</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Tue, 02 Mar 2010 01:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-179</guid>
		<description>@Bala,

My first suggestion would be to ensure that your AIR application has the &#039;allowBrowserInvocation&#039; set to true in your application descriptor file.  By default it is false, and any calls to &#039;launchApplication()&#039; will simply fail.

Jason</description>
		<content:encoded><![CDATA[<p>@Bala,</p>
<p>My first suggestion would be to ensure that your AIR application has the &#8216;allowBrowserInvocation&#8217; set to true in your application descriptor file.  By default it is false, and any calls to &#8216;launchApplication()&#8217; will simply fail.</p>
<p>Jason</p>
]]></content:encoded>
	</item>
</channel>
</rss>

