<?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>Ugh!!'s Greymatter Honeypot &#187; android</title>
	<atom:link href="http://www.u-g-h.com/tag/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.u-g-h.com</link>
	<description>Distracting the Mind with Information Overload</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:39:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Check out my amazing iHelicopter</title>
		<link>http://www.u-g-h.com/2011/11/22/check-out-my-amazing-ihelicopter/</link>
		<comments>http://www.u-g-h.com/2011/11/22/check-out-my-amazing-ihelicopter/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 00:11:24 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[owen]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[gadget. helicopter]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=4144</guid>
		<description><![CDATA[I came back home a couple of days and found this waiting for me: It&#8217;s a remote-control helicopter with a twist. Instead of having a dedicated remote control, it has an infra-red emitter that plugs into your phone. And you control it using an application you can download from your phone&#8217;s marketplace. And it doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I came back home a couple of days and found this waiting for me:</p>
<p><a  href="http://www.u-g-h.com/wp-content/uploads/2011/11/helicopter.jpg" class="thickbox no_icon" rel="gallery-4144" title="iHelicopter"><img class="alignleft size-medium wp-image-4145" title="iHelicopter" src="http://www.u-g-h.com/wp-content/uploads/2011/11/helicopter-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>It&#8217;s a remote-control helicopter with a twist. Instead of having a dedicated remote control, it has an infra-red emitter that plugs into your phone. And you control it using an application you can download from your phone&#8217;s marketplace. And it doesn&#8217;t just work on the iPhone, there are also a number of Android phones that it supports. It was nice to find out it supports the phone I have, the Samsung Galaxy S II, so all I had to do was download the app and give it a try.</p>
<p>The helicopter handles well. It has an in-built gyroscope which makes it quite easy to control. I haven&#8217;t played with it much so far, as I tried it out in the sitting room and kept worrying that I would crash it into the TV. I&#8217;ll try it outdoors one of these days. In fact, the application has a &#8220;Demo&#8221; button in it, but I wasn&#8217;t ready to just let it go berserk in the living room. The app even has a mode where can control the helicopter just by tilting the phone in the direction you want the helicopter to go. Here&#8217;s a short video where you can see the chopper in action:</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/Nd-zjc-1iSU" frameborder="0" allowfullscreen></iframe></p>
<p>Very much recommended, and you get get one for yourself down at <a  href="http://www.paramountzone.com/ihelicopter-lightspeed-phone-controlled-i-helicopter.htm">Paramount Zone</a>, where you can find it in their <a  href="http://www.paramountzone.com/christmas-gifts-presents.php">Christmas Gifts</a> section. I think my kids are too young for it just yet. Which means I get to play it all by myself. Muhahaha!</p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2011%2F11%2F22%2Fcheck-out-my-amazing-ihelicopter%2F&#038;title=Check%20out%20my%20amazing%20iHelicopter" id="wpa2a_2"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2011/11/22/check-out-my-amazing-ihelicopter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The pain of 64-bit &#8211; Java SDK, Android SDK &amp; Titanium Developer</title>
		<link>http://www.u-g-h.com/2011/01/24/the-pain-of-64-bit-java-sdk-android-sdk-titanium-developer/</link>
		<comments>http://www.u-g-h.com/2011/01/24/the-pain-of-64-bit-java-sdk-android-sdk-titanium-developer/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 18:49:41 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[appcelerator]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3878</guid>
		<description><![CDATA[It&#8217;s been a few years since 64-bit operating systems have been around and you&#8217;d expect that by now that would have been properly bedded in. I&#8217;ve moved onto 64-bit Windows with my new laptop and I&#8217;ve been pretty pleased to find that I&#8217;ve had no problems finding drivers for the platform and had no software [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a few years since 64-bit operating systems have been around and you&#8217;d expect that by now that would have been properly bedded in. I&#8217;ve moved onto 64-bit Windows with my new laptop and I&#8217;ve been pretty pleased to find that I&#8217;ve had no problems finding drivers for the platform and had no software issues so far.</p>
<p>However, this evening I was going to play with some Android development, so I started loading up bits I needed. First on was the <a  href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java JDK</a>. I had a choice of 64-bit or 32-bit, so went for the 64-bit version. All was fine and dandy till I tried installing the <a  href="http://developer.android.com/sdk/index.html">Android SDK</a>, at which point I was presented with an error telling me that the &#8220;Java SE Development Kit (JDK) not found&#8221;</p>
<p><a  href="http://www.u-g-h.com/wp-content/uploads/2011/01/64bitJava.jpg" class="thickbox no_icon" rel="gallery-3878" title=""><img src="http://www.u-g-h.com/wp-content/uploads/2011/01/64bitJava-300x230.jpg" alt="" title="Java SE Development Kit (JDK) not found" width="300" height="230" class="aligncenter size-medium wp-image-3879" /></a></p>
<p>Backtracking, I uninstalled the 64-bit JDK, installed the 32-bit version and lo and behind, the Android SDK is now on my machine.</p>
<p>However, when I proceeded to the actual tool I wanted to have a play with, called <a  href="http://www.appcelerator.com/products/">Appcelerator Titanium</a>, I just hit a brick wall:<br />
<a  href="http://www.u-g-h.com/wp-content/uploads/2011/01/64bitTitanium.jpg" class="thickbox no_icon" rel="gallery-3878" title=""><img src="http://www.u-g-h.com/wp-content/uploads/2011/01/64bitTitanium.jpg" alt="" title="Appcelerator Titanium Error on 64-bit" width="331" height="194" class="aligncenter size-full wp-image-3880" /></a></p>
<p>Try as I might, I just couldn&#8217;t get the darn thing running on my 64-bit platform. I guess I&#8217;ll just have to set up a 32-bit VM and get it running from there, but no more time for play today, so I&#8217;ll have to shelf it for another day <img src='http://www.u-g-h.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2011%2F01%2F24%2Fthe-pain-of-64-bit-java-sdk-android-sdk-titanium-developer%2F&#038;title=The%20pain%20of%2064-bit%20%26%238211%3B%20Java%20SDK%2C%20Android%20SDK%20%26%23038%3B%20Titanium%20Developer" id="wpa2a_4"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2011/01/24/the-pain-of-64-bit-java-sdk-android-sdk-titanium-developer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lockscreen Gestures &#8211; Best Cyanogenmod feature of 2010</title>
		<link>http://www.u-g-h.com/2010/12/01/lockscreen-gestures-best-cyanogenmod-feature-of-2010/</link>
		<comments>http://www.u-g-h.com/2010/12/01/lockscreen-gestures-best-cyanogenmod-feature-of-2010/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 09:16:49 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[nexus 1]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3853</guid>
		<description><![CDATA[I&#8217;ve been running the Cyanogenmod Rom on my Nexus 1 almost since the day I got it. It has the best enhancements, battery life and speed of the ROMs I had originally tested before making my mind up. There probably have been new ROMs springing up on the Android phone scene since then, but I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running the Cyanogenmod Rom on my Nexus 1 almost since the day I got it. It has the best enhancements, battery life and speed of the ROMs I had originally tested before making my mind up. There probably have been new ROMs springing up on the Android phone scene since then, but I&#8217;m happy to stick with a ROM that makes me happy.</p>
<p>Well, the latest experimental drop of the ROM: <a  href="http://forum.cyanogenmod.com/files/category/5-experimental-mod/">CyanogenMod 6.1.0 RC 2</a> has an awesome feature which has got to be my favourite feature in a long time: Lockscreen Gestures. You know how it is, you need to take a photo in a hurry, so you dig into your pocket for your phone, scramble to unlock it, get the lock code wrong, unlock again, try to find the camera icon, miss it, open the Gallery instead, go back, hit the camera .. and your photo opportunity it gone! Well, Lockscreen Gestures lets you go straight from the lockscreen to your favourite app, without having to navigate or search for it. I&#8217;ve only just started playing with it, but it really works for when you need snappy access to an application. These are the gestures I have at the moment:</p>
<p><a  href="http://www.u-g-h.com/wp-content/uploads/2010/12/gestures.png" class="thickbox no_icon" rel="gallery-3853" title=""><img src="http://www.u-g-h.com/wp-content/uploads/2010/12/gestures-180x300.png" alt="" title="gestures" width="180" height="300" class="aligncenter size-medium wp-image-3854" /></a></p>
<p>If you want to try Cyanogenmod on your phone, check out if there&#8217;s a version for you under the <a  href="http://forum.cyanogenmod.com/files/category/1-stable-mod/">stable mods</a>. If you need more information, check out the <a  href="http://wiki.cyanogenmod.com/index.php?title=Main_Page">wiki</a>, or drop me a <a  href="http://twitter.com/owenc">Tweet</a></p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2010%2F12%2F01%2Flockscreen-gestures-best-cyanogenmod-feature-of-2010%2F&#038;title=Lockscreen%20Gestures%20%26%238211%3B%20Best%20Cyanogenmod%20feature%20of%202010" id="wpa2a_6"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2010/12/01/lockscreen-gestures-best-cyanogenmod-feature-of-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What&#8217;s next for my Android app</title>
		<link>http://www.u-g-h.com/2010/07/06/whats-next-for-my-android-app/</link>
		<comments>http://www.u-g-h.com/2010/07/06/whats-next-for-my-android-app/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 22:23:50 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[HTC Tattoo]]></category>
		<category><![CDATA[Nexus One]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3505</guid>
		<description><![CDATA[Well, I figured out how to write an application for the Android platform and how to push it onto the market. And now I&#8217;m facing the problem that many developers found themselves facing when the Android ecosystem introduced support for multiple display capabilities on devices. Yup, the application that looked great on my Nexus didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I figured out how to write an application for the <a  class="zem_slink" title="Android" rel="homepage" href="http://code.google.com/android/">Android platform</a> and how to push it onto the market. And now I&#8217;m facing the problem that many developers found themselves facing when the Android ecosystem introduced support for multiple display capabilities on devices. Yup, the application that looked great on my Nexus didn&#8217;t appear on my friend Dan&#8217;s <a  class="zem_slink" title="HTC Tattoo" rel="wikipedia" href="http://en.wikipedia.org/wiki/HTC_Tattoo">HTC Tattoo</a> market. I added support for the device and now the application looks a bit crappy on both.</p>
<p>The images on my phone are now tiny and on the Tattoo are all jammed up together. This is caused by the fact that the images sizes are set to 100 pixels across. I&#8217;m going to have to rethink how the pictures are sized and use the display width to figure out the proper width for the images. In retrospect this is what I should have done in the first place, but hey, I believe in learning through doing and you can&#8217;t learn without making mistakes.</p>
<p>So, onto reading about density independence and the other joys of <a  href="http://developer.android.com/guide/practices/screens_support.html">supporting multiple screen types</a>.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=8b7d1899-7e33-40a6-b2bc-35ac7145ea74" alt="" /><span class="zem-script pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2010%2F07%2F06%2Fwhats-next-for-my-android-app%2F&#038;title=What%26%238217%3Bs%20next%20for%20my%20Android%20app" id="wpa2a_8"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2010/07/06/whats-next-for-my-android-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Isle of Man Views : My first Android app</title>
		<link>http://www.u-g-h.com/2010/07/04/isle-of-man-views-my-first-android-app/</link>
		<comments>http://www.u-g-h.com/2010/07/04/isle-of-man-views-my-first-android-app/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 23:17:01 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[Isle-of-Man]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3500</guid>
		<description><![CDATA[I&#8217;ve been playing with writing an Android application, with the explicit intention of learning how apps work, get my teeth into Eclipse and Java and get some understanding of how the Android developer ecosystem works. It&#8217;s been a great journey so far, and the fruit of my effort is now up on the Android Market. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://s2.appbrain.com/screen?id=317117949340018896&#038;i=2" align="right" width="200">I&#8217;ve been playing with writing an Android application, with the explicit intention of learning how apps work, get my teeth into Eclipse and Java and get some understanding of how the Android developer ecosystem works. It&#8217;s been a great journey so far, and the fruit of my effort is now up on the Android Market.</p>
<p>It&#8217;s a pretty simple application that shows you some of the sights around the Isle of Man, together with a small description of what you&#8221;re viewing. I&#8217;ll be adding more functionality to it in the future, but in the meantime you can see it on the Market view on AppBrain: <a  href="http://www.appbrain.com/app/com.engage.IsleofManViews">Isle of Man Views</a></p>
<p>Next feature I&#8217;ll be working on is to show a map of the photo you&#8217;re looking at. </p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2010%2F07%2F04%2Fisle-of-man-views-my-first-android-app%2F&#038;title=Isle%20of%20Man%20Views%20%3A%20My%20first%20Android%20app" id="wpa2a_10"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2010/07/04/isle-of-man-views-my-first-android-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Android apps are you running?</title>
		<link>http://www.u-g-h.com/2010/06/05/what-android-apps-are-you-running/</link>
		<comments>http://www.u-g-h.com/2010/06/05/what-android-apps-are-you-running/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 22:48:12 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[appbrain]]></category>
		<category><![CDATA[apps]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3423</guid>
		<description><![CDATA[I&#8217;ve come across a great service called AppBrain that lets you manage your Android apps and pick more using a great interface. It also has a cute widget to showcase what&#8217;s installed on your phone. Here&#8217;s what&#8217;s on mine: Owen&#8217;s Android apps on AppBrain Awesome stuff!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come across a great service called AppBrain that lets you manage your Android apps and pick more using a great interface. It also has a cute widget to showcase what&#8217;s installed on your phone. Here&#8217;s what&#8217;s on mine:</p>
<div id='applist202' class='appbrain-applist'><a  href="http://www.appbrain.com/user/Owen/apps-on-the-phone" style="font-size: 11px; color: #555; font-family: Arial, sans-serif;">Owen&#8217;s Android apps on AppBrain</a></div>
<p> <script type='text/javascript' language='javascript' src='http://www.appbrain.com/api/api.nocache.js'></script></p>
<p>Awesome stuff!</p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2010%2F06%2F05%2Fwhat-android-apps-are-you-running%2F&#038;title=What%20Android%20apps%20are%20you%20running%3F" id="wpa2a_12"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2010/06/05/what-android-apps-are-you-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome &#8211; Google Nexus One</title>
		<link>http://www.u-g-h.com/2010/02/06/welcome-google-nexus-one/</link>
		<comments>http://www.u-g-h.com/2010/02/06/welcome-google-nexus-one/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 00:26:25 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Google Nexus One]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3277</guid>
		<description><![CDATA[The latest gadget at home is my new phone, the Google Nexus One. It&#8217;s only been 6 months since I got my HTC Magic, but that&#8217;s been handed down to Camille (who had been borrowing it every now and again) and needed a handset replacement. In the meantime, I&#8217;ve managed to persuade her that I [...]]]></description>
			<content:encoded><![CDATA[<p>The latest gadget at home is my new phone, the Google Nexus One. It&#8217;s only been 6 months since I got my <a  href="http://www.u-g-h.com/2009/05/02/android-on-htc-magic/">HTC Magic</a>, but that&#8217;s been handed down to Camille (who had been borrowing it every now and again) and needed a handset replacement. In the meantime, I&#8217;ve managed to persuade her that I needed the latest and the greatest, and I&#8217;m over the moon with the phone. Check out some of the features in the following two videos:</p>
<p><object height="295" width="480"><param name="movie" value="http://www.youtube.com/v/e2WtBwAL0SE&amp;hl=en_GB&amp;fs=1&amp;"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/e2WtBwAL0SE&amp;hl=en_GB&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="295" width="480"></embed></object></p>
<p>and</p>
<p><object height="295" width="480"><param name="movie" value="http://www.youtube.com/v/i7-p15xbXB4&amp;hl=en_GB&amp;fs=1&amp;"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/i7-p15xbXB4&amp;hl=en_GB&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="295" width="480"></embed></object></p>
<p>If you see me around, just ask for a demo, I&#8217;d be delighted to oblige</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none; float: right;" class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=affc9eca-40d8-43ed-ab7a-ddb2a759da0f"><span class="zem-script more-info pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2010%2F02%2F06%2Fwelcome-google-nexus-one%2F&#038;title=Welcome%20%26%238211%3B%20Google%20Nexus%20One" id="wpa2a_14"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2010/02/06/welcome-google-nexus-one/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Anatomy of an Android Application</title>
		<link>http://www.u-g-h.com/2009/12/01/anatomy-of-an-android-application/</link>
		<comments>http://www.u-g-h.com/2009/12/01/anatomy-of-an-android-application/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 09:54:56 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[application development]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3229</guid>
		<description><![CDATA[photo credit: Josh Russell There are four building blocks to an Android application: * Activity * Intent Receiver * Service * Content Provider Not every application needs to have all four, but your application will be written with some combination of these. Once you have decided what components you need for your application, you should [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:5px;"><a  title="T-Mobile Google G1 mobile launch" href="http://www.flickr.com/photos/53472606@N00/2907850098/" target="_blank"><img src="http://farm4.static.flickr.com/3196/2907850098_9afba59507_m.jpg" border="0" alt="T-Mobile Google G1 mobile launch" /></a><br />
<small><a  title="Attribution-NonCommercial-ShareAlike License" href="http://creativecommons.org/licenses/by-nc-sa/2.0/" target="_blank"><img src="http://www.u-g-h.com/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a  href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a  title="Josh Russell" href="http://www.flickr.com/photos/53472606@N00/2907850098/" target="_blank">Josh Russell</a></small></div>
<p>There are four building blocks to an Android application:</p>
<p>* Activity<br />
* Intent Receiver<br />
* Service<br />
* Content Provider</p>
<p>Not every application needs to have all four, but your application will be written with some combination of these.</p>
<p>Once you have decided what components you need for your application, you should list them in a file called AndroidManifest.xml. This is an XML file where you declare the components of your application and what their capabilities and requirements are. See the Android manifest file documentation for complete details.</p>
<p><strong><em>Activity</em></strong><br />
Activities are the most common of the four Android building blocks. An activity is usually a single screen in your application. Each activity is implemented as a single class that extends the Activity base class. Your class will display a user interface composed of Views and respond to events. Most applications consist of multiple screens. For example, a text messaging application might have one screen that shows a list of contacts to send messages to, a second screen to write the message to the chosen contact, and other screens to review old messages or change settings. Each of these screens would be implemented as an activity. Moving to another screen is accomplished by a starting a new activity. In some cases an activity may return a value to the previous activity &#8212; for example an activity that lets the user pick a photo would return the chosen photo to the caller.</p>
<p>When a new screen opens, the previous screen is paused and put onto a history stack. The user can navigate backward through previously opened screens in the history. Screens can also choose to be removed from the history stack when it would be inappropriate for them to remain. Android retains history stacks for each application launched from the home screen.</p>
<p><strong><em>Intent and Intent Filters</em></strong><br />
Android uses a special class called an Intent to move from screen to screen. An intent describes what an application wants done. The two most important parts of the intent data structure are the action and the data to act upon. Typical values for action are MAIN (the front door of the activity), VIEW, PICK, EDIT, etc. The data is expressed as a URI. For example, to view contact information for a person, you would create an intent with the VIEW action and the data set to a URI representing that person.</p>
<p>There is a related class called an IntentFilter. While an intent is effectively a request to do something, an intent filter is a description of what intents an activity (or intent receiver, see below) is capable of handling. An activity that is able to display contact information for a person would publish an IntentFilter that said that it knows how to handle the action VIEW when applied to data representing a person. Activities publish their IntentFilters in the AndroidManifest.xml file.</p>
<p>Navigating from screen to screen is accomplished by resolving intents. To navigate forward, an activity calls startActivity(myIntent). The system then looks at the intent filters for all installed applications and picks the activity whose intent filters best matches myIntent. The new activity is informed of the intent, which causes it to be launched. The process of resolving intents happens at run time when startActivity is called, which offers two key benefits:</p>
<p>* Activities can reuse functionality from other components simply by making a request in the form of an Intent<br />
* Activities can be replaced at any time by a new Activity with an equivalent IntentFilter</p>
<p><em><strong>Intent Receiver</strong></em><br />
You can use an IntentReceiver when you want code in your application to execute in reaction to an external event, for example, when the phone rings, or when the data network is available, or when it&#8217;s midnight. Intent receivers do not display a UI, although they may use the NotificationManager to alert the user if something interesting has happened. Intent receivers are registered in AndroidManifest.xml, but you can also register them from code using Context.registerReceiver(). Your application does not have to be running for its intent receivers to be called; the system will start your application, if necessary, when an intent receiver is triggered. Applications can also send their own intent broadcasts to others with Context.broadcastIntent().</p>
<p><strong><em>Service</em></strong><br />
A Service is code that is long-lived and runs without a UI. A good example of this is a media player playing songs from a play list. In a media player application, there would probably be one or more activities that allow the user to choose songs and start playing them. However, the music playback itself should not be handled by an activity because the user will expect the music to keep playing even after navigating to a new screen. In this case, the media player activity could start a service using Context.startService() to to run in the background to keep the music going. The system will then keep the music playback service running until it has finished. (You can learn more about the priority given to services in the system by reading Lifecycle of an Android Application.) Note that you can connect to a service (and start it if it&#8217;s not already running) with the Context.bindService() method. When connected to a service, you can communicate with it through an interface exposed by the service. For the music service, this might allow you to pause, rewind, etc.</p>
<p><strong><em>Content Provider</em></strong><br />
Applications can store their data in files, an <a  class="zem_slink freebase/guid/9202a8c04000641f800000000018bac9" title="SQLite" rel="homepage" href="http://www.sqlite.org/">SQLite</a> database, or any other mechanism that makes sense. A content provider, however, is useful if you want your application&#8217;s data to be shared with other applications. A content provider is a class that implements a standard set of methods to let other applications store and retrieve the type of data that is handled by that content provider.</p>
<p>To get more details on content providers, see Accessing Content Providers.</p>
<p><a  href="http://code.google.com/android/intro/anatomy.html" target="_blank">http://code.google.com/android/intro/anatomy.html</a></p>
<p>Portions of this page are reproduced from work created and <a  href="http://code.google.com/policies.html" target="_blank">shared by Google</a> and used according to terms described in the <a  href="http://creativecommons.org/licenses/by/2.5/" target="_blank">Creative Commons 2.5 Attribution License</a>. &#8211; Originally posted in <a  href="http://androidcommunity.com/forums/f4/anatomy-of-an-android-application-102/">Android Community Forums</a>, but excellent enough to share.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=61483310-ab10-4729-b16d-35cdfa463c8e" alt="" /><span class="zem-script more-info pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F12%2F01%2Fanatomy-of-an-android-application%2F&#038;title=Anatomy%20of%20an%20Android%20Application" id="wpa2a_16"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/12/01/anatomy-of-an-android-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top 5 Applications for your Android phone</title>
		<link>http://www.u-g-h.com/2009/07/06/top-5-applications-for-your-android-phone/</link>
		<comments>http://www.u-g-h.com/2009/07/06/top-5-applications-for-your-android-phone/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 21:33:50 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[HTC Magic]]></category>
		<category><![CDATA[top 5]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3071</guid>
		<description><![CDATA[It&#8217;s been almost 2 weeks since I got my HTC Magic running Google&#8217;s new mobile operating system: Android. It&#8217;s been a great two weeks, I&#8217;m positively in love with the device and Android is just superb. All the things that used to frustrate me about Windows Mobile 6.1 (I had an HTC Artemis before this) [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been almost 2 weeks since I got my <a  href="http://www.htc.com/www/product/magic/overview.html">HTC Magic</a> running Google&#8217;s new mobile operating system: Android. It&#8217;s been a great two weeks, I&#8217;m positively in love with the device and Android is just superb. All the things that used to frustrate me about Windows Mobile 6.1 (I had an HTC Artemis before this) have magically disappeared and I cannot recommend Android enough. I thought I&#8217;d take a breather from playing with the phone and blog about some of the applications I&#8217;ve found for Android that make the phone so special.</p>
<p>Here&#8217;s my list of favourites in descending order:</p>
<ul>
<li><strong> Google Skymap</strong>: Here&#8217;s a cute little app. It&#8217;s essential if you&#8217;re into astronomy, but if, like me you have just a passing curiosity, it&#8217;s still a lot of fun. It shows you a map pointing out the brightest naked-eye stars, planets, sun and moon, constellation lines, horizon, cardinal points, and Messier Objects. The awesome part though, is that it uses the phone&#8217;s GPS, accelerometer and compass to figure out where you are, where you are pointing your phone and therefore which part of the sky you&#8217;re looking at. It therefore shows you the night sky you&#8217;re looking at and helps you identify all the different objects you&#8217;re looking at.
<div style="text-align: center;"><img src="http://www.u-g-h.com/wp-content/uploads/2009/07/skymap.png" alt="skymap" title="skymap" class="aligncenter size-full wp-image-3074" height="240" width="160"></div>
<p>Read more about <a  href="http://www.google.com/sky/skymap.html">Google SkyMap</a></li>
<li><strong>Twidroid</strong>: An awesome Twitter client that does everything you may want from a Twitter client and then some. It can use your phone&#8217;s GPS or other location-based services to automatically post your location and the phone&#8217;s camera to snap and upload photos right to yourTwitter account. It does all the great things the best Twitter clients do, lets you retweet things efficiently, reply to tweets and DM people really easily. If you&#8217;re a Twitter fiend, it&#8217;s very much recommended.
<div style="text-align: center;"><img src="http://www.u-g-h.com/wp-content/uploads/2009/07/twidroid.png" alt="twidroid" title="twidroid" class="aligncenter size-full wp-image-3075" height="240" width="160"></div>
<p> Read more about <a  href="http://twidroid.com/">Twidroid</a>.</li>
<li><strong>Shazam</strong>: Ever seen an application that looks just like magic? Well Shazam is one of those. Let&#8217;s say you&#8217;re sitting in the car and a great song comes on the radio. Don&#8217;t you hate it when the song finishes and you never learn what it was? Well, with Shazam, all you do if fire up the app, let it listen to a few seconds on your song and bang, it comes back with the name of the song, the artist and all the information you could ever want to learn about it.
<div style="text-align: center;"><img src="http://www.u-g-h.com/wp-content/uploads/2009/07/shazam.png" alt="shazam" title="shazam" class="aligncenter size-full wp-image-3072" height="240" width="160"></div>
<p>Read more about <a  href="http://www.shazam.com/music/web/home.html">Shazam</a>.</li>
<li><strong>Shopsavvy</strong>: Here&#8217;s another interesting application. It lets you scan a barcode on a book and tells you what the book is, giving you quick access to reviews about it. Big deal you might say; but there&#8217;s also another aspect to it. It looks for the book online and tells you what the prices are from a number of different online retailers; so if you&#8217;re in a bookstore, you can immediately tell if you have a good deal or not. But wait, there&#8217;s another twist. Using location-based services it also does a check of other book retailers in the area and check what they&#8217;re selling the book at. So, if the shop you&#8217;re checking the price in is too expensive, you can just nip next door and get it from the cheaper place.
<div style="text-align: center;"><img src="http://www.u-g-h.com/wp-content/uploads/2009/07/shopsavvy.png" alt="shopsavvy" title="shopsavvy" class="aligncenter size-full wp-image-3073" height="240" width="160"></div>
<p>Read more about <a  href="http://www.biggu.com/apps/">Shopsavvy</a></li>
<li><strong>Wikitude</strong>: This is just the most awesome application ever. Imagine you&#8217;re driving along and see a building on the horizon. You have no idea what it is. Well, Wikitude checks where you are, pings Wikipedia pulling down landmarks in the area, and uses the compass and camera in your phone to superimpose the inforamtion on the image you&#8217;re looking at. It&#8217;s a type of technology called <a  class="zem_slink" href="http://en.wikipedia.org/wiki/Augmented_reality" title="Augmented reality" rel="wikipedia">Augmented Reality</a> and you have to see it to realise just how awesome it it.
<div style="text-align: center;"><img src="http://www.u-g-h.com/wp-content/uploads/2009/07/wikitude.png" alt="wikitude" title="wikitude" class="aligncenter size-full wp-image-3076" height="160" width="240"></div>
<p>Read more about <a  href="http://www.mobilizy.com/en/wikitude-ein-reisefuhrer">Wikitude</a></li>
</ul>
<p>These are just five of the applications I have tried so far. There are others out there that I haven&#8217;t got to yet, one particular area I&#8217;m interested in is <a  href="http://www.todocast.tv/">live video streaming services</a>, but I just haven&#8217;t managed to find anything that works for me yet. I also have a number of games that are going into a similar post to this, that is .. when I get round to posting it. There&#8217;s some amazing stuff in there, so if you have an Android phone and haven&#8217;t seen one of the five above, just pop onto the Market and give them a try. They&#8217;re all free! </p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=860e586a-df4f-4bec-9809-634de2a3bf72"><span class="zem-script pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F07%2F06%2Ftop-5-applications-for-your-android-phone%2F&#038;title=Top%205%20Applications%20for%20your%20Android%20phone" id="wpa2a_18"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/07/06/top-5-applications-for-your-android-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android on HTC Magic</title>
		<link>http://www.u-g-h.com/2009/05/02/android-on-htc-magic/</link>
		<comments>http://www.u-g-h.com/2009/05/02/android-on-htc-magic/#comments</comments>
		<pubDate>Sat, 02 May 2009 08:54:39 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[HTC Magic]]></category>
		<category><![CDATA[Vodafone]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3009</guid>
		<description><![CDATA[If you&#8217;re looking for a new mobile phone, check out Vodaphone&#8217;s demo of&#160; Android running on the HTC Magic (which should be hitting the shops as we speak) I&#8217;ve been looking to upgrade my phone for some time now, and this video REALLY got my juices flowing. Android seems to be getting more and more [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re looking for a new mobile phone, check out Vodaphone&#8217;s demo of&nbsp; Android running on the <a  class="zem_slink" href="http://en.wikipedia.org/wiki/HTC_Magic" title="HTC Magic" rel="wikipedia">HTC Magic</a> (which should be hitting the shops as we speak)</p>
<p><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/GEhgZueqyMc&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;fs=1"><param name="allowFullScreen" value="true"><embed src="http://www.youtube.com/v/GEhgZueqyMc&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" height="344" width="425"></embed></object></p>
<p>I&#8217;ve been looking to upgrade my phone for some time now, and this video REALLY got my juices flowing. Android seems to be getting more and more compelling with every release and &#8220;<a  href="http://source.android.com/roadmap/cupcake">Cupcake</a>&#8221; makes it even more attractive. I&#8217;ll be taking the plunge .. soon .. very soon &#8230;</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=6700ea2e-3c90-40aa-aee1-a3bc43649912"><span class="zem-script pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F05%2F02%2Fandroid-on-htc-magic%2F&#038;title=Android%20on%20HTC%20Magic" id="wpa2a_20"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/05/02/android-on-htc-magic/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

