<?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>UIMOBILE</title>
	<atom:link href="http://www.uimobile.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uimobile.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 01 Apr 2012 22:28:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CCNC12 &#8211; Las Vegas</title>
		<link>http://www.uimobile.co.uk/ccnc12-las-vegas/</link>
		<comments>http://www.uimobile.co.uk/ccnc12-las-vegas/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 21:05:09 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=461</guid>
		<description><![CDATA[<p></p> <p></p> <p></p> <p></p> <p></p>]]></description>
			<content:encoded><![CDATA[<p><img title="IMG_20120112_162016.jpg" class="alignnone" alt="image" src="http://www.uimobile.co.uk/wp-content/uploads/2012/01/wpid-IMG_20120112_162016.jpg" /></p>
<p><img title="IMG_20120112_184358.jpg" class="alignnone" alt="image" src="http://www.uimobile.co.uk/wp-content/uploads/2012/01/wpid-IMG_20120112_184358.jpg" /></p>
<p><img title="IMG_20120112_184517.jpg" class="alignnone" alt="image" src="http://www.uimobile.co.uk/wp-content/uploads/2012/01/wpid-IMG_20120112_184517.jpg" /></p>
<p><img title="IMG_20120113_173639.jpg" class="alignnone" alt="image" src="http://www.uimobile.co.uk/wp-content/uploads/2012/01/wpid-IMG_20120113_173639.jpg" /></p>
<p><img title="IMG_20120113_182928.jpg" class="alignnone" alt="image" src="http://www.uimobile.co.uk/wp-content/uploads/2012/01/wpid-IMG_20120113_182928.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/ccnc12-las-vegas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>String comparisons in MySQL buggy as hell!</title>
		<link>http://www.uimobile.co.uk/string-comparisons-in-mysql-buggy-as-hell/</link>
		<comments>http://www.uimobile.co.uk/string-comparisons-in-mysql-buggy-as-hell/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 01:00:32 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=451</guid>
		<description><![CDATA[<p>The other day I tried to make a string comparison in a MySQL query for example</p> SELECT * FROM users WHERE username = "mark" <p>Which returned 1 result. But, I noticed if I performed a similar query</p> SELECT * FROM users WHERE username = "mark " <p>It also returned 1 result (the same result) notice [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I tried to make a string comparison in a MySQL query for example</p>
<pre>SELECT * FROM users WHERE username = "mark"</pre>
<p>Which returned 1 result. But, I noticed if I performed a similar query</p>
<pre>SELECT * FROM users WHERE username = "mark "</pre>
<p>It also returned 1 result (the same result) notice the space after the name.</p>
<p>To fix is this I needed to use the BINARY keyword which performs a byte-for-byte comparison rather than a string comparison.</p>
<pre>SELECT * FROM users WHERE username = BINARY 'mark'</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/string-comparisons-in-mysql-buggy-as-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone &#8211; XML Parsing</title>
		<link>http://www.uimobile.co.uk/windows-phone-xml/</link>
		<comments>http://www.uimobile.co.uk/windows-phone-xml/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 15:13:44 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[What I Do]]></category>
		<category><![CDATA[Windows Phone]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=442</guid>
		<description><![CDATA[<p>Windows Phone has been around since Nov 2010. However it is only now since I&#8217;ve made some time to take a deeper look into the hardware, mobile ecosystem, programming language and development resources.</p> <p>To start off I installed the following:</p> Visual Studio 2010 (Windows Phone). Zune. <p>With every new programming language I start to learn, [...]]]></description>
			<content:encoded><![CDATA[<p>Windows Phone has been around since Nov 2010. However it is only now since I&#8217;ve made some time to take a deeper look into the hardware, mobile ecosystem, programming language and development resources.</p>
<p>To start off I installed the following:</p>
<ol>
<li>Visual Studio 2010 (Windows Phone).</li>
<li>Zune.</li>
</ol>
<p>With every new programming language I start to learn, I look at three main areas.</p>
<ol>
<li>Navigating views.</li>
<li>Passing data between views.</li>
<li>Sending and receiving data to and from a web server.</li>
</ol>
<p>In this example I will demonstrate how to download XML data from a web server and parse this into a list (1. as item 2. as buttons). To demonstrate passing data between views I will pass the selected list items data onto the next view.</p>
<p>XML example:</p>
<pre>&lt;people&gt;
  &lt;person&gt;
    &lt;firstname&gt;Kate&lt;/firstname&gt;
    &lt;lastname&gt;Smith&lt;/lastname&gt;
    &lt;age&gt;27&lt;/age&gt;
  &lt;/person&gt;
  ...
&lt;persons&gt;</pre>
<p>xaml code to define list of XML elements:</p>
<pre>&lt;ListBox HorizontalAlignment="Left" Margin="0,6" Name="listBox1" Width="450" FontSize="56" SelectionChanged="listBox1_SelectionChanged"&gt;
   &lt;ListBox.ItemTemplate&gt;
      &lt;DataTemplate&gt;
          &lt;StackPanel&gt;
              &lt;TextBlock Tag="{Binding LastName}" Text="{Binding FirstName}" /&gt;
          &lt;/StackPanel&gt;
      &lt;/DataTemplate&gt;
   &lt;/ListBox.ItemTemplate&gt;
&lt;/ListBox&gt;</pre>
<p>C#</p>
<p>Make a connection to the XML document:</p>
<pre>// Constructor
public MainPage()
{
   InitializeComponent();
   WebClient wc = new WebClient();
   wc.DownloadStringCompleted += HttpsCompleted;
   wc.DownloadStringAsync(new Uri("http://dcs-mobile.lancs.ac.uk/phd/mark/dev/wp/xml/xml_list.xml"));
}</pre>
<p>Perform the parsing from the XML file:</p>
<pre>private void HttpsCompleted(object sender, DownloadStringCompletedEventArgs e)
{
 if (e.Error == null)
 {</pre>
<pre>  XDocument loadedData = XDocument.Parse(e.Result, LoadOptions.None);</pre>
<pre>  var data = from query in loadedData.Descendants("person") select new Person
  {
   FirstName = (string)query.Element("firstname"),
   LastName = (string)query.Element("lastname"),
   Age = (int)query.Element("age")
  };
  listBox1.ItemsSource = data;</pre>
<pre> }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/windows-phone-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ACE2011</title>
		<link>http://www.uimobile.co.uk/ace2011-conference/</link>
		<comments>http://www.uimobile.co.uk/ace2011-conference/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 21:29:00 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Mobile Radicals]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/ace2011-2/</guid>
		<description><![CDATA[ACE 2011 conference <p>Mobile phone as second screen to TV &#8211; late breaking results poster.<br /> Free all monsters! A context aware location based game &#8211; game competition.</p> <p><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br [...]]]></description>
			<content:encoded><![CDATA[<h1>ACE 2011 conference</h1>
<p>Mobile phone as second screen to TV &#8211; late breaking results poster.<br />
Free all monsters! A context aware location based game &#8211; game competition.</p>
<p><img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111108_2020115.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111108_2045003.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111109_110608-HagridVignetteHassel16.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111109_1852346.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111109_1921455.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111109_1916173.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_1537494.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_1623085.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_1623354.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_2203041.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_2215051.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_2205521.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111111_0922341.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111111_0923541.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111111_0925021.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111110_221505-SophiaLocalBlack1.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111109_171537-AnneDevineScan11.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111111_145751-SophiaKryptoniteWhite11.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_131429.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_131741.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_132517.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_132602.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_152339.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_154452.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_154931.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_155348.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_154326.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_164021.jpg" alt="image" /></p>
<p><img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_164242.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_165339.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_165504.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_170053.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_173151.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_220224.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_224914.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_224949.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_225130.jpg" alt="image" /></p>
<p><img class="aligncenter" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111112_231420.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_0035501.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_141311.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1418361.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1422261.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1428481.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_143052-SophiaMetalOld12.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1451311.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_150937-KarenGround11.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1520501.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1526111.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_1528561.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_2026041.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_233038.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111113_233251.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111114_132221.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111114_134817.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111114_134821.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111114_141355.jpg" alt="image" /><br />
<img style="display: block; margin-right: auto; margin-left: auto;" src="http://www.uimobile.co.uk/wp-content/uploads/2011/11/wpid-IMG_20111114_183654.jpg" alt="image" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/ace2011-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR StageWebView</title>
		<link>http://www.uimobile.co.uk/air-stagewebview/</link>
		<comments>http://www.uimobile.co.uk/air-stagewebview/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 20:11:24 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[1]]></category>
		<category><![CDATA[2.2]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder 4.5]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Social Networks]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=225</guid>
		<description><![CDATA[<p>If you&#8217;ve been playing games on your iPhone or Android lately you will have noticed the increased social functionality of sharing your game scores, photos, opinions etc.</p> <p>Adobe&#8217;s Flash platform have recently introduced a new class called &#8216;Stage Web View&#8216; this enables developers to display HTML content from within their application. Since Facebook and Twitter [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been playing games on your <strong>iPhone</strong> or <strong>Android</strong> lately you will have noticed the increased social functionality of sharing your game scores, photos, opinions etc.</p>
<p>Adobe&#8217;s Flash platform have recently introduced a new class called &#8216;<strong>Stage Web View</strong>&#8216; this enables developers to display <strong>HTML</strong> content from within their application. Since <strong>Facebook</strong> and <strong>Twitter</strong> have moved away from basic authentification to <strong>OAuth</strong> (in its simplest form; a way of authenticating a user to allow an application access to that user&#8217;s private resources, for example <strong>Twitter</strong> requires external applications to pass through <strong>OAuth</strong> in order to read/write personal data from that user).</p>
<p>Recently I&#8217;ve been playing with <strong>OAuth</strong> for <strong>Twitter</strong> and <strong>Facebook</strong> in order to post status updates on users profiles. I am developing an application that requires the user to post a photo and share the photo on <strong>Facebook</strong> and <strong>Twitter</strong>. Until now this hasn&#8217;t been possible in <strong>Flash</strong>, which is why the <strong>Stage Web View</strong> is used to load <strong>HTML</strong> content and authenticate the user.</p>
<p>For this project I&#8217;ve been using the open source <a href="https://tweetr.tenderapp.com/home" target="_blank">tweetr</a> library from sandro (<a href="http://blog.swfjunkie.com/" target="_blank">swfjunkie.com</a>). I got this working pretty easily, quickly and working on <strong>iOS </strong>and <strong>Desktop</strong> but something wasn&#8217;t quite right on <strong>Android</strong>. The problem is related to the <strong>Android OS </strong>handling the <strong><a href="http://kb2.adobe.com/cps/895/cpsid_89526.html" target="_blank">Stage Web View</a><a href="http://kb2.adobe.com/cps/895/cpsid_89526.html" target="_blank"> event firing</a></strong> differently and wasn&#8217;t getting the <a href="http://stackoverflow.com/questions/5761238/pinless-oauth-on-adobe-air-for-android/5765055#5765055" target="_blank">oauth_verifier sha&#8217;d pin in it</a>. To correct this problem <em>Event.COMPLETE</em> is needed in order to trigger the response.</p>
<p>I will post more on this topic once I&#8217;ve completed the project and I find more information on this issue facing <strong>Android OS</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/air-stagewebview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Builder 4.5 ViewNavigator</title>
		<link>http://www.uimobile.co.uk/flash-builder-viewnavigator/</link>
		<comments>http://www.uimobile.co.uk/flash-builder-viewnavigator/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 12:35:19 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Flash Builder 4.5]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=135</guid>
		<description><![CDATA[<p>In this post I will talk about managing views with the ViewNavigator (handling pop and push of Views), passing and persisting data across views, popping back multiple Views and overriding the default transition or using custom transitions when popping and pushing Views. So in my latest mobile project I used different types of Views for different screens [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I will talk about managing views with the ViewNavigator (handling pop and push of Views), passing and persisting data across views, popping back multiple Views and overriding the default transition or using custom transitions when popping and pushing Views. So in my latest mobile project I used different types of Views for different screens in the application. The main reason for this is to make sure the correct type of interaction is offered to the user for that screens content.</p>
<p><span style="text-decoration: underline;">ViewNavigatorApplication</span></p>
<p>OK since Adobe&#8217;s announcement today (11/04/2011) of CS5.5 updates, i thought its time to update my post on Flash Builder 4.5 views. I will be updating this quite a lot of the next couple of months once I get to play around with it more and as the SDK becomes widely available amongst more developers im sure we will see great things developed using <strong>Flash Builder</strong>.</p>
<p>So what is a <strong>view? </strong>well a view in its simplest form is a what the users sees on the screen, each view can pass data between each other as the user navigates through your application. There are many ways to pass the data around the views this can involve storing your data in a <em>Shared Objects</em>, which can be used within the application or you can manually pass <em>Objects</em> from view to view. As I state the views contain all the content on the screen this being said when the user rotates the screen the view automatically handles the layout of the objects on the screen and adjusts accordingly.</p>
<p>When designing an application you can use the <strong>ActionBar</strong> which sits above the view of the application and contains buttons (that in my case are using to save and navigate from view to view) also you can see from my image below the ActionBar also holds the title for that particular view.</p>
<p>The <strong>ViewNavigator</strong> is the simplest type of navigation to use, the application will load the first view which you specify once loaded on the view, you can design your application to push and pop to different views (like the names suggest push refers to pushing a new view on top and pop refers to popping the view out of the stack).</p>
<p><strong>ViewNavigatorApplication</strong> offers the project a basic structure for the initial screens of the application, the benefits to this type of view is based around the amount of screen real estate you save. This is only beneficial to adopt when you need more space on the screen or there isn&#8217;t many screens to interact with.</p>
<p><img class="size-full wp-image-138 alignleft" title="ViewNavigatorApplication" src="http://www.uimobile.co.uk/wp-content/uploads/2011/04/Screen-shot-2011-04-03-at-23.33.151.png" alt="" width="400" height="225" /></p>
<p>The <strong>ActionBar</strong> (across the top of the screen), used for a title customised for the current information displayed, a navigation button to go back to the first screen and buttons for actions related to the current screen.</p>
<p><img class="size-medium wp-image-142 alignleft" title="TabbedViewNavigator" src="http://www.uimobile.co.uk/wp-content/uploads/2011/04/21-03-2011-18-03-39-181x300.jpg" alt="" width="181" height="300" /></p>
<p><span style="text-decoration: underline;">TabbedViewNavigator</span></p>
<p>Like <strong>TabbedViewNavigator</strong> suggests it offers tabs to the view navigator. As you can see this takes up quite a lot of space on the screen, but is equally important if you want the user to easily navigate from view to view in a timely manner.</p>
<p><span style="text-decoration: underline;">Pass data between views</span></p>
<p>The are many different ways to pass data from views, in this post I will talk about storing data in objects and passing the objects from view using the <strong>pushView()</strong>, the devices <strong>sharedObject</strong> and <strong>SQLite</strong> database.</p>
<p>The easiest way is to store all you data in an Object and pass via the pushView</p>
<pre>navigator.pushView(views.VIEW_NAME, OBJECT_NAME,null,null);</pre>
<p>in the example the pushView takes four parameters the first being the view you wish to push to, the second the object you want to pass, context object and the type of transition.</p>
<p>Sometimes this isn&#8217;t always the best way to pass data, in this project I found issues passing the object from a standard View to a tabbedView (for some reason the object wasn&#8217;t being passed), also another issue with passing objects from View to View is that if you popView (go back to a previous view) you have to remember to pass the object back else the view wont be able to capture that objects data.</p>
<p><strong>sharedObjects</strong> have been around for many years in mobile (this is a small area where you can sae persistant data to the devices memory). SharedObjects can be used to store usernames, passwords, settings, game states etc&#8230;. In this project I used the <strong>SQLite</strong> database to hold all the data input for the application and stored the database name in the shardObject this was i could pass from View to View and not worry about making sure the database was passed each time as i had it stored in the devices sharedObject.</p>
<p><span style="text-decoration: underline;">sharedObject</span></p>
<pre>sharedObj = SharedObject.getLocal("SHARED OBJECT NAME");</pre>
<p><span style="text-decoration: underline;">poppingViews/replacingViews</span></p>
<p>Similar to pushingViews replacing and popping views take four parameters (view name, object, context object, transition).</p>
<pre>navigator.replaceView(views.HomeView,null,null,globalVar.xFadeTrans);</pre>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;"><span style="text-decoration: underline;">
</span></span></pre>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;"><span style="text-decoration: underline;">View Transitions</span></span></pre>
<p>This is an important aspect when dealing with UX, you want to make the experience as nice as possible to the user, by allowing you to change the type of transition you can offer the user a different visual appearance to your application.</p>
<pre>globalVar.xFadeTrans.duration = 500;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/flash-builder-viewnavigator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sugarvine Mobile App</title>
		<link>http://www.uimobile.co.uk/sugarvine-mobile-app/</link>
		<comments>http://www.uimobile.co.uk/sugarvine-mobile-app/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 20:42:40 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[KBC]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[What I Do]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=154</guid>
		<description><![CDATA[<p>Sugarvine, a national restaurant guide require some form of mobile presence, which isn&#8217;t too formal a little bit different and provides its users with latest information and the ability to participate in uploading user generated content (photos and comments).</p> <p>The basics behind the Sugarvine app is to provides its users an alternative method to communicate with the company, currently users [...]]]></description>
			<content:encoded><![CDATA[<p>Sugarvine, a national restaurant guide require some form of mobile presence, which isn&#8217;t too formal a little bit different and provides its users with latest information and the ability to participate in uploading user generated content (photos and comments).</p>
<p>The basics behind the <strong>Sugarvine</strong> app is to provides its users an alternative method to communicate with the company, currently users write comments on restaurants they&#8217;ve visited in the form of a review. The reason for the mobile app is to allow their current user and attract new users to the digital restaurant guide. The apps will be available on iPhone and Android, and will allow its users to take photos of food they&#8217;ve eaten at any place they have visited (could be in a restaurant, friends house or even their own home), the photo is accompanied with a comment and posted to Sugarvine&#8217;s user generated content pages. The users can also post their food photos/comments on their Facebook and Twitter pages. The app also has another purpose of downloading a list of  local restaurants from within their location.</p>
<p><span style="text-decoration: underline;">Sugarvine mobile application design</span></p>
<p><a class="shutterset_" href="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/img_20110408_210942.jpg"><img class="ngg-singlepic ngg-none alignleft" src="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/thumbs/thumbs_img_20110408_210942.jpg" alt="img_20110408_210942" width="100" height="75" /></a><a class="shutterset_" href="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/img_20110408_210955.jpg"><img class="ngg-singlepic ngg-none alignleft" src="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/thumbs/thumbs_img_20110408_210955.jpg" alt="img_20110408_210955" width="100" height="75" /></a><a class="shutterset_" href="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/img_20110408_211008.jpg"></a></p>
<p><a class="shutterset_" href="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/img_20110408_211008.jpg"><img class="ngg-singlepic ngg-none alignleft" src="http://www.uimobile.co.uk/wp-content/gallery/sugarvine/thumbs/thumbs_img_20110408_211008.jpg" alt="img_20110408_211008" width="100" height="75" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/sugarvine-mobile-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Other project work</title>
		<link>http://www.uimobile.co.uk/other-project-work/</link>
		<comments>http://www.uimobile.co.uk/other-project-work/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 19:31:36 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[KBC]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[What I Do]]></category>
		<category><![CDATA[cron job]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=122</guid>
		<description><![CDATA[<p>Inteb (March 2011)</p> <p></p> <p>Inteb Sustainability Limited brings together a unique blend of multi-disciplinary and highly qualified specialists with many years of experience across the whole range of sustainability areas. The work involved was to develop an online database system using MySQL and PHP, Inteb currently used a spreadsheet to hold all their data, this [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Inteb (March 2011)</strong></p>
<p><img style="float: left; padding: 0 20px 0 0;" title="wpid-IMG_20110218_183804.jpg" src="http://www.uimobile.co.uk/wp-content/uploads/2011/03/wpid-IMG_20110218_183804-225x300.jpg" alt="" width="225" height="300" /></p>
<p><strong>Inteb</strong> Sustainability Limited brings together a unique blend of multi-disciplinary and highly qualified specialists with many years of experience across the whole range of sustainability areas. The work involved was to develop an online database system using <strong>MySQL</strong> and <strong>PHP, Inteb </strong>currently used a spreadsheet to hold all their data, this was proving to be a process in which the company wanted to migrate away from and start to be more data efficient. The spreadsheet held private information to the company and their clients, the online system is a replica of the spreadsheet with extra functionality for security, data capture and automation of information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/other-project-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Second Screen</title>
		<link>http://www.uimobile.co.uk/second-screen/</link>
		<comments>http://www.uimobile.co.uk/second-screen/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 18:28:44 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Mobile Radicals]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[What I Do]]></category>
		<category><![CDATA[cron job]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Social Networks]]></category>
		<category><![CDATA[TV]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=39</guid>
		<description><![CDATA[<p>Since the emergence of consumer recording facilities audiences have been able to time shift their TV viewing habits and the number of TV shows that create a mass shared experience are arguably reducing. In the past direct inter-audience interaction of such events has been restricted to either a shared location at time of broadcast or [...]]]></description>
			<content:encoded><![CDATA[<p>Since the emergence of consumer recording facilities audiences have been able to time shift their <strong>TV</strong> viewing habits and the number of <strong>TV</strong> shows that create a mass shared experience are arguably reducing. In the past direct inter-audience interaction of such events has been restricted to either a shared location at time of broadcast or later discussions amongst friends and colleagues often described as ‘water cooler moments’. In this research I investigate the role of mobile phones as a second screen for <strong>TV</strong> through an analysis of <strong>Twitter</strong> facilitated real-time inter-audience interaction for highly popular UK TV show the <strong>X-Factor</strong>.</p>
<p>The results highlight the rich source of information that can be extracted in real-time and how the audience creates their own parallel narrative for the show through <strong>Twitter</strong>. This could yield enormous potential for broadcasters and producers in both reinvigorating live <strong>TV</strong> viewing and creating new forms of audience interaction.</p>
<p><span style="text-decoration: underline;">Research Case Study</span></p>
<p>The<strong> X Factor</strong> is a UK television talent show franchise (currently in 27 countries worldwide) in which aspiring pop singers, drawn from public auditions, compete against each other. The format of the show is that contestants are mentored by one of the judges; each judge is assigned a category and then aids the contestant with song selection and styling. The contestants are competing for the public vote in the form of phone calls and text messages. Generally the judges make the final decision between the bottom two contestants after the public vote.</p>
<p>This analysis covered the 2010 series hosted by Dermott O’Leary and the four Judges where Simon Cowell, Louis Walsh, Danii Minogue and Cheryl Cole. In its opening weekend <strong>X-Factor</strong> attracted 11.1 million viewers representing a 48% share of the national TV viewing audience and rose to 19.1 million viewers for the final, which is 61.9% of the national audience.</p>
<p>The show starts with programs covering auditions and the selection of the 16 acts that go forward to the live vote off. To enable us to analyse and record the tweets for all the <strong>X-Factor</strong> episodes in real-time, we utilised the <strong>Twitter API </strong>to retrieve tweets that contain a certain hashtag (#xfactor and its variants).</p>
<p>The system was designed and developed in <strong>PHP</strong> and <strong>MySQL</strong> to check <strong>Twitter</strong> streams every minute by using a cronjob (a procedure to trigger an action) on our server (which simply calls a script to collect the tweet data), the reason we chose to make the call every minute was due to the limited number of search queries <strong>Twitter</strong> allows you just make in one call. The downside of adopting a call every minute makes the server and database workload more intense but provides a better efficiency rate in returning of tweets. The tweet data was then sorted (in this case contestants and judges names although any lexicon of worlds could be used) and stored in our database in real-time for later analysis if required.</p>
<p><span style="text-decoration: underline;"><br />
</span></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/second-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>marshOtron &#8211; Mobile Game</title>
		<link>http://www.uimobile.co.uk/marshotron-mobile-game/</link>
		<comments>http://www.uimobile.co.uk/marshotron-mobile-game/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 18:21:29 +0000</pubDate>
		<dc:creator>Mark Lochrie</dc:creator>
				<category><![CDATA[2011]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Mobile Radicals]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[What I Do]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[co design]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Lite 4.0]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[N8]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[User Centred Design]]></category>

		<guid isPermaLink="false">http://www.uimobile.co.uk/?p=37</guid>
		<description><![CDATA[<p>Folly is a leading digital arts organisation working across the North West. Folly presents an active artistic programme that provides creative interaction and collaboration between artists and the wider public using technology.</p> <p>The project was devised such that each community would develop their games separately and then come together to play their games and thus [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Folly</strong> is a leading digital arts organisation working across the North West. Folly presents an active artistic programme that provides creative interaction and collaboration between artists and the wider public using technology.</p>
<p>The project was devised such that each community would develop their games separately and then come together to play their games and thus explore each other’s community. In the research conducted I looked at <strong>co-design within the community</strong>.</p>
<p>A User Centred Design (UCD) methodology was adopted as it would give participants the opportunity to participate and share in all areas of game design from the initial concept to actually playing the game. An iterative design approach was also employed to enable more emergent design from the community who had little or no preconceived ideas about such games and how they are played except for our initial description of such games have some element of physicality combined with location.</p>
<p>The first game the group came up with was ‘Marsh Munchies’ where the player would move around hunting for food items that randomly appeared on the game map in an allotted time limit.  The second game was a variant of Capture the Flag which many of the group had played and dubbed ‘Capture the Marsh’ whereby two teams would have a base in each half of the map and players from the opposing team would have to capture their opponent’s base undetected. The final game ‘marshOtron’ was inspired by the movie Tron Legacy and recreated the light cycles games from the film in which players would move around the creating a light trail which if crossed by other players would end their game and the player with the longest trail at the end would win the game.</p>
<p>The game was developed using <strong><a href="http://www.adobe.com/products/flash/">Adobes Flash Professional CS5</a> Flash Lite 4.0</strong> platform.</p>
<p><span style="text-decoration: underline;">marshOTron &#8211; overview</span></p>
<p>The game commences once players reach their ‘home’ square and players must wait 15 seconds in order to capture the square. The game server checks if the square has already been captured, if it has then the server informs the player their game is over, if not then the server will store that position of the square and assign it to that players colour represented on the phone by the changing of the original square colour to the players colour. The ordering of capturing the squares is not fixed as this allows players to develop their own emergent tactics within the gaming area which is an important means of ensuring such games continue to engage, also the game permits for players to leave the game area bounds in order for players to escape to a different area of the map</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uimobile.co.uk/marshotron-mobile-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

