<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed version="0.3" 
   xmlns="http://purl.org/atom/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://itkrauts.com/rss.php?version=atom0.3" rel="service.feed" title="The IT Kraut" type="application/x.atom+xml" />
    <link href="http://itkrauts.com/"                        rel="alternate"    title="The IT Kraut" type="text/html" />
    <link href="http://itkrauts.com/rss.php?version=2.0"     rel="alternate"    title="The IT Kraut" type="application/rss+xml" />
    <title mode="escaped" type="text/html">The IT Kraut</title>
    <tagline mode="escaped" type="text/html">Milchtüte 2.0 - Sebastian Bauer's blog, revised.. - Adobe AIR, Android and more</tagline>
    <id>http://itkrauts.com/</id>
    <modified>2010-05-28T07:49:22Z</modified>
    <generator url="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <info mode="xml" type="text/html">
        <div xmlns="http://www.w3.org/1999/xhtml">You are viewing an ATOM formatted XML site feed. Usually this file is inteded to be viewed in an aggregator or syndication software. If you want to know more about ATOM, please visist <a href="http://atomenabled.org/">Atomenabled.org</a></div>
    </info>

    <entry>
        <link href="http://itkrauts.com/archives/26-Creating-a-simple-About-Dialog-in-Android-1.6.html" rel="alternate" title="Creating a simple &quot;About&quot; Dialog in Android (&gt;=1.6)" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2010-05-29T05:00:00Z</issued>
        <created>2010-05-29T05:00:00Z</created>
        <modified>2010-05-28T07:49:22Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=26</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=26</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/26-guid.html</id>
        <title mode="escaped" type="text/html">Creating a simple &quot;About&quot; Dialog in Android (&gt;=1.6)</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Mostly every application needs some kind of "about" dialog. The about dialog shows basic informations about the application, its author and most likely some copyright information, the version information and so on.<br />
<br />
For most of the Android developers out there, this might be an obvious task. I for myself want to use this example to help some beginners to show how this can be done. Since building a "static" about dialog is quite easy, I would like to extends this example to properly load the correct version information using the PackageManager. <br /><a href="http://itkrauts.com/archives/26-Creating-a-simple-About-Dialog-in-Android-1.6.html#extended">Continue reading "Creating a simple &quot;About&quot; Dialog in Android (&gt;=1.6)"</a>
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/25-Twitter-killed-the-Blogger-Star.html" rel="alternate" title="Twitter killed the Blogger Star?" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2010-05-28T07:26:04Z</issued>
        <created>2010-05-28T07:26:04Z</created>
        <modified>2010-05-28T07:26:04Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=25</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=25</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/25-guid.html</id>
        <title mode="escaped" type="text/html">Twitter killed the Blogger Star?</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Ok, not that I'm a blogger star. The last few months I really had not much time to work on this blog, since I was still working on many other things. Now there's more time and I'll see if I can keep this blog living.<br />
<br />
Before I start with new articles soon (I'm moving next week), I'll give you an interesting link, to find out which programmer personality you are. Have a look at <a onclick="_gaq.push(['_trackPageview', '/extlink/www.doolwind.com/blog/programmer-personality']);"  href="http://www.doolwind.com/blog/programmer-personality" target="_blank">Doolwind's Game Coding Blog</a> (which is - just to mention it - a very good and interesting blog!) and fill out the test. Post your results here! <img src="http://itkrauts.com/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
Here's my result:<blockquote>Your programmer personality type is:<br />
<br />
   DHTB<br />
<br />
You’re a Doer.<br />
You are very quick at getting tasks done. You believe the outcome is the most<br />
important part of a task and the faster you can reach that outcome the better.<br />
After all, time is money.<br />
<br />
You like coding at a High level.<br />
The world is made up of objects and components, you should create your programs<br />
in the same way.<br />
<br />
You work best in a Team.<br />
A good group is better than the sum of it’s parts. The only thing better than a<br />
genius programmer is a cohesive group of genius programmers.<br />
<br />
You are a liBeral programmer.<br />
Programming is a complex task and you should use white space and comments as<br />
freely as possible to help simplify the task. We’re not writing on paper anymore<br />
so we can take up as much room as we need.</blockquote><br />
<br />
See you soon! 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/24-phphatesme.com-celebrates-its-500th!.html" rel="alternate" title="phphatesme.com celebrates it's 500th!" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2010-02-22T12:17:52Z</issued>
        <created>2010-02-22T12:17:52Z</created>
        <modified>2010-02-22T12:17:52Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=24</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=24</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/24-guid.html</id>
        <title mode="escaped" type="text/html">phphatesme.com celebrates it's 500th!</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a onclick="_gaq.push(['_trackPageview', '/extlink/www.phphatesme.com']);"  href="http://www.phphatesme.com" target="_blank">phphatesme.com</a>, the largest and BEST PHP blog in Germany celebrates it's 500th birthday <img src="http://itkrauts.com/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> And no, these are no 500 years, it's the 500th article! We wish Nils the absolutely best and are looking forward to the next 500 articles!<br />
<br />
Nils, thank you very much for this great blog! 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/22-Back-again-to-welcome-our-Co-Author-Martin.html" rel="alternate" title="Back again to welcome our Co-Author Martin" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2010-01-09T11:00:00Z</issued>
        <created>2010-01-09T11:00:00Z</created>
        <modified>2010-01-09T11:00:00Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=22</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=22</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/22-guid.html</id>
        <title mode="escaped" type="text/html">Back again to welcome our Co-Author Martin</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                It's been some time since our last posting on this blog. I don't have to tell you why.. the same procedure as every year: I have been busy as hell. It's not getting much better, but there's no need to. Wonder why? Because we have a co-author now supporting me in writing for this blog!<br />
<br />
Welcome <a onclick="_gaq.push(['_trackPageview', '/extlink/www.mohrwurm.de']);"  href="http://www.mohrwurm.de" target="_blank">Martin</a> to our blog! You've already seen his first article yesterday and I hope there are a lot more to come.<br />
<br />
You are maybe wondering what has happened in the mean time? Well, <a onclick="_gaq.push(['_trackPageview', '/extlink/www.ohloh.net/p/mooter']);"  href="http://www.ohloh.net/p/mooter" target="_blank">mooter</a> - my twitter client - is in a good process and I'm hoping to release a first public version soon. We already have a good testing team of some people and I am really looking forward to release the first public version.<br />
<br />
Furthermore I bough a Motorola Milestone in the meantime (also known as "Droid") and will now digg into Android development, soon. This will become another topic on this blog and I hope I can deliver you with some goodies about android.<br />
<br />
Now that's it for the moment, hope the "down time" in the last months did not smaller your interest in our articles! Just an additional info: Martin also has a twitter account, so let's follow <a onclick="_gaq.push(['_trackPageview', '/extlink/twitter.com/mohrwurm']);"  href="http://twitter.com/mohrwurm" target="_blank">him</a>! <img src="http://itkrauts.com/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/21-fgetcsv-in-PHP-fails-with-Mac-created-files.html" rel="alternate" title="fgetcsv in PHP fails with Mac-created files" type="text/html" />
        <author>
            <name>Martin Mohr</name>
                    </author>
    
        <issued>2010-01-08T09:45:26Z</issued>
        <created>2010-01-08T09:45:26Z</created>
        <modified>2010-01-14T13:09:54Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=21</wfw:comment>
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=21</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/21-guid.html</id>
        <title mode="escaped" type="text/html">fgetcsv in PHP fails with Mac-created files</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today I had a problem importing a CSV file in PHP. It seems that apache doesn't properly regognize the line endings from the csv file.<br />
<br />
When CSV the file has been created on a Mac, you will get problems when using fgetcsv to parse CSV files under PHP: The line endings are incorrectly interpreted.<br />
<br />
Try the following code:<br />
<br />
<textarea name="code" class="php">
	ini_set('auto_detect_line_endings', true);
	$handle = fopen('file','r');
	while (($row = fgetcsv($fp, 1000, ',')) !== false) {
		// Do Something...
	}
	...
</textarea><br />
<br />
'auto_detect_line_endings' enables PHP to interoperate with Macintosh systems and look after which line-ending conventions is used.<br />
<br />
The common line endings are:<br />
\n (UNIX/Linux) <br />
\n\r (Windows) <br />
\r (Mac)<br />
<br />
Here is an wikipedia article about the historical reason behind different line ending at different platforms: <a onclick="_gaq.push(['_trackPageview', '/extlink/en.wikipedia.org/wiki/Newline#History']);"  href="http://en.wikipedia.org/wiki/Newline#History" target="_blank">Newline History</a><br />
<br /> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/19-IPC-and-WebTech-2009.html" rel="alternate" title="IPC and WebTech 2009" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-11-07T17:26:09Z</issued>
        <created>2009-11-07T17:26:09Z</created>
        <modified>2009-11-09T08:14:57Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=19</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=19</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/19-guid.html</id>
        <title mode="escaped" type="text/html">IPC and WebTech 2009</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Hey folks, I know, it's been some time since my last posting, but I am currently very busy as you might imagine. But I'll soon post some progress reports, especially for my AIR based Twitter client "mooter" which is really on a good way.<br />
<br />
Anyways, this posting should more be a reminder: beginning upcoming weekend the International PHP Conference 2009 and WebTech Conference start in parallel in Karlsruhe. I'll be speaking there for one session about possibilities and impossibilities of Adobe AIR for AJAX developers and some lessons learned during my first big project for an AJAX based AIR application.<br />
<br />
The session will take place on tuesday morning (17.11.2009) at 9am. I'm really looking forward of eventually meeting one or two of you personally. 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/11-AIR-Error-2037-Functions-called-in-incorrect-sequence,-or-earlier.html" rel="alternate" title="AIR Error #2037: &quot;Functions called in incorrect sequence, or earlier&quot;" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-10-01T09:00:00Z</issued>
        <created>2009-10-01T09:00:00Z</created>
        <modified>2009-10-01T12:15:52Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=11</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=11</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/11-guid.html</id>
        <title mode="escaped" type="text/html">AIR Error #2037: &quot;Functions called in incorrect sequence, or earlier&quot;</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                After a short quiet period I'm back today to tell you something about the AIR file object. While deploying a new version of my application I ran into some problems on other systems. AIR threw the error <blockquote>#2037: "Functions called in incorrect sequence, or earlier"</blockquote><br />
Not really self-speaking, huh? Doing some debugging, I found out that the error was thrown at last line of the following code:<br />
<textarea name="code" class="javascript">var zfile = new air.File();
zfile = zfile.resolvePath(path);
</textarea><br />
The problem is, that the File and the FileReference classes need to be initialized with a file path, otherwise every attempt to access a property will fail. Thanks to <a onclick="_gaq.push(['_trackPageview', '/extlink/www.mikechambers.com/blog/2009/02/28/error-error-2037-functions-called-in-incorrect-sequence-or-earlier-call-was-unsuccessful/']);"  href="http://www.mikechambers.com/blog/2009/02/28/error-error-2037-functions-called-in-incorrect-sequence-or-earlier-call-was-unsuccessful/" target="_blank" target="_blank">Mike Chambers</a> who talked about this issue earlier. His blog post really helped me a lot. I fixed this issue by changing my code to the following:<br />
<textarea name="code" class="javascript">var zfile = new air.File.applicationDirectory;
zfile = zfile.resolvePath(path);
</textarea><br />
<br />
This initializes the File object with the path of the application directory, which should be fine for all cases.<br />
<br />
What is also interesting about this topic: the error only occured on a Mac OS X system, not on my Windows machine. Have not yet been able to test this under Linux.<br />
<br />
<strong>//Update:</strong> I still encountered some problems using this mechanism. For some reason zfile contains no valid resource on Mac OS X. Just FYI <img src="http://itkrauts.com/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/10-Working-with-custom-font-faces-in-AIR-and-HTML-fail!.html" rel="alternate" title="Working with custom font faces in AIR and HTML - fail!" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-09-10T08:32:35Z</issued>
        <created>2009-09-10T08:32:35Z</created>
        <modified>2009-09-10T08:32:35Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=10</wfw:comment>
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=10</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/10-guid.html</id>
        <title mode="escaped" type="text/html">Working with custom font faces in AIR and HTML - fail!</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Since CSS2 many browser began supporting the @font-face CSS selector for embedding downloadable fonts. <a onclick="_gaq.push(['_trackPageview', '/extlink/webkit.org/blog/124/downloadable-fonts/']);"  href="http://webkit.org/blog/124/downloadable-fonts/" target="_blank">WebKit already supports this feature for more than 2 years</a>. Today I tried to embed a custom font in my AIR application with negative results. In my HTML based application the font cannot be loaded or applied to the contents. For now I cannot find any information about this on the Adobe developer centers, neither I can find anything on Google. I found out that embedding custom fonts is allowed in Flex but for any reason, in HTML it is not.<br />
<br />
Here's my CSS I used:<br />
<textarea name="code" class="css">@font-face{
    font-family: "My Font";
    src: url("../exampleFont.ttf");
}

body {
    font-family: "My Font";
}
</textarea><br />
Any ideas are appreciated. I'll see if I can find out something further.<br />
&#160; 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/9-Creating-Dummy-Files-with-a-specified-size-under-Linux.html" rel="alternate" title="Creating Dummy Files with a specified size under Linux" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-09-07T12:03:31Z</issued>
        <created>2009-09-07T12:03:31Z</created>
        <modified>2009-09-07T12:30:05Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=9</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=9</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/9-guid.html</id>
        <title mode="escaped" type="text/html">Creating Dummy Files with a specified size under Linux</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Today I was asked how to automatically create multiple non-empty dummy files under linux with just one command. Here is a small bash script. To adjust the number of files to be created, adjust the "10" in "$(seq 0 10)" to a number of your choice. To adjust the file size to be created, change "count=2" to anything you like. The "bs" parameter defines the base for the count parameter. bs=1024 means that 1024 bytes * "count" is the file size. In this case it's 2kilobyte. To have 1MB files you could either write "bs=1024 count=1024" or "bs=$((1024*1024)) count=2" or "bs=1024 count=$((1024*1))".<br />
<br />
<textarea name="code" class="bash">#!/bin/bash
for i in $(seq 0 10);
do
    echo -n "file${i} ";
    dd if=/dev/zero of=file${i} bs=1024 count=2 2>&1;
done</textarea><br />
<br />
PS: there seems to be a problem with the bash highlighter of dp.SyntaxHighlighter: on line 4 the first "if" after dd is one if too much. The line should be "dd if=/dev/zero of=file${i} bs=1024 count=2 2>&1;" 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/8-What-do-you-expect-from-a-lightweight-Twitter-client.html" rel="alternate" title="What do you expect from a lightweight Twitter client?" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-09-02T09:00:01Z</issued>
        <created>2009-09-02T09:00:01Z</created>
        <modified>2009-09-02T12:42:54Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=8</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=8</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/8-guid.html</id>
        <title mode="escaped" type="text/html">What do you expect from a lightweight Twitter client?</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a class='serendipity_image_link' href='http://itkrauts.com/uploads/mooter.png' onclick="F1 = window.open('/uploads/mooter.png','Zoom','height=710,width=597,top=177.5,left=549,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes'); return false;"><!-- s9ymdb:8 --><img class="serendipity_image_left" width="92" height="110" style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://itkrauts.com/uploads/mooter.serendipityThumb.png" alt="" /></a>Today I'll give a first peek on my current project. Is it.. is.. uhm.. is it <strong>really</strong> a twitter client? Yeah, it is. Despite the fact that there are dozens of twitter clients out there I really wanted to make my own one. That's not because I think I can do it better (Twhirl is great!) but I wasn't able to find a good and free client for my Mac. <br />
<br />
TweetDeck is too big in my opinion. Twitter is just a short messaging service, microblogging. So I expect the client to be as micro as the purpose of the service. Don't get me wrong, TweetDeck is great but just too big for me. Then we have Twhirl which is absolutely great and which is my default client on every system. BUT: running on my Mac (iBook G4) with two accounts active my fans immidiately start to blow. mooter (name to be defined <img src="http://itkrauts.com/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> ) should be a lightweight client for multiple accounts. A final design on how to manage seperate accounts is not yet ready. But I'm thinking of an intuitive way of combining the timelines of multiple accounts in one.<br />
<br />
So these were the main reasons on why I started developing yet another twitter client. One reason though is: I just wanted to do something with the twitter API and see how it works. Additonally this is also an interesting approach for me on developing nice and interactive AIR desktop applications.<br />
<br />
So, here's a first shot of my current version, showing the timeline and a notification bubble. Not much yet but tweeting and displaying the default timeline already works fine <img src="http://itkrauts.com/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> Even with automatic linking of hashtags, usernames and URLs.<br />
<br />
And so here's my question: what do you really expect from a sleek and lightweight twitter client? Share your thoughts! 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/7-Disable-AIRs-login-dialog-when-using-XMLHR-with-HTTP-basic-authentication.html" rel="alternate" title="Disable AIR's login dialog when using XMLHR with HTTP basic authentication" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-08-30T17:37:00Z</issued>
        <created>2009-08-30T17:37:00Z</created>
        <modified>2009-09-02T22:48:51Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=7</wfw:comment>
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=7</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/7-guid.html</id>
        <title mode="escaped" type="text/html">Disable AIR's login dialog when using XMLHR with HTTP basic authentication</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                While developing an AIR application which uses an online API with HTTP Basic Authentication I experienced issues with AIR's authentication dialog.<br />
<br />
For doing the authentication I generated a HTTP authentication header including the login credentials. I appended this header to my XMLHttpRequest. In case the login credentials were correct, everything was fine and the request could be completed successfully. But if the credentials were wrong, AIR showed up with a login window to enter the login data for the given domain. Since most AIR applications will be a fully integrated user experience, I'm sure this would be a drawback for most developers. Another interesting point is, that the login box showed up even before I got notified about an 401-HTTP status response. <br /><a href="http://itkrauts.com/archives/7-Disable-AIRs-login-dialog-when-using-XMLHR-with-HTTP-basic-authentication.html#extended">Continue reading "Disable AIR's login dialog when using XMLHR with HTTP basic authentication"</a>
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/6-AIR-does-not-validate-installed-files-against-signature.html" rel="alternate" title="AIR does not validate installed files against signature?" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-08-27T12:49:26Z</issued>
        <created>2009-08-27T12:49:26Z</created>
        <modified>2009-08-27T13:10:15Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=6</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=6</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/6-guid.html</id>
        <title mode="escaped" type="text/html">AIR does not validate installed files against signature?</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                While doing some security tests to an AIR application I'm currently developing, I stumbled over a strange behaviour. In the <a onclick="_gaq.push(['_trackPageview', '/extlink/help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3d11c0f59823a-7ffd.html#WS5b3ccc516d4fbf351e63e3d11c0f5986ec-7fff']);"  href="http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3d11c0f59823a-7ffd.html#WS5b3ccc516d4fbf351e63e3d11c0f5986ec-7fff" target="_blank">AIR documentation</a>, Adobe says:<br />
<blockquote>Each AIR application is signed, and an installed application cannot run if any files in the installed application directory do not match the application’s signature.</blockquote><br />
<br />
That - at least I thought so - means: if any of the installed files of an application gets modified or removed, the AIR framework will prevent the application from being run. But it doesn't. I modified some JS file of my application, added some alerts and the application just executes fine and also displays those "illegal" alerts. Removing some installation files doesn't seem to make AIR care about, too. Even if I remove the signatures.xml file from the application's META-INF directory, which holds all file signatures, AIR just feels fine and executes my application without any note.<br />
<br />
Now I am wondering why modifications to the installation files have no effect on what AIR does with the application. Does this validation only work on "proper" certified files and validation will be skipped if the application if signed with a self-signed certificate? Hope anyone has an idea about this? I'll try to contact Adobe to get some information about this topic. 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/5-The-IT-Kraut-WebTech-Conf-2009.html" rel="alternate" title="The IT Kraut @WebTech Conf 2009" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-08-24T10:00:00Z</issued>
        <created>2009-08-24T10:00:00Z</created>
        <modified>2009-08-29T17:46:52Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=5</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=5</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/5-guid.html</id>
        <title mode="escaped" type="text/html">The IT Kraut @WebTech Conf 2009</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Finally, I'm back from vacation. Way too early.. However I'll try to post some new articles within the next days. But first of all I would like to announce my participation as speaker to this year's <a onclick="_gaq.push(['_trackPageview', '/extlink/it-republik.de/konferenzen/webtech09/']);"  href="http://it-republik.de/konferenzen/webtech09/" target="_blank">WebTech Conference</a> in Karlsruhe. You'll find some information about my session <a onclick="_gaq.push(['_trackPageview', '/extlink/it-republik.de/konferenzen/webtech09/sessions/?tid=1398#session-12237']);"  href="http://it-republik.de/konferenzen/webtech09/sessions/?tid=1398#session-12237" target="_blank">here</a>.<br />
<br />
In short my session will be a demonstration of building a complex and innovative application in AIR using AJAX technology. Since I think most of the AIR knowledge around is about using AIR with Flex and Flash, this session is to show that it is possible to build complex applications in AJAX/HTML, too. I'll focus on a project I am leading at my employer which nicely shows what is possible and where the AIR/AJAX combination gets to its limits. 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/3-Developing-Android-Applications-on-PPC-Mac.html" rel="alternate" title="Developing Android Applications on PPC Mac?" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-08-08T11:00:00Z</issued>
        <created>2009-08-08T11:00:00Z</created>
        <modified>2009-08-07T07:45:45Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=3</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=3</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/3-guid.html</id>
        <title mode="escaped" type="text/html">Developing Android Applications on PPC Mac?</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                By the end of this year my mobile contract expires and so I went on a journey for looking at what will be my next mobile phone. I currently have several candidates in pipe but let's talk about that later. My current favorite is a phone based on Android. I really like the features of the OS and it offers exactly what I am looking for: an open API for developing and playing around.<br />
<br />
So I took a look at the Android SDK and got surprised that it is not supported to buil Android apps on a Power PC mac!? Too bad, since it would be pretty cool to use my iBook on vacation and more to develop android apps. But ok, so I have to be pleased with the linux version and hope that Google will think about this. However I think that support for PPC mac will never come, since all new Macs are Intel based. 
            </div>
        </content>

        
    </entry>
    <entry>
        <link href="http://itkrauts.com/archives/1-Reading-Application-Information-in-HTML-based-AIR-Applications.html" rel="alternate" title="Reading Application Information in HTML based AIR Applications" type="text/html" />
        <author>
            <name>Sebastian Bauer</name>
                    </author>
    
        <issued>2009-08-07T10:00:00Z</issued>
        <created>2009-08-07T10:00:00Z</created>
        <modified>2009-08-07T07:45:27Z</modified>
        <wfw:comment>http://itkrauts.com/wfwcomment.php?cid=1</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://itkrauts.com/rss.php?version=atom0.3&amp;type=comments&amp;cid=1</wfw:commentRss>
    
        <id>http://itkrauts.com/archives/1-guid.html</id>
        <title mode="escaped" type="text/html">Reading Application Information in HTML based AIR Applications</title>
        <content type="application/xhtml+xml" xml:base="http://itkrauts.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So here it is, my first real post on my new blog. Hope you enjoy!<br />
<br />
Adobe® AIR™ offers a lot of great features. However, developers, building AJAX-only applications using HTML and JS often may suffer from the lack of documentation. The AIR API reference for JavaScript developers is mostly complete in term of AJAX developing AIR apps but also lacks some common features.<br />
<br />
This is an issue which may point to the fact that most AIR applications will be developed using Flex/ActionsScript. Since I develop a large application in JavaScript and HTML I had to solve some issues and more so I'll share this knowledge with you <img src="http://itkrauts.com/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /><br />
<br />
My first posting leads me to a simple but useful snippet which allows you to read application information stored in AIR's application descriptor. For example if you need to reference the version of your application somewhere in your code, you can use my construct. <br /><a href="http://itkrauts.com/archives/1-Reading-Application-Information-in-HTML-based-AIR-Applications.html#extended">Continue reading "Reading Application Information in HTML based AIR Applications"</a>
            </div>
        </content>

        
    </entry>
</feed>