<?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>MP:Mediaprojekte &#187; Air</title>
	<atom:link href="http://mediaprojekte.de/tag/air/feed/" rel="self" type="application/rss+xml" />
	<link>http://mediaprojekte.de</link>
	<description>Webentwicklung Grafik und Design Marketing und Werbung Multimedia</description>
	<lastBuildDate>Wed, 25 Jan 2012 14:48:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Three Ways to debug an Adobe Air Javascript Application</title>
		<link>http://mediaprojekte.de/tutorials/three-ways-to-debug-an-adobe-air-javascript-application/</link>
		<comments>http://mediaprojekte.de/tutorials/three-ways-to-debug-an-adobe-air-javascript-application/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 14:55:59 +0000</pubDate>
		<dc:creator>MP:Schorsch</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.mediaprojekte.de/tutorials/three-ways-to-debug-an-adobe-air-javascript-application/</guid>
		<description><![CDATA[Without a debug console a programmer is flying blind. When programming an Air Application with Javascript you´ll pretty soon miss the good old firebug(damn i love it). So here are three simple ways, to look into your running engine. 1. Adobe commandline tool ADL Adobe has a command line tool which enables you to run [...]]]></description>
			<content:encoded><![CDATA[<p>Without a debug console a programmer is flying blind. When programming an Air Application with Javascript you´ll pretty soon miss the good old firebug(damn i love it). So here are three simple ways, to look into your running engine.</p>
<h5>1. Adobe commandline tool ADL</h5>
<p>Adobe has a command line tool which enables you to run and test your Air software. It´s called ADL and resides in the /bin folder of the SDK. To start a program under Windows you need to go into the command line (Win+R -&gt; cmd) and type something like this:</p>
<blockquote><p>C:\air\bin&gt; adl c:\my_air_test\application.xml</p></blockquote>
<p>The adl needs to know the applications xml definition to start your program. After the launch you can follow the debug output in the open command window. Inside the Javascript you use:  air.trace(&#8216;my debug output&#8217;); . Air mostly takes care of converting arrays and objects to a visible form (comma separated). <a href="http://livedocs.adobe.com/labs/air/1/devappshtml/CommandLineTools_2.html#1031914" title="Adobe Air debugging with trace and adl" target="_blank">Here is the link to Adobe Documentation</a>.</p>
<h5>2. Firebug Lite</h5>
<p><a href="http://www.getfirebug.com/lite.html" title="Firebug lite javascript debug console" target="_blank">Firebug Lite</a> is a piece of Javascript simulating the console.log output for InternetExplorer and other non &#8220;Real Firebug&#8221; compatible Browsers. It appends a &#8220;log console div&#8221; to your website and even has an interactive command line.</p>
<p>To use it you just have to  include the firebug lite js in your head section and hit F12 in your app:</p>
<blockquote><p>&lt;script src=&#8221;js/debug/firebug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;</p></blockquote>
<p>In the javascript code you can use console.log(&#8216;my debug output&#8217;);</p>
<p>Using firebug lite enables you to also debug your software in other browsers than air, if you are not using air specific javascript API functions like read/write files.</p>
<h5>3. build your own debug output</h5>
<p>I actually started with this method. I made a &lt;div id=&#8221;debug&#8221;&gt; in the html and used a simple (jQuery powered) function to append the debug output into  the div container:</p>
<blockquote><p> function debug(data){<br />
if(debug_on == true)<br />
{<br />
$(&#8216;#debug&#8217;).append(data); //append(&#8216;whatever&#8217;) comes from jQuery lib<br />
}<br />
}</p></blockquote>
<p>The debug div is hidden via css and only shows up when the debug_on flag is set. Using jQuery it is pretty simple to add more functions like clear log.</p>
<p>All three methods have pro´s and con´s which could be discussed further. For now i hope i could save you some time in getting an overview.</p>
]]></content:encoded>
			<wfw:commentRss>http://mediaprojekte.de/tutorials/three-ways-to-debug-an-adobe-air-javascript-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows startet zu langsam? Abhilfe mit Adobe Air und Javascript!</title>
		<link>http://mediaprojekte.de/sonstige-themen/windows-startet-zu-langsam-abhilfe-mit-adobe-air-und-javascript/</link>
		<comments>http://mediaprojekte.de/sonstige-themen/windows-startet-zu-langsam-abhilfe-mit-adobe-air-und-javascript/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 14:26:22 +0000</pubDate>
		<dc:creator>MP:Schorsch</dc:creator>
				<category><![CDATA[Sonstige Themen]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mediaprojekte.de/sonstige-themen/windows-startet-zu-langsam-abhilfe-mit-adobe-air-und-javascript/</guid>
		<description><![CDATA[Ich arbeite auf einem Windows Laptop und wer kennt nicht das Problem, daß Windows irgendwann extrem langsam hochfährt. Das liegt meist an diversen Programmen, welche im Hintergrund gestartet werden, ob man will oder nicht. Der erste Schritt geht dann immer in die msconfig console &#62; windows-Taste+R dann &#8220;msconfig&#8221;eingeben. Dort kann man sehen was beim Start [...]]]></description>
			<content:encoded><![CDATA[<p>Ich arbeite auf einem Windows Laptop und wer kennt nicht das Problem, daß Windows irgendwann extrem langsam hochfährt.</p>
<p>Das liegt meist an diversen Programmen, welche im Hintergrund gestartet werden, ob man will oder nicht. Der erste Schritt geht dann immer in die msconfig console  <!--</p>
<div-->&gt; windows-Taste+R dann &#8220;msconfig&#8221;eingeben. Dort kann man sehen was beim Start vor sich geht, und es ist möglich bestimmte Programme zu deaktivieren.</p>
<p>Das klappt ja schon ganz gut, doch plagt mich ein zweites Problem, welches sehr eng mit dem gestarteten Programmen zusammenhängt: Ich arbeite an verschiedenen Orten und benötige dort unterschiedliche &#8220;Grundprogramme&#8221;, z.B. brauche ich ausserhalb des Büros keine Maus, Keyboard oder Backupsoftware, dafür aber das Wireless-Config-Tool.</p>
<p>Meine Lösung zu beiden Problemen ist, das manuelle Anlegen von ein paar guten alten Windows Batch Dateien. Diese enthalten für jedes Programm eine solche Zeile:</p>
<blockquote><p>Start &#8220;spam&#8221; /MIN &#8220;C:ProgrammsSpamihilatorspamihilator.exe&#8221;</p></blockquote>
<p>Die Batch Dateien habe ich entsprechend Ihrer Funktion benannt z.B.: start_default_progz_office.bat. Schön und gut es funktioniert, doch das Anlegen dieser Dateien von Hand ist recht umständlich.</p>
<p>Da ich schon seit drei Wochen heiß darauf bin endlich etwas Sinnvolles mit Adobe Air zu bauen, habe ich gestern Nacht  eine Air Applikation zum Erstellen solcher Batch Dateien geschrieben. Dabei kamen mir die <a href="http://livedocs.adobe.com/labs/air/1/jslr/index.html" title="Adobe Air Javascript API" target="_blank">Javascript Hooks</a> von Air zum Auswählen und Schreiben lokaler Dateien sehr zugute.</p>
<p>Du kannst die Sourcen und den kompilierten Air Installer im folgenden downloaden. Es ist eine noch sehr rudimentäre Lösung ohne großen grafischen Bohei. Du kannst mehrere *.exe Dateien auswählen und diese werden dann in eine Batch Datei auf deinem Desktop geschrieben.</p>
<p>Mir schwebt noch ein bischen Drag &amp; Drop, eine kleine SQLite DB zum schnelleren Zugriff auf Dateien und das Lesen/Ändern erstellter Batches vor. Alles in allem scheint mir das ein sehr guter kleiner Test der Adobe Air Api.</p>
<p><strong>Air Installer File:</strong></p>
<p><a href="http://www.mediaprojekte.de/wp-content/wp-filez/tutorials/StartKing.air" class="fileLink" title="StartKing.air"><img src="http://www.mediaprojekte.de/wp-includes/js/tinymce/plugins/filemanager/InsertFile/img/ext/zip_small.gif" alt="StartKing.air" border="0" /> StartKing.air(<span style="font-size: 80%" id="null,05 07 2007 - 16:18">05 07 2007 &#8211; 16:18)</span></a></p>
<p><strong> Air Quellcode:</strong></p>
<p><a href="http://www.mediaprojekte.de/wp-content/wp-filez/tutorials/StartKing_alpha_01_sources.zip" class="fileLink" title="StartKing_alpha_01_sources.zip"><img src="http://www.mediaprojekte.de/wp-includes/js/tinymce/plugins/filemanager/InsertFile/img/ext/zip_small.gif" alt="StartKing_alpha_01_sources.zip" border="0" /> StartKing_alpha_01_sources.zip (<span style="font-size: 80%" id="null,05 07 2007 - 16:18">05 07 2007 &#8211; 16:18)</span></a></p>
<p>Nicht vergessen, du benötigst die <a href="http://labs.adobe.com/downloads/air.html" title="Adobe Air Runtime Installer" target="_blank">Adobe AIR Runtime</a>.</p>
<p>Der StartKing wurde übrigens mit <a href="http://www.aptana.com/" title="Aptana - Javascript IDE" target="_blank">APTANA</a> gebaut, welches in der aktuellen Version eine extrem coole Adobe Air Unterstützung hat.</p>
]]></content:encoded>
			<wfw:commentRss>http://mediaprojekte.de/sonstige-themen/windows-startet-zu-langsam-abhilfe-mit-adobe-air-und-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Air Einführung für Javascript Entwickler &#8211; Open Source Buch</title>
		<link>http://mediaprojekte.de/sonstige-themen/adobe-air-einfuehrung-fuer-javascript-entwickler-open-source-buch/</link>
		<comments>http://mediaprojekte.de/sonstige-themen/adobe-air-einfuehrung-fuer-javascript-entwickler-open-source-buch/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 21:41:09 +0000</pubDate>
		<dc:creator>MP:Schorsch</dc:creator>
				<category><![CDATA[Sonstige Themen]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://www.mediaprojekte.de/sonstige-themen/adobe-air-einfuehrung-fuer-javascript-entwickler-open-source-buch/</guid>
		<description><![CDATA[Letzte Woche hat es ganz schön geknallt im Web, doch irgendwie scheint es gar kein Ende zu nehmen. Jobs released den Safari für Windows, Google entfacht mit diversen Updates Ihrer API´s und Applikationen ein wahres Feuerwerk (GoogleGears / Maps / Docs&#38;Spreadsheet/) und dann kommt Adobe mit der Beta von AIR + SQLite(ehemals Apollo in der [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mediaprojekte.de/wp-content/uploads/2007/06/adobe_air_for_javascript_developers.jpg" alt="adobe_air_for_javascript_developers.jpg" align="right" />Letzte Woche hat es ganz schön geknallt im Web, doch irgendwie scheint es gar kein Ende zu nehmen.</p>
<p>Jobs released den Safari für Windows, Google entfacht mit diversen Updates Ihrer API´s   und Applikationen ein wahres Feuerwerk (<a href="http://code.google.com/apis/gears/" title="Google Gears API Webseite" target="_blank">GoogleGears </a>/ <a href="http://googlemapsapi.blogspot.com/" title="Google Maps Blog" target="_blank">Maps </a>/ <a href="http://google-d-s.blogspot.com/2007/06/entirely-new-way-to-stay-organized.html" title="Google Docs &amp; Spreadsheets" target="_blank">Docs&amp;Spreadsheet</a>/) und dann kommt Adobe mit der <a href="http://labs.adobe.com/wiki/index.php/AIR" title="Adobe AIR Apollo Labs Wiki" target="_blank">Beta von AIR + SQLite</a>(ehemals Apollo in der Alpha Version) um die Ecke.</p>
<p>Puh &#8230; so langsam gehen mir die langen Nächte aus, um all die schönen neuen Werkzeuge auf Herz und Nieren zu testen oder darüber zu bloggen.  Meine Ideen für Applikationen und praktische Anwendungen nehmen kein Ende und ich lese mittlerweile neue Api´s wie spannende Krimi´s.</p>
<p>Einen neuen und sogar kostenlosen  API Krimi hält O´REILLY jetzt bereit:</p>
<p><strong>Adobe Integrated Runtime (AIR) for JavaScript Developers</strong> / Pocket Guide</p>
<p>found via <a href="http://ajaxian.com/archives/adobe-air-free-book-download" title="AJAXIAN Webseite" target="_blank">ajaxian </a></p>
<p>Das 176 Seiten starke in english verfasste PDF enthält:</p>
<ul>
<li>Unterschiede von Adobe AIR zu &#8220;normalen&#8221; Browsern</li>
<li>Installation / Setup von Adobe AIR und des AIR SDK</li>
<li>Wie fängt man die Entwicklung an</li>
<li>Arbeit mit Javascript und  HTML innerhalb von AIR</li>
<li>Adobe AIR Mini Kochbuch mit leckeren Rezepten (auch für die Jungesellenküche)</li>
</ul>
<p>Das ganze gibt es auch in gebundener Form bei <a href="http://www.amazon.com/Integrated-Runtime-JavaScript-Developers-Pocket/dp/0596515197/" title="Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Guide (Paperback) " target="_blank">Amazon</a>.</p>
<p>So jetzt aber genug &#8230; hier der Download für alle Javascript Freaks und solche die es werden wollen.</p>
<p><a href="http://www.mediaprojekte.de/wp-content/wp-filez/tutorials/AdobeAIR_for_javascript_developers.pdf" class="fileLink" title="AdobeAIR_for_javascript_developers.pdf"><img src="http://www.mediaprojekte.de/wp-includes/js/tinymce/plugins/filemanager/InsertFile/img/ext/pdf_small.gif" alt="AdobeAIR_for_javascript_developers.pdf" border="0" /> AdobeAIR_for_javascript_developers.pdf (<span style="font-size: 80%" id="4.23 MB,null">4.23 MB)</span></a></p>
<p>P.S. Es ist auch eine gute Einführung in die AIR Engine bzw. Browserumgebung.</p>
]]></content:encoded>
			<wfw:commentRss>http://mediaprojekte.de/sonstige-themen/adobe-air-einfuehrung-fuer-javascript-entwickler-open-source-buch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe Apollo &#8211; .air for your widgets and RIAs</title>
		<link>http://mediaprojekte.de/webdevelopment/adobe-apollo-air-for-your-widgets-and-rias/</link>
		<comments>http://mediaprojekte.de/webdevelopment/adobe-apollo-air-for-your-widgets-and-rias/#comments</comments>
		<pubDate>Wed, 23 May 2007 23:17:52 +0000</pubDate>
		<dc:creator>MP:Schorsch</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Apollo]]></category>
		<category><![CDATA[Widget]]></category>

		<guid isPermaLink="false">http://www.mediaprojekte.de/webdevelopment/adobe-apollo-air-for-your-widgets-and-rias/</guid>
		<description><![CDATA[This evening i took the second look into Adobe Apollo. This time around i found a lot of docs and examples so i got pretty fast stuck and fascinated. An Apollo program consist of javascript 1.7 / html / Actionscript 3.0 / Apollo application xml. You have a pretty free application file structure and your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.mediaprojekte.de/wp-content/uploads/2007/05/apollo_logo.jpg" alt="apollo_logo.jpg" align="right" />This evening i took the second look into <a href="http://labs.adobe.com/technologies/apollo/" title="Adobe Labs Apollo Website" target="_blank">Adobe Apollo</a>. This time around i found a lot of <a href="http://labs.adobe.com/wiki/index.php/Apollo:Documentation" title="Adobe Labs Apollo Documentation" target="_blank">docs and examples</a> so i got pretty fast stuck and fascinated.</p>
<p>An Apollo program consist of javascript 1.7 / html / Actionscript 3.0 / Apollo application xml. You have a pretty free application file structure and your app can hold as many of the above mentioned files as you need.</p>
<p>Your whole sourcecode pile is compiled into a solid *.air file. The compilation + debugging can be made in the free command line tools or with the Flex Builder / Eclipse Plugin + the Apollo Plugin. The resulting solid file is installed on any OS that has the free apollo runtime installed.</p>
<p><img src="http://labs.adobe.com/wiki/images/5/59/ApolloOverview.gif" title="Adobe Apollo System Overview" alt="Adobe Apollo System Overview" align="middle" height="316" width="428" /></p>
<p>(Picture from Apollo Wiki)</p>
<p>I focused my first tests on the usage as a wrapper for existing html/Javascript applications. The Apollo runtime supports javascript, so i did not really need to know Actionscript details to get started.</p>
<p>I recently coded the <a href="http://www.mediaprojekte.de/webdevelopment/twitter-king-widget-beta-using-netvibes-uwa/" title="Twitter King UWA Widget">Twitter King UWA Widget</a> and thought embedding it into such a shell of *.air, could really be damn useful. Well one might think &#8220;why do i have  browser?&#8221; but Apollo provides you with some neat extra features concerning:</p>
<ul>
<li> CRUD access to the local file system</li>
<li>Update tools</li>
<li>shell access</li>
<li>window controls</li>
<li>talking between javascript / flash</li>
<li>remote request methods</li>
</ul>
<p>It should also be possible to include some of our favorite javascript script frameworks (only got jQuery <img src='http://mediaprojekte.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) and with the power of dom + js + AS you can really rock. Grab remote data, juggle with local files and offline caches, embed dynamic html or flash .. simply everything an application needs.</p>
<p>To quote Adobe:</p>
<blockquote><p>Apollo is the code name for a cross-operating system runtime being developed by Adobe that allows developers to leverage their existing web development skills (Flash, Flex, HTML, JavaScript, Ajax) to build and deploy rich Internet applications (RIAs) to the desktop.</p></blockquote>
<h2></h2>
<p>We will have to see how fast this engine is spreading. It has not yet made it onto the adobe homepage but i think its worth to spend another long night on.</p>
<p>Tomorrow i will  attend the<a href="http://www.adobe.com/de/events/adobelive2007/" title="Adobe Live Cologne" target="_blank"> adobe live conference</a> in cologne which has <a href="http://www.adobe.com/de/events/adobelive2007/agenda.html" title="Agenda Adobe Live Cologne Apollo Talks" target="_blank">two talks about Apollo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mediaprojekte.de/webdevelopment/adobe-apollo-air-for-your-widgets-and-rias/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

