<?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>MIH SWAT &#187; linux</title>
	<atom:link href="http://www.mihswat.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mihswat.com</link>
	<description>Headquarters of the Strategic Worldwide Applications and Technologies Team</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:59:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>My Journey to planet Android</title>
		<link>http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/</link>
		<comments>http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 09:11:17 +0000</pubDate>
		<dc:creator>Bradley Wells</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[swat]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.mihswat.com/?p=838</guid>
		<description><![CDATA[Coming from a Flash Developer background I have had no experience with mobile application development. From the time I saw the first phone to run Android, the G1, I have been itching to get into Android development. So when I &#8230; <a href="http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Coming from a Flash Developer background I have had no experience with mobile application development. From the time I saw the first phone to run Android, the G1, I have been itching to get into Android development. So when I was recently given the go-ahead to take this journey into the <a title="Android" href="http://www.android.com/" target="_blank">Android</a> world, plus a shiny new Android phone <img src='http://www.mihswat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , I was both excited and nervous<span id="more-838"></span> . Why nervous? Firstly, I had never developed for a mobile device before, secondly I had never written  a Java application before and lastly because I had no idea how the Android framework actually worked . But this is what we as SWAT employees love, new territory to conquer ! If you havent seen a Android device yet, see the video below of the new HTC Hero.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FKTDSfbcbBU&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="400" height="295" src="http://www.youtube.com/v/FKTDSfbcbBU&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Nowadays it&#8217;s almost impossible to write an article about mobile phones without mentioning the very successful<a title="iPhone" href="http://www.mihswat.com/2009/09/22/i-dont-like-the-iphone/" target="_self"> iPhone</a>. <a title="Apple" href="http://www.apple.com" target="_blank">Apple</a> had practically turned the mobile  industry upside down with its touch screen device. Some people will argue to the death about how the iPhone, or the &#8220;Jesus Phone&#8221; as some call it, is the best thing since sliced bread &#8211; and nobody can argue against how successful this device has become. But I am predicting a total onslaught of Android devices within 2 years. The Android army of phones will be everywhere you look and you will not be able to visit any cellphone store without running into at least 50 different phones running this OS. OK &#8211; maybe that is going a bit far but I think you get the message and already we are seeing signs of it. At the time of writing this article there are 16 official Android devices. How will this army of Android devices be created you ask ? Enter the Open Handset Alliance.</p>
<p>The <a title="Open Handset Alliance" href="http://en.wikipedia.org/wiki/Open_Handset_Alliance" target="_blank">Open Handset Alliance</a> was formed in 2007 and currently has 47 members. It is a consortium of technology and mobile companies all dedicated to bringing us better mobile experiences, with Android being their first project . There are some big names amongst the 47 members, including Google, Intel, Nvidia, HTC, Asus, SonyEriccson, LG, Ebay. With so many big names dedicated to Android development, it is bound to be amongst the top mobile device OS&#8217;s. You can read more about this <a title="before" href="http://www.mihswat.com/2008/10/07/why-android-will-win-or-iphone-in-the-long-run/" target="_self">argument here</a>, let me get to the Android architecture.</p>
<p>Android is a Linux based software stack. On top of the Linux kernel layer lies a layer for the system libraries such as SQLite, SSL, OpenGL, etc. This layer also houses the Android runtime, which runs the Dalvik Virtual Machine. On top of this there&#8217;s the Application Framework, housing the managers like the Activity Manager, Window Manager, etc. Then finally there is the application layer, which is the layer we are most interested in.</p>
<p><img class="alignnone size-full wp-image-844" title="system-architecture" src="http://www.mihswat.com/wp-content/uploads/2009/09/system-architecture.jpg" alt="system-architecture" width="428" height="307" /></p>
<p>Android applications can consist of different sections, namely Activities, Services, Broadcast Recievers and Content Providers. Activities form the User Interface(UI) part of the application, Services run in the background similar to RSS feed readers checking for updates. Broadcast Receivers just listen for particular system broadcasts, for example , when the battery is low. Content Providers just provide content to any asking application , for example your application asking the contact book to provide the users contacts for use within your application. We will mostly be concerned with Activities.</p>
<p>Activities were designed to be totally integrated with one another. What I mean is that Activities can call one another and pass data to one another, basically  like an event driven system, but on a system wide level. An application is thus a group of Activities passing Intents to one another. It is then possible to include , lets say, a Google Maps Activity into your application by passing a Google Maps Intent to it and waiting for a result from it. It would seem to the end user that you created a Google Maps section to your app. I think this is pretty powerful.</p>
<p>To get started with creating these applications you need the free <a title="Android SDK" href="http://developer.android.com/sdk/1.6_r1/index.html">Android SDK</a>, Apple iPhone developers need to register first($99!). Then you going to need an IDE, there is an Eclipse plugin, the <a title="Android Development Tools" href="http://dl.google.com/android/ADT-0.9.3.zip">Android Development Tools</a>(ADT) plugin that has everything including the latest stable SDK. You don&#8217;t immediately need a phone to test on as ADT comes with an Android emulator that you can debug and test with but you will eventually need a phone to properly test with. ADT is pretty awesome as it comes with many tools to tell you exactly whats happening on the phone, which threads are running,it has code completion, wizards to quickly create sub classes and much more. It took me less than 30 minutes to get a  &#8220;Hello World&#8221; application running on the Android emulator from the time I installed the ADT!</p>
<p>Since ActionScript 3 is a lot like Java I could easily jump in even though there were a few syntax differences &#8211; but after about 2 days and the help of ADT I had a basic application drawing a ball bouncing round the screen. But that was only the beginning and have rewritten sections of the game many times. Now after two weeks of lots of learning I have created the game and have it running on my phone. It is still a prototype and even though it needs weeks more spit and polish, after demonstrating the game I have gotten the thumbs up to turn it into a real game which we will be registering in the Android market.  There is still a lot to learn from this wonderful framework but the <a title="Android Groups" href="http://groups.google.com/group/android-beginners">Android groups</a> have been great help, as well as all the <a title="Android forums" href="http://www.anddev.org/" target="_blank">Android forums</a> and of course, <a title="developers guide" href="http://developer.android.com/guide/topics/graphics/2d-graphics.html">the Reference guide</a> which ships with the SDK. It has been a challenge to get to grips with this entirely new development area but it was far easier than imagined it would be. I spent about 10 times longer getting to know Flash, and that was with people available to help me.</p>
<p>What about my experience using the phone? I can honestly say I am now more connected than ever before. My email, both gmail and exchange, is pushed to the phone. My Twitter application runs in the background constantly fetching  tweets, while my Facebook application gets all my buddies&#8217; status updates to me as often as I want to see them. News and weather is updated all the time. My calendar and contacs are synchronised between my phone and my mobile. I never get lost anymore, maps are always available and my Gtalk status is always &#8220;available&#8221; and running in the background, unlike on some other phones <img src='http://www.mihswat.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Oh, and it makes phone calls as well.</p>
<p>I will follow up with another article of my findings, good and bad, this time focusing on the actual Android game development.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Desktop Wars</title>
		<link>http://www.mihswat.com/2008/12/17/the-desktop-wars/</link>
		<comments>http://www.mihswat.com/2008/12/17/the-desktop-wars/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 09:05:18 +0000</pubDate>
		<dc:creator>Mike Raath</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.mihswat.com/?p=527</guid>
		<description><![CDATA[An interesting website to visit from time to time is MarketShare. There you can find market share statistics on a number of technologies, such as browsers, operating systems, search platforms, and the like. As a committed Linux user, I&#8217;m always &#8230; <a href="http://www.mihswat.com/2008/12/17/the-desktop-wars/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>An interesting website to visit from time to time is <a href="http://marketshare.hitslink.com">MarketShare</a>. There you can find market share statistics on a number of technologies, such as browsers, operating systems, search platforms, and the like. As a committed Linux user, I&#8217;m always interested to note the progress (or lack thereof) of Linux&#8217;s market penetration, and visited recently to see if there had been any. The answer, sadly, is not really.<span id="more-527"></span></p>
<p>Looking at the <a href="http://marketshare.hitslink.com/report.aspx?qprid=9&amp;qpcustom=Linux">graph</a>, there is a slight upward trend, although any gain seen in Q3 2008 seems to have evaporated. Perhaps this is slightly counter-intuitive in light of the collapse of the world&#8217;s financial system &#8211; you&#8217;d think that people without cash would go for the free operating system. Please don&#8217;t tell me this is another incarnation of the &#8220;<a href="http://en.wikipedia.org/wiki/Flight-to-quality">flight to quality</a>&#8221; we&#8217;ve heard so much about. Quality? Microsoft?</p>
<p>Linux stands at less than 1% of total market share, with the Mac accounting for almost 9%, and Windows easily the most popular of all operating systems.</p>
<p>However, an interesting little nugget there is the share held by the iPhone. Bear in mind that this is a phone mostly only accessible in countries with ubiquitous, cheap and fast broadband access, with traditionally low mobile internet access rates, and the 0.37% market share is significant. Are we embarking on a slow but steady trend which will see us primarily surfing using mobile devices? <a href="http://www.crn.com/networking/212500632">Research</a> seems to indicate that it will be. I wonder if the 2020 estimate is perhaps too conservative &#8211; 12 years is an extremely long time in Internet terms.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mihswat.com/2008/12/17/the-desktop-wars/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; a viable alternative to Windows for the home?</title>
		<link>http://www.mihswat.com/2008/10/15/linux-a-viable-alternative-to-windows-for-the-home/</link>
		<comments>http://www.mihswat.com/2008/10/15/linux-a-viable-alternative-to-windows-for-the-home/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 16:28:10 +0000</pubDate>
		<dc:creator>Mike Raath</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.mihswat.com/?p=282</guid>
		<description><![CDATA[I love Linux. Really, I do. As an operating system it&#8217;s compact, powerful, and secure. As a principle it&#8217;s free and community oriented. Its position in the server market, particularly in the industry I find myself in, the Web, is &#8230; <a href="http://www.mihswat.com/2008/10/15/linux-a-viable-alternative-to-windows-for-the-home/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I love Linux. Really, I do. As an operating system it&#8217;s compact, powerful, and secure. As a principle it&#8217;s free and community oriented. Its position in the server market, particularly in the industry I find myself in, the Web, is the de facto standard. Mature distributions (distros) such as Fedora, Debian and Ubuntu have made installation and configuration a breeze, and certainly simpler than in the Windows domain that I inhabited until a year or so ago.<span id="more-282"></span></p>
<p>It was around that time, when I first installed Windows Vista, that I started to question the operating system I installed on my own machine. Vista was slow, unwieldy, clunky &#8211; a triumph of style over substance. Yet again, Microsoft believing that an upgrade in software warrants an upgrade in hardware (I can&#8217;t believe that that philosophy leads to good coding practices but that&#8217;s a discussion for another day). So I thought, 8 years after first attempting it, that it was time to revisit Linux.</p>
<p>Back in the late 90s I installed Red Hat on my desktop at home. The installation was relatively painless, but there was still a fair bit of tinkering required to get all my devices to work. And if I remember correctly, not all of them did. Some peripherals that I had were too new, others too old, a handful too obscure, and as a result I had a machine that was functional, but only just. I wasn&#8217;t bold enough to abandon my OS &#8211; NT at the time &#8211; entirely, so I dual-booted, always intending to play with Linux when I had the time. Time that never seemed to be there, so gradually my interest in Linux faded.</p>
<p>Back to the now, and my decision to reattempt Linux. I backed up all my important data, got hold of an Ubuntu Gutsy Live CD, and decided to bite the bullet. This time, no dual-boot. No hedging my bets. This time it would be a deep dive into the new and not-so-very familiar world of Linux. Back to real-world computing. I would get to grips with the command line and understand what was going on under the covers &#8211; covers that Windows had thrown between my computer and me over the years, taking me further and further away from the things I needed to understand to be able to troubleshoot.</p>
<p>Well, I was surprised to find just how easy the transition was. The Live CD showed me what Ubuntu would look like before I even installed it, and the installation process was simple. Things just worked. All my devices were picked up, and I found the process so pain-free that I even recommended the operating system to my father &#8211; a retired palaeontologist by trade and a bit of a hobby technologist &#8211; and he, too, has become an enthusiast.</p>
<p>I have since found myself a bit of an evangelist. Just ask my colleagues. But there is a nagging feeling at the back of my mind&#8230; can I yet recommend it to a non-techie? Would I tell my mother, or my wife, to install it? The answer here is no. And for very good reasons.</p>
<p>I have found that, for all the &#8220;it just works&#8221; philosphy of Linux, there are too many areas where &#8220;it just doesn&#8217;t&#8221;. Where you HAVE to venture into the command line to work out what&#8217;s going on. Where you need to sudo this, modprobe that, dpkg-configure the next thing&#8230;. things that I don&#8217;t mind (and to be honest really enjoy) doing, but things that I could not ask someone without my interest in the underlying nuts-and-bolts to do. I don&#8217;t see how Ubuntu can appeal to the average home user when it&#8217;s such a mission to connect your Bluetooth mouse (don&#8217;t select the Browse Device option, oh no&#8230; you need first to click on Input Service and then find your device), or when I have to reboot 4 times to get my wireless card to wake from a deep sleep.</p>
<p>But also, while the number of applications listed in the repositories is large, there are too many applications that the average user will expect to find in Linux that aren&#8217;t there. I haven&#8217;t yet found a suitable alternative to Visio. OpenOffice does a very good job with the remaining Office Applications &#8211; I don&#8217;t find myself missing Word or Excel &#8211; but Evolution is a pain when you connect to an Exchange Server. And if my nephew can&#8217;t run Spore &#8211; well, I just might find myself disowned as an uncle.</p>
<p>I really, really, like Linux. I feel that I understand the applications I&#8217;m installing now. I&#8217;ve had to learn &#8211; and that&#8217;s the problem. We&#8217;re a lot further down the road than we were when I first installed, but there&#8217;s still a long way to go.</p>
<p>This time, though &#8211; I&#8217;m sticking with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mihswat.com/2008/10/15/linux-a-viable-alternative-to-windows-for-the-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

