<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cor de chasse&#039;s Blog</title>
	<atom:link href="http://blog.cordechasse.fr/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cordechasse.fr</link>
	<description>Blog sur le developpement flash, mobile et le cor de chasse</description>
	<lastBuildDate>Wed, 09 May 2012 12:47:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Heineken Detect&#8217;Fraîcheur : is my beer cold enough?</title>
		<link>http://blog.cordechasse.fr/2012/05/09/heineken-detectfraicheur-is-my-beer-cold-enough/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=heineken-detectfraicheur-is-my-beer-cold-enough</link>
		<comments>http://blog.cordechasse.fr/2012/05/09/heineken-detectfraicheur-is-my-beer-cold-enough/#comments</comments>
		<pubDate>Wed, 09 May 2012 12:39:08 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=263</guid>
		<description><![CDATA[Heineken Detect&#8217;Fraicheur is an iPhone App that can tell if your beer is cold enough. &#160; Each Heineken DraughtKeg (can of 5 liters of beer) has got a thermometer drawn on its back. This thermometer  reacts to the temperature of the beer inside the draughtKeg by turning from grey (hot) to blue (cold). The application [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Heineken Detect'Fraicheur" href="http://itunes.apple.com/fr/app/detectfraicheur/id523157227" target="_blank">Heineken Detect&#8217;Fraicheur </a>is an iPhone App that can tell if your beer is cold enough.</p>
<p><center><a href="http://itunes.apple.com/fr/app/detectfraicheur/id523157227" target="_blank"><img class="alignnone size-full wp-image-264" title="Heineken Detect'Fraicheur screenshot" src="http://blog.cordechasse.fr/wp-content/uploads/2012/05/blog.jpg" alt="" width="472" height="228" /></a></center><center></center>&nbsp;</p>
<p>Each <a title="Heineken DraughtKeg" href="https://www.google.fr/search?q=Heineken+DraughtKeg&amp;um=1&amp;tbm=isch&amp;biw=1714&amp;bih=904&amp;sei=umSqT91zk5jUBYTUtJYE" target="_blank">Heineken DraughtKeg</a> (can of 5 liters of beer) has got a thermometer drawn on its back. This thermometer  reacts to the temperature of the beer inside the draughtKeg by turning from grey (hot) to blue (cold).<br />
The application helps the beer-lovers to know if the beer is cold enough by scanning the pattern and displaying the result.</p>
<p>I&#8217;ve developed this full-native application for <a title="megalo-company" href="http://www.megalo-company.com/" target="_blank">megalo&amp;company</a>.</p>
<p>If you don&#8217;t have any Heineken DraughtKeg, you can still test the app with these pictures (scan them directly on your computer screen) :</p>
<ul>
<li><a title="Heineken DraughtKeg Hot" href="http://www.cordechasse.fr/detectfraicheur/HOT.jpg" target="_blank">http://www.cordechasse.fr/detectfraicheur/HOT.jpg</a></li>
<li><a title="Heineken DraughtKeg Cold" href="http://www.cordechasse.fr/detectfraicheur/COLD.jpg" target="_blank">http://www.cordechasse.fr/detectfraicheur/COLD.jpg</a></li>
<li><a title="Heineken DraughtKeg 10 Hours" href="http://www.cordechasse.fr/detectfraicheur/TenHours.jpg" target="_blank">http://www.cordechasse.fr/detectfraicheur/TenHours.jpg</a></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2012/05/09/heineken-detectfraicheur-is-my-beer-cold-enough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Human Energy iPhone Application</title>
		<link>http://blog.cordechasse.fr/2012/04/02/human-energy-iphone-application/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=human-energy-iphone-application</link>
		<comments>http://blog.cordechasse.fr/2012/04/02/human-energy-iphone-application/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 08:29:03 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=248</guid>
		<description><![CDATA[My last iPhone application is available on the AppStore : He Drink. This application, first official of Human Energy, focus on music and team news. Users can listen to the official streamed Human Energy radio (using multitasking and the OS music player fonctionalities), watch the latest news of the Human Energy sports team (videos and photos). [...]]]></description>
			<content:encoded><![CDATA[<p>My last iPhone application is available on the AppStore : <a title="He Drink" href="http://itunes.apple.com/us/app/he-drink/id499238929" target="_blank">He Drink</a>.</p>
<p><center></center></p>
<p style="text-align: center;"><a href="http://itunes.apple.com/us/app/he-drink/id499238929"><img class="aligncenter size-full wp-image-251" title="He Drink iPhone" src="http://blog.cordechasse.fr/wp-content/uploads/2012/04/humanEnergy.jpg" alt="" width="317" height="231" /></a></p>
<p>This application, first official of <a title="Human Energy" href="http://www.he-drink.com/" target="_blank">Human Energy</a>, focus on music and team news.<br />
Users can listen to the official streamed Human Energy radio (using multitasking and the OS music player fonctionalities), watch the latest news of the Human Energy sports team (videos and photos).</p>
<p><a title="Eiie design" href="http://www.eiiedesign.com/" target="_blank">Eiie design</a> is behind the great graphics and I did all the development (Objective-C).</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2012/04/02/human-energy-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>L&#8217;originale expérience Franche-Comté just released</title>
		<link>http://blog.cordechasse.fr/2012/03/07/a-new-project-released-loriginale-experience-franche-comte/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-new-project-released-loriginale-experience-franche-comte</link>
		<comments>http://blog.cordechasse.fr/2012/03/07/a-new-project-released-loriginale-experience-franche-comte/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 09:46:38 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=240</guid>
		<description><![CDATA[L&#8217;originale expérience Franche-Comté is a website to promote Franche-Comté, area in the Est of France. Franche-Comté &#171;&#160;stars&#160;&#187; (Olympic medalist in ski, famous singers etc.) present how great Franche-Comté is, in video interviews. Users can post their own success-story by uploading videos and photos. SamYStudiO and I (both at l&#8217;étrange fabrique) worked together to develop the [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Originale expérience Franche-Comté" href="http://www.originalefranchecomte.fr/originale-experience/">L&#8217;originale expérience Franche-Comté</a> is a website to promote Franche-Comté, area in the Est of France.</p>
<p>Franche-Comté &laquo;&nbsp;stars&nbsp;&raquo; (Olympic medalist in ski, famous singers etc.) present how great Franche-Comté is, in video interviews.<br />
Users can post their own success-story by uploading videos and photos.</p>
<p><center><a href="http://www.originalefranchecomte.fr/originale-experience/"><img class="aligncenter size-full wp-image-241" title="L'originale Expérience Franche-Comté" src="http://blog.cordechasse.fr/wp-content/uploads/2012/03/Capture-d’écran-2012-03-07-à-10.02.png" alt="" width="425" height="278" /></a></center></p>
<p><a title="samystudio" href="http://blog.samystudio.net/" target="_blank">SamYStudiO</a> and I (both at <a href="http://www.letrangefabrique.com/" target="_blank">l&#8217;étrange fabrique</a>) worked together to develop the front-end part of this full-flash experience website. We worked for <a href="http://www.nativecommunications.com/" target="_blank">Native Communications</a> based in Lyon, France.</p>
<p>The main features of this website :</p>
<ul>
<li>fullflash</li>
<li>immersive homepage with huge infinite paralaxe</li>
<li>full swfadress (thank&#8217;s Gaïa Framework)</li>
<li>youtube players</li>
<li>share with Facebook and Twitter</li>
<li>upload photos and videos</li>
<li>etc.</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2012/03/07/a-new-project-released-loriginale-experience-franche-comte/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freelance!</title>
		<link>http://blog.cordechasse.fr/2011/10/16/freelance/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=freelance</link>
		<comments>http://blog.cordechasse.fr/2011/10/16/freelance/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 08:30:20 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=225</guid>
		<description><![CDATA[After 7 years spent at megalo&#38;company, I&#8217;m starting a new life as freelance. I join l&#8217;étrange fabrique, community of freelancers and friends. If you&#8217;ve got challenging/creative/innovative Flash or iPhone projects, I&#8217;m your man! You can contact me : nicolas(at)cordechasse.fr]]></description>
			<content:encoded><![CDATA[<p>After 7 years spent at megalo&amp;company, I&#8217;m starting a new life as freelance.<br />
I join<a title="l'étrange fabrique" href="http://letrangefabrique.com/"> l&#8217;étrange fabrique</a>, community of freelancers and friends.</p>
<p>If you&#8217;ve got challenging/creative/innovative Flash or iPhone projects, I&#8217;m your man!</p>
<p>You can contact me : nicolas(at)cordechasse.fr</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2011/10/16/freelance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ANT &#8211; How to enable FTP tasks</title>
		<link>http://blog.cordechasse.fr/2011/09/18/ant-how-to-enable-ftp-tasks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ant-how-to-enable-ftp-tasks</link>
		<comments>http://blog.cordechasse.fr/2011/09/18/ant-how-to-enable-ftp-tasks/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 17:28:58 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[Ant Task]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=197</guid>
		<description><![CDATA[ANT comes with a few tasks that can save you a lot of time. One of them, which is really usefull, is the FTP task : &#60;target name="01. Upload to ftp"&#62; &#160;&#160;&#160;&#160;&#60;ftp server="ftp.mydomain" userid="login" password="password" verbose="true"&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;fileset dir="bin"/&#62; &#160;&#160;&#160;&#160;&#60;/ftp&#62; &#60;/target&#62; If you&#8217;ve got the anoying error : Could not create type ftp due to java.lang.NoClassDefFoundError: [...]]]></description>
			<content:encoded><![CDATA[<p>ANT comes with a few tasks that can save you a lot of time.</p>
<p>One of them, which is really usefull, is the FTP task :<br />
<code class="prettyprint"><br />
&lt;target name="01. Upload to ftp"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;ftp server="ftp.mydomain" userid="login" password="password" verbose="true"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;fileset dir="bin"/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ftp&gt;<br />
&lt;/target&gt;</code></p>
<p>If you&#8217;ve got the anoying error : <em>Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig</em>, you need to add the <a title="Ant commons-net" href="http://commons.apache.org/net/download_net.cgi" target="_blank">commons-net-XXX.jar</a> library in the ANT classpath.</p>
<p><span id="more-197"></span></p>
<p>To add the library, open the Preferences window of Eclipse, and add the .jar in the &laquo;&nbsp;Ant Home Entries&nbsp;&raquo;  via the button &laquo;&nbsp;Add External JARs&#8230;&nbsp;&raquo; :</p>
<p>&nbsp;</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-199" title="antFTP" src="http://blog.cordechasse.fr/wp-content/uploads/2011/09/antFTP.jpg" alt="Screenshot Eclipse Preferences window" width="562" height="425" /></p>
<p>&nbsp;</p>
<p>I would have liked to add the .jar without changing the configuration of Eclipse, such as the ant-contrib :<br />
<code class="prettyprint"><br />
&lt;taskdef resource="net/sf/antcontrib/antcontrib.properties"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;classpath&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement location="/usr/share/java/lib/ant-contrib-0.3.jar"/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classpath&gt;<br />
&lt;/taskdef&gt;<br />
</code><br />
but I don&#8217;t find a way to do it.</p>
<p>If someone knows a way, tell me!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2011/09/18/ant-how-to-enable-ftp-tasks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ANT + AIR &#8211; Auto update build version</title>
		<link>http://blog.cordechasse.fr/2011/08/15/ant-air-auto-update-build-version/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ant-air-auto-update-build-version</link>
		<comments>http://blog.cordechasse.fr/2011/08/15/ant-air-auto-update-build-version/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 13:12:39 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Ant Task]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=145</guid>
		<description><![CDATA[When you develop an AIR application, the version number is really important. Instead of updating on your own, here is an Ant task that auto-increment the build version of your application. It will : build a version.property file where the build version is stored auto-increment build version at each compilation update descriptor.xml file when generating [...]]]></description>
			<content:encoded><![CDATA[<p>When you develop an AIR application, the version number is really important.</p>
<p>Instead of updating on your own, here is an Ant task that auto-increment the build version of your application.</p>
<p>It will :</p>
<ul>
<li>build a version.property file where the build version is stored</li>
<li>auto-increment build version at each compilation</li>
<li>update descriptor.xml file when generating the final AIR file</li>
<li>generate an AIR file with version included in its name (ex: myApp_1_0_256.air)</li>
</ul>
<p><span id="more-145"></span></p>
<p><strong>Before starting, what you have to know is :</strong></p>
<ol>
<li>A version number is made of 3 numbers : major, minor and build (ex: 1.2.569).<br />
The ant task will only update the build version, major and minor must be updated &laquo;&nbsp;by hand&nbsp;&raquo;.</li>
<li>I use FDT and FDT Ant task to compile and generate AIR file. You can have a look at the documentation here :<a href="http://fdt.powerflasher.com/docs/FDT_Ant_Tasks">http://fdt.powerflasher.com/docs/FDT_Ant_Tasks</a>.</li>
</ol>
<p><strong>A simple AIR application :</strong></p>
<div>I&#8217;ve made a very simple AIR app.</div>
<p><img class="aligncenter size-full wp-image-147" title="screenshot_air" src="http://blog.cordechasse.fr/wp-content/uploads/2011/08/screenshot_air.jpg" alt="" width="350" height="255" /></p>
<p>The AS3 code is :<br />
<code class="prettyprint"><br />
package fr.cordechasse.ApplicationTest {<br />
&nbsp;&nbsp;&nbsp;&nbsp;import flash.display.Sprite;<br />
&nbsp;&nbsp;&nbsp;&nbsp;import flash.text.TextField;<br />
&nbsp;&nbsp;&nbsp;&nbsp;import flash.text.TextFieldAutoSize;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;public class AIRProjectUpdateBuildVersion extends Sprite {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public function AIRProjectUpdateBuildVersion() {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//create a simple sprite holder<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var holder : Sprite = new Sprite();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addChild(holder);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//create a textfield<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var txt : TextField = new TextField();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt.autoSize = TextFieldAutoSize.LEFT;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt.multiline = false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt.text = "I'am a simple AIR app";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt.x = 3;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;holder.addChild(txt);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//add a background color<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;holder.graphics.beginFill(0xCCCCCC);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;holder.graphics.drawRect(0, 0, txt.width + 8, txt.height);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;holder.graphics.endFill();</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//center the holder<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;holder.x = (stage.stageWidth - holder.width) / 2;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;holder.y = (stage.stageHeight - holder.height) / 2;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}<br />
</code><br />
<strong>The ANT Tasks :</strong></p>
<p>We are going to build this set of ANT Tasks :</p>
<p><img class="aligncenter size-full wp-image-150" title="air_anttasks_list" src="http://blog.cordechasse.fr/wp-content/uploads/2011/08/air_anttasks_list.jpg" alt="" width="492" height="212" /></p>
<p><strong>Build.properties</strong></p>
<p>Then we create a build.properties file which contains all the variables of the ant task :<br />
<code class="prettyprint"><br />
#####################################################<br />
# PROJECT PARAMS<br />
#####################################################</p>
<p>############### VERSION NUMBERS ###############<br />
app.major=0<br />
app.minor=0</p>
<p>############### VERSION VARS ###############<br />
file.descriptor = bin/AIRProjectUpdateBuildVersion-app.xml<br />
xml.versionNumber.open = &lt;versionNumber&gt;<br />
xml.versionNumber.close = &lt;/versionNumber&gt;<br />
version.pattern = &lt;versionNumber&gt;[0-9]*.[0-9]*.[0-9]*.&lt;/versionNumber&gt;<br />
</code></p>
<p><strong>Build.xml</strong><br />
<code class="prettyprint"><br />
&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;!-- **************************************<br />
project : AIRProject - autoUpdate build version<br />
author : nbush<br />
date : 15.08.2011<br />
website : blog.cordechasse.fr<br />
******************************************* --&gt;</p>
<p>&lt;project name="AIRProjectUpdateBuildVersion" basedir="../."&gt;</p>
<p>&lt;!-- adds the build properties --&gt;<br />
&lt;property file="ant/build.properties" /&gt;</p>
<p>&lt;fdt.loadProjectProperties projectname="AIRProject-UpdateBuildVersion" /&gt;</p>
<p>&lt;!-- Compile and test in ADL --&gt;<br />
&lt;target name="01. Compile and test" depends="02. Increment build version"&gt;<br />
&nbsp;&nbsp;&lt;fdt.launch.application projectname="${FDTProject}"<br />
&nbsp;&nbsp;mainclass="${FDTProjectPath}/src/fr/cordechasse/ApplicationTest/AIRProjectUpdateBuildVersion.as"<br />
&nbsp;&nbsp;target="${FDTProjectPath}/bin/AIRProjectUpdateBuildVersion.swf"<br />
&nbsp;&nbsp;debug="true"<br />
&nbsp;&nbsp;startswf="true"<br />
&nbsp;&nbsp;swflauncher="AIR Debug Launcher"<br />
&nbsp;&nbsp;swflocation="bin/AIRProjectUpdateBuildVersion.swf" /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;!-- increment build version --&gt;<br />
&lt;target name="02. Increment build version"&gt;<br />
&nbsp;&nbsp;&lt;propertyfile file="ant/version.properties"&gt;<br />
&nbsp;&nbsp;&lt;entry key="app.build" type="int" default="0" operation="+" /&gt;<br />
&nbsp;&nbsp;&lt;/propertyfile&gt;<br />
&lt;/target&gt;</p>
<p>&lt;!-- Display current version --&gt;<br />
&lt;target name="03. Display version number"&gt;<br />
&nbsp;&nbsp;&lt;property file="ant/version.properties" /&gt;<br />
&nbsp;&nbsp;&lt;property name="app.version" value="current version is ${app.major}.${app.minor}.${app.build}"/&gt;<br />
&nbsp;&nbsp;&lt;echo message="${app.version}" /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;target name="04. Update Descriptor file"&gt;<br />
&nbsp;&nbsp;&lt;!-- get the full version --&gt;<br />
&nbsp;&nbsp;&lt;property file="ant/version.properties" /&gt;<br />
&nbsp;&nbsp;&lt;property name="app.version" value="${app.major}.${app.minor}.${app.build}"/&gt;</p>
<p>&nbsp;&nbsp;&lt;!-- update the descriptor XML file --&gt;<br />
&nbsp;&nbsp;&lt;replaceregexp byline="true"&gt;<br />
&nbsp;&nbsp;&lt;regexp pattern="${version.pattern}"/&gt;<br />
&nbsp;&nbsp;&lt;substitution expression="${xml.versionNumber.open}${app.version}${xml.versionNumber.close}"/&gt;<br />
&nbsp;&nbsp;&lt;fileset file="${file.descriptor}" /&gt;<br />
&nbsp;&nbsp;&lt;/replaceregexp&gt;</p>
<p>&nbsp;&nbsp;&lt;echo message="Descriptor file is updated to version : ${app.version}" /&gt;<br />
&lt;/target&gt;</p>
<p>&lt;target name="05. Create AIR file" depends="04. Update Descriptor file"&gt;<br />
&nbsp;&nbsp;&lt;!-- get the air file name --&gt;<br />
&nbsp;&nbsp;&lt;property file="ant/version.properties" /&gt;<br />
&nbsp;&nbsp;&lt;property name="app.airfilename" value="deploy/myAIRApp_${app.major}_${app.minor}_${app.build}.air"/&gt;</p>
<p>&nbsp;&nbsp;&lt;!-- create AIR file --&gt;<br />
&nbsp;&nbsp;&lt;fdt.release.AirApplication projectname="${FDTProject}"<br />
&nbsp;&nbsp;output="${app.airfilename}"<br />
&nbsp;&nbsp;descriptorpath="${FDTProjectPath}/bin/AIRProjectUpdateBuildVersion-app.xml"<br />
&nbsp;&nbsp;certificatepath="${FDTProjectPath}/bin/TempCertificate.p12"<br />
&nbsp;&nbsp;certificatechoosen="1"<br />
&nbsp;&nbsp;certificatestorepassword="password"<br />
&nbsp;&nbsp;assetfilelist="${FDTProjectPath}/bin/AIRProjectUpdateBuildVersion.swf;AIRProjectUpdateBuildVersion.swf"<br />
&nbsp;&nbsp;assetdirectorylist="${FDTProjectPath}/bin" /&gt;<br />
&lt;/target&gt;<br />
&lt;/project&gt;<br />
</code><br />
<strong>How does it work ?</strong></p>
<p>To update the build version, we create a version.properties file. At each call, the version number is incremented :<br />
<code class="prettyprint"><br />
&lt;propertyfile file="ant/version.properties"&gt;<br />
&lt;entry key="app.build" type="int" default="0" operation="+" /&gt;<br />
&lt;/propertyfile&gt;<br />
</code></p>
<p>Then, when we create the AIR file, we update the descriptor file :<br />
<code class="prettyprint"><br />
&lt;target name="05. Create AIR file" depends="04. Update Descriptor file"&gt;<br />
</code></p>
<p>, and generate an AIR file with a name that includes the build version :<br />
<code class="prettyprint"><br />
&lt;!-- get the air file name --&gt;<br />
&lt;property file="ant/version.properties" /&gt;<br />
&lt;property name="app.airfilename" value="deploy/myAIRApp_${app.major}_${app.minor}_${app.build}.air"/&gt;<br />
</code></p>
<p><strong>Sources Files :</strong></p>
<p>You can get the source files here : <a href="http://blog.cordechasse.fr/wp-content/uploads/2011/08/AIRProject-UpdateBuildVersion.zip">http://blog.cordechasse.fr/wp-content/uploads/2011/08/AIRProject-UpdateBuildVersion.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2011/08/15/ant-air-auto-update-build-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>www.theplaceto.be in the top 10 extraordinary</title>
		<link>http://blog.cordechasse.fr/2011/07/28/www-theplaceto-be-in-the-top-10-extraordinary/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=www-theplaceto-be-in-the-top-10-extraordinary</link>
		<comments>http://blog.cordechasse.fr/2011/07/28/www-theplaceto-be-in-the-top-10-extraordinary/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 21:20:19 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.cordechasse.fr/?p=132</guid>
		<description><![CDATA[www.theplaceto.be is a website to promote Flandre, in Belgium. The website was released in march, but today, I just found that it was in the top 10 extraordinary websites according to www.wemakethemclick.com! On this project, I lead a team of 2 flash developers. I made all the architecture, the &#171;&#160;diamond engine&#160;&#187; (display of pictures in diamond [...]]]></description>
			<content:encoded><![CDATA[<p><a title="theplaceto.be website" href="http://www.theplaceto.be/" target="_blank">www.theplaceto.be</a> is a website to promote Flandre, in Belgium.</p>
<p>The website was released in march, but today, I just found that it was in <a title="Top 10 extraordinary" href="http://wemakethemclick.com/2011/07/top-10-extraordinary-websites/" target="_blank">the top 10 extraordinary websites</a> according to <a title="We make them click" href="http://wemakethemclick.com" target="_blank">www.wemakethemclick.com</a>!</p>
<p><a href="http://www.theplaceto.be/"><img class="aligncenter size-full wp-image-133" title="theplacetobe" src="http://blog.cordechasse.fr/wp-content/uploads/2011/07/theplacetobe.jpg" alt="" width="424" height="300" /></a></p>
<p>On this project, I lead a team of 2 flash developers.<br />
I made all the architecture, the &laquo;&nbsp;diamond engine&nbsp;&raquo; (display of pictures in diamond shape, transitions, etc), and few other parts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2011/07/28/www-theplaceto-be-in-the-top-10-extraordinary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gobelins AS3 slides</title>
		<link>http://blog.cordechasse.fr/2010/05/04/gobelins-as3-slides/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gobelins-as3-slides</link>
		<comments>http://blog.cordechasse.fr/2010/05/04/gobelins-as3-slides/#comments</comments>
		<pubDate>Tue, 04 May 2010 15:46:26 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[gobelins]]></category>

		<guid isPermaLink="false">http://nicob.info/blog/gobelins-as3-slides/</guid>
		<description><![CDATA[This year I taught for the first time : 56 hours of Actionscript3 lessons at the Gobelins school (in Annecy, France). It was really a great experience, I hope the students enjoyed as much as I did. Here are the slides :]]></description>
			<content:encoded><![CDATA[<p>This year I taught for the first time : 56 hours of Actionscript3 lessons at the <a href="http://www.haute-savoie.cci.fr/se-former/formation-multimedia.html">Gobelins school</a> (in Annecy, France).<br />
It was really a great experience, I hope the students enjoyed as much as I did.</p>
<p>Here are the slides :</p>
<p align="center"><a title="Slides AS3" href="http://cordechasse.fr/gobelins-slideshow/" target="_blank"><img src="http://nicob.info/blog/wp-content/uploads/2010/05/slideshow.jpg" alt="slideshow" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2010/05/04/gobelins-as3-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still alive, yes, yes&#8230;</title>
		<link>http://blog.cordechasse.fr/2010/02/21/still-alive-yes-yes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=still-alive-yes-yes</link>
		<comments>http://blog.cordechasse.fr/2010/02/21/still-alive-yes-yes/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 11:56:16 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://nicob.info/blog/still-alive-yes-yes/</guid>
		<description><![CDATA[I know it&#8217;s been a really long time I haven&#8217;t done anything on this blog, but later is better than never, right? In fact, I haven&#8217;t written anything because I&#8217;ve been really busy at work (I&#8217;m working for Megalo(s)) with huge and interesting projects and I&#8217;m teaching AS3 at a fabulous multimedia french school : [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s been a really long time I haven&#8217;t done anything on this blog, but later is better than never, right?</p>
<p>In fact, I haven&#8217;t written anything because I&#8217;ve been really busy at work (I&#8217;m working for <a href="http://www.megalos.net" target="_blank">Megalo(s)</a>)  with huge and interesting projects and I&#8217;m teaching AS3 at a fabulous multimedia french school : <a href="http://www.haute-savoie.cci.fr/se-former/formation-multimedia.html" target="_blank">Gobelins</a> (recently renamed CCI Formation).</p>
<p>I led the flash development of fullflash websites,  most revelants are :</p>
<p><a title="DeDietrich" href="http://www.dedietrich-electromenager.fr/FRANCE/#/home/" target="_blank"><img src="http://nicob.info/blog/wp-content/uploads/2010/02/dedietrich.jpg" alt="DeDietrich screenshot" /></a><br />
<a title="DeDietrich" href="http://www.dedietrich-electromenager.fr/FRANCE/#/home/" target="_blank">De Dietrich HouseHold appliance</a>(team of 3 developers)</p>
<p>&nbsp;</p>
<p><a title="pureDKNY fragrances teaser" href="http://www.puredknyfragrances.com/gb/goodies.html" target="_blank"><img src="http://nicob.info/blog/wp-content/uploads/2010/02/dkny_teaser.jpg" alt="DKNY teaser" /></a><br />
<a title="PureDKNY fragrance teaser" href="http://www.puredknyfragrances.com/gb/goodies.html" target="_blank">PureDKNY fragrances Teaser</a> (team of 2 developers) : water your plant and it grows, share your plant and it gets flowers.</p>
<p>&nbsp;</p>
<p><a title="pureDKNY fragrances reveal" href="http://www.puredknyfragrances.com/gb/" target="_blank"><img src="http://nicob.info/blog/wp-content/uploads/2010/02/dkny_reveal.jpg" alt="DKNY reveal" /></a><br />
<a title="pureDKNY fragrances reveal" href="http://www.puredknyfragrances.com/gb" target="_blank">Pure DKNY fragrances Reveal</a> (team of 2 developers)</p>
<p>&nbsp;</p>
<p>Let&#8217;s bring this blog back to life, so in the next post I&#8217;ll give my Gobelins slides, talk about <a title="FITC Amsterdam" href="http://community.fitc.ca/events/fitc-amsterdam-2010" target="_blank">FITC in Amsterdam</a>, talk about ant Task&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2010/02/21/still-alive-yes-yes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Google Android a disappointment?</title>
		<link>http://blog.cordechasse.fr/2008/10/05/is-google-android-a-disappointment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=is-google-android-a-disappointment</link>
		<comments>http://blog.cordechasse.fr/2008/10/05/is-google-android-a-disappointment/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 10:35:34 +0000</pubDate>
		<dc:creator>cordechasse</dc:creator>
				<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://nicob.info/blog/is-google-android-a-disappointment/</guid>
		<description><![CDATA[Google has just released his new Mobile OS called Android, and we can already see websites, magazines and mobile phones holders comparing Android to the iPhone OS. What I can see (on the web, or just by speaking with friends) is a lot of disappointment : Android OS isn&#8217;t the iPhone OS killer. Actually, Apple [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin-right: 10px;" src="http://nicob.info/blog/wp-content/uploads/2008/09/google-android-logo.jpg" alt="google android" align="left" />Google has just released his new Mobile OS called <a title="android webpage" href="http://code.google.com/android/" target="_blank">Android</a>, and we can already see websites, magazines and mobile phones holders comparing Android to the iPhone OS.<br />
What I can see (on the web, or just by speaking with friends) is a lot of disappointment : <strong>Android OS isn&#8217;t the iPhone OS killer</strong>.</p>
<p>Actually, Apple did a tremendous work with iPhone OS. It&#8217;s quick, reactive, ergonomic, easy to use&#8230; It&#8217;s hard to a new system (even designed by Google) to beat Apple.</p>
<p>Ok, it&#8217;s not as good as iPhone OS but let&#8217;s discuss some points :</p>
<p><span id="more-57"></span></p>
<p><span class="titlecomments">1. iPhone OS is only for Mac mobile phone</span></p>
<p>There is a point that we mustn&#8217;t forget : <strong>iPhone OS will only run on a Mac mobile</strong>.  And for the moment, only one mobile phone (if we consider that the iPhone 3G is only an upgrade of the iPhone) runs this OS.</p>
<p><span class="titlecomments">2. Android is OpenSource</span></p>
<p>The big difficulty when designing an OS is running this OS in different hardwares from different builders.<br />
And this is where Google is really strong : he provides a mobile OS that can run on multiple hardwares. This OS is quite good : efficient, reliable&#8230; And most important thing : <strong>Android is OpenSource</strong>. That means, every mobile builder (Sony Ericsson, Samsung, LG&#8230; ) can put Android on their mobile phones and modify the source.</p>
<p><strong>Android may become the new standard OS for mobile phone</strong>. They can all have the same basic, and (surprise) Google is behind that.</p>
<p><span class="titlecomments">3. Android Programs are written in Java</span></p>
<p>An other thing which is also really important, is that Android implements <a title="Dalvik" href="http://en.wikipedia.org/wiki/Dalvik_virtual_machine" target="_blank">Dalvik</a> (a java virtual machine). That means<strong> each application for Android is coded in Java</strong>. The community of Java developers is so huge, we can easily foresee an exponential increase of Android homemade programs (whereas when coding an iPhone application you must learn a specific language <a title="cocoa API" href="http://en.wikipedia.org/wiki/Cocoa_(API)" target="_blank">Cocoa</a>).<br />
Google has already provided all the <a title="android doc" href="http://code.google.com/android/documentation.html" target="_blank">tools to developp an Android program</a> (an Android SDK, full API, eclipse plugin, debugger, tutorials&#8230; ).</p>
<p><span class="titlecomments">So, disappointment or not?</span></p>
<p>Is Google Android a disappointment? If you strictly compare with the iPhone : the answer is YES. But if you look a bit further more on what Android is, what it provides, what is its future, <strong>Android is NOT a disappointment. Android may be the new standard OS for mobile phones</strong>. It might grow bigger and more efficient thanks to the help of an active community of opensource and java developers. <strong>In fact the real opponent of Android is not iPhone but Windows Mobile</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cordechasse.fr/2008/10/05/is-google-android-a-disappointment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

