<?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>Jack Thorpe</title>
	<atom:link href="http://jackthorpe.me.uk/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://jackthorpe.me.uk/blog</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 10:44:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Huzzah, some free time!</title>
		<link>http://jackthorpe.me.uk/blog/?p=191</link>
		<comments>http://jackthorpe.me.uk/blog/?p=191#comments</comments>
		<pubDate>Tue, 08 May 2012 10:44:58 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=191</guid>
		<description><![CDATA[Are you sat down? Surprisingly]]></description>
			<content:encoded><![CDATA[<p>Are you sat down? Surprisingly this time I have had a reason for not writing my blog in a month or so&#8230; Dissertation, needless to say it&#8217;s been keeping me tied down to my chair crying tears onto my keyboard as Eclipse laughs triumphantly in the knowledge its endless barrage of bugs and integration woes have finally finished me off. But no more of that, it&#8217;s done and out of the way!</p>
<p>In the knowledge that I&#8217;m pretty much finished with my third year of university by the end of May, I have been wondering what i should do to fill the summer months besides play guitar, work a bit and generally waste away another summer. I have come to the conclusion i will go back to my roots.</p>
<p>I found my way into programming through web programming, so that means PHP, JavaScript and HTML. When i was looking through my archives of work, i noticed that i haven&#8217;t actually managed to save anything i created back in these early days, hence it would be nice to spend a bit of time making <em>something</em> in PHP. The first complex thing i made in the language of servers was a photo-viewing application complete with control panel &amp; user authentication. This was my A-Level Computing project but when i switched server provides to Just Host, i must have left it behind.</p>
<p>And so it is, this summer I will while away the hours re-writing this PHP nightmare, in the hope that it may refresh my knowledge of PHP and get me back into the mindset for web-development (HTML 5 will be the future, so it would be nice to be up-to-date with regards to other technologies).</p>
<p>Another thing i intend to do is a lot of preparation for  next years Three Thing Games tournament, this is something my friends and I have entered a few times but haven&#8217;t won, this year however, we will <strong>DOMINATE THE COMPETITION. </strong>If you&#8217;re reading this and you&#8217;re any good at programming, or artwork or anything really that we could use in a game, we could do with another pair of hands to make sure that our glory is complete and total. Leave a comment below!</p>
<p>TL;DR &#8211; I&#8217;m re-learning PHP, also our team for next years Three Thing Game needs another person for global domination to be effective. Apply in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=191</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Assorted reviews</title>
		<link>http://jackthorpe.me.uk/blog/?p=187</link>
		<comments>http://jackthorpe.me.uk/blog/?p=187#comments</comments>
		<pubDate>Mon, 02 Apr 2012 19:03:37 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=187</guid>
		<description><![CDATA[It&#8217;s been a while since]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve written a good review of anything mainly because there&#8217;s been nothing exceptional that&#8217;s caught my interest recently. However the past two months have seen numerous releases that are right up my street.</p>
<p>Lets start with music:</p>
<ul>
<li>120 Days II &#8211; the follow-up album from Norways fantastic 120 Days was released &nbsp;in the UK at the start of March (5 years after their award winning debut album) and it&#8217;s not been removed from my turntable since, the band can only be described as prog-electro-rock. With amazing singles like Dahl Disco, Sunkissed, SF and Osaka perfectly balancing each other out and all the time helping to melt and warp your mind through layered rhythms and time signatures. This is most prominent on SF and Osaka, which sound best when not at all sober and completely alone. It&#8217;s nice when an album that you&#8217;ve been waiting so long for doesn&#8217;t disappoint, but instead raises the bar for what can be accomplished in its genre and this album could be the definition of that. Successfully trading out the more krautrock elements from their debut album to focus more on synth-styled electronica, 120 Days have achieved what may well be my album of 2012, only three months into the year. 9/10</li>
<li>The Shins, Port Morrow &#8211; The Shins are a band that everyone quite likes, James Mercer has replaced most of the old members with new, but if i hadn&#8217;t told you it&#8217;s rather unlikely you&#8217;d notice. Everything is still perfectly timed (almost clinically so on this latest album) with the only major difference I&#8217;ve noticed in playing being a bit more flare on guitar. Song wise, many critics have shown mixed feelings towards the album with tracks like &#8220;Simple Song&#8221; getting rave reviews, and others being slated for their my-first-band style lyrics. On the whole i have to agree with the critics which makes a change. The warmth and soul of many songs still exists but is horribly let down by a complete lack of lyrical ingenuity. 7/10</li>
<li>Cancel The Astronauts, Intervention EP &#8211; while not an album this is a fantastic little EP containing a few of the singles we should expect on their debut album due for release some time this year. CTA are a band of many flavours, mixing early naughties pop with later indie. The first track intervention is exceptionally well produced (almost to the point where it seems to lose some soul), you can tell it&#8217;s CTA but attempting to make something that will get them (deservedly) noticed by an audience larger than that of Edinburgh &nbsp;and me. The rest of the EP is just like CTA of old and i love it. manicpopthrills has a good post about the <a href="http://manicpopthrills.wordpress.com/2012/03/20/supernatural-direction-cancel-the-astronauts-single-review/">EP</a> if you&#8217;re interested and their first EP, &#8220;Funny for a Girl&#8221; is free <a href="http://canceltheastronauts.bandcamp.com/album/funny-for-a-girl">here</a>. Best of luck guys! Can&#8217;t wait for the album. 7/10</li>
</ul>
<p>In other news, I&#8217;ve just finished reading Kafka on the Shore by Haruki Murikami (author of Norwegian Wood), a fantastic book that follows the unravelling life of a 15 year old boy who runs away from home and that of a man who can talk to cats and seems to understand the world better than anybody else in it. It&#8217;s a surreal read that I&#8217;ll probably have to go through again to get all of the finer points, but if you want something to keep your mind working at the plot without distancing you from the characters, give it a go.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=187</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virgin Mobile Insurance &#8211; paying for stress.</title>
		<link>http://jackthorpe.me.uk/blog/?p=183</link>
		<comments>http://jackthorpe.me.uk/blog/?p=183#comments</comments>
		<pubDate>Mon, 19 Mar 2012 12:12:22 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=183</guid>
		<description><![CDATA[In my household we&#8217;ve been]]></description>
			<content:encoded><![CDATA[<p>In my household we&#8217;ve been with Virgin since they started offering TV services, I.e. When NTL got bought out and while their media provisions are fantastic, the same cannot be said for their customer service skills.</p>
<p>I took out a two year contract with Virgin Mobile in May 2010 for &nbsp;an HTC Desire, at the time a flagship phone. However last Saturday morning when I was attempting to text friends, it shut down and refused to boot past the HTC logo, offering nothing more than a few vibrations (I assume an error code).</p>
<p>Thankfully (or not as i was soon to realise), i had been paying for the luxury of phone insurance ever since taking out the contract. I got in touch with my insurance company LSG, who were very polite, understanding and impeccably professional. I was told that my claim was valid and that they would pass my details over to Virgin and I should expect a call about a new phone. <em>This is easy, shouldn&#8217;t be too long without a phone.</em> So i went to work feeling curiously naked without my old faithful HTC expecting to receive a call within a day or so. No such thing.</p>
<p>Come Monday, impatience was setting in so I rang through to Virgin Mobile and spoke to another person who told me that they had received the details only recently and were in the process of fulfilling the order. <em>Okay a bit of a delay, I can live with that.. their advisors seem friendly so I&#8217;ll give them a break. &nbsp;</em>I explained to them that, if the phone were to be delivered in the week it should go to my house in Hull, but if at the weekend, could they please send it to my billing address in Lincoln , after some discussion with his manager, the advisor who shall not be named told me that yes that would be fine. I also enquired at this point whether I would need to send back the old phone to which the advisor pretty much said &#8220;It doesn&#8217;t say anything of the sort here so I would assume not&#8221;. Hooray! If I can fix it I may have a phone for my Android development! At this point I was told everything was arranged and I was just waiting for delivery of my new phone.</p>
<p>Wednesday arrives and I&#8217;m back in Hull without a land line, thankfully Cameron rescues me with a spare HTC Trophy he has lying around. I give them another call to see what exactly is taking so long. They inform me that they were waiting for me to get in touch to choose my new phone. <em>No one told me I would need to call back, are you just trying to DELAY this process intentionally or do you just not train staff properly in dealing with these cases!?</em> I&#8217;m then told i need to call my insurance company to choose a new phone. This information was wrong, I call LSG and they tell me that all phone dealings are done through Virgin as LSG do not have access to their stock systems. Okay, thanks again LSG for your accurate, useful information&#8230; Excuse me while I go and talk to Virgin some more.</p>
<p>I call back and explain to the advisor how their business works. So they go to ask their manager what phones I&#8217;m entitled to and they offer me a choice of Blackberry phones (they&#8217;re circling the drain as a company so who would choose one of those?) or a Samsung Galaxy W which is about £10 a month less than I&#8217;m paying monthly on my contract. I ask would it be possible to get a Galaxy S II, but no it&#8217;s £5 over my current tariff. There is also an HTC Sensation at £5 under my tariff but it isn&#8217;t in stock so they don&#8217;t even mention the existence of the phone. Resigned to doom by Virgin Mobile incompetency and lack of flexibility I settle for the Galaxy W. The advisor tells me i should expect a call later in the day to arrange delivery details.</p>
<p>You guessed it, that call never happened. All I get from Virgin is a text at 8AM on Thursday stating that my phone is in the post with YODEL, it doesn&#8217;t state where they&#8217;re sending it but that i should expect to receive it on Friday&#8230;. somewhere, possibly in the UK.</p>
<p>I call home to Lincoln to say they may receive a package for me on Friday and if anyone is in could they keep an eye out. Come Friday, I wait downstairs from 7AM till 1 PM when i really have to start getting on with my pretty busy university life. I call Virgin to see if they can give me a tracking number and they tell me it was an attempted delivery to LINCOLN. Goddamn!!</p>
<p>I call up Lincoln and there is a note in the letterbox saying no one was home to collect. My mum was in from about 10AM with the note being left at 10:34, so they can hardly have tried delivery for long&#8230; We have a bliddy loud doorbell too so gawd knows what was going on there&#8230; Anyway, I re-arrange delivery for Monday and manage to catch the guy this time. He&#8217;s asking for my old phone, as an exchange&#8230; My HTC Desire, <strong>which I was told I wouldn&#8217;t need</strong><strong> to send back</strong> and hence is now sat on my desk in Hull.. thirty-something miles away.</p>
<p>After taking 10 minutes to calm down (as you can imagine, pretty angry after this entire farce), I give Virgin yet another ring &nbsp;20 minutes of waiting later, I get through. They say they will put me through to the insurance department after . However the insurance group is Virgin&#8217;s new provider and cannot do anything to help me. They put me straight back to the start and I wait some more. Now, I&#8217;m literally shaking with rage at this point and rather than subject their advisors to any unnecessary pent up anger, I ask to be put through to a manager. All the managers are busy <em>Of course they are</em> so they offer to have one call me back. HAH I&#8217;ve heard this before, &#8220;how long will it be?&#8221; Around half an hour is the response. About 15 minutes later my phone goes off.&nbsp;<em>Finally! someone is paying attention!</em> Nope, not a manager, its a cold call from a machine at Virgin asking how I thought my dealings with their advisors are&nbsp;<em>JDH fglsikdhgiudtgosaejrhgnfdjdfn.bdktjdlng j,sdb tjkb3UIWEA5HO8TESDLZTKMH</em> I answer the questions, leave a message expressing my anger (I was polite and again didn&#8217;t rant at them) and then hang up.</p>
<p>A while later I call them once more and another person takes my call. This chap is more than willing to listen to my moaning for a while and explains that in fact, LSG do require the old phone as proof that the claim is valid. <em>That&#8217;s logical why did you tell me otherwise earlier in the week Virgin!?</em> So I agree to have them re-arrange delivery to Hull in the week where I can give my old phone to them. They will call back to arrange times later the advisor says. <em>My arse. </em>So once more it&#8217;s a case of wait and see.</p>
<p>So in conclusion, if / when you take out a phone with Virgin, i recommend ignoring the insurance offerings because all you&#8217;ll get is a week of utter disappointment and anger followed (possibly) by your new phone (not even at the same price as your old one!) which a delivery man will tantalisingly wave in your face before taking it away again.</p>
<p>Okay, that last bit may have been a bit of dramatisation, he didn&#8217;t wave it in front of me, in fact he was as confused as I was. <span style="text-decoration: underline;">The rest, is completely true.</span></p>
<p>Oh, and if you&#8217;re reading this Virgin, you can apologies at any time by calling me on my mobile number and offering me that Galaxy S II at a heavily discounted rate. Because that&#8217;s the only way I&#8217;ll be remaining with you come May.</p>
<p>To avoid these kinds of problems in the future, you really have to put some more time into training your staff, they&#8217;re friendly and well mannered people but half the time they don&#8217;t seem to have a clue about how your business works.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=183</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft (Windows) 8 &amp; why it doesn&#8217;t work for me.</title>
		<link>http://jackthorpe.me.uk/blog/?p=176</link>
		<comments>http://jackthorpe.me.uk/blog/?p=176#comments</comments>
		<pubDate>Thu, 15 Mar 2012 14:21:34 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=176</guid>
		<description><![CDATA[Microsoft have a fairly good]]></description>
			<content:encoded><![CDATA[<p>Microsoft have a fairly good release schedule for new OS&#8217;s with a new iteration being released pretty much every other year. The latest addition is Microsoft Windows 8 which introduces some radically different concepts for the first time since Windows 95.</p>
<p>I&#8217;ve been attempting to make use of Windows 8 on one of the spare PCs littered around my house since it became available as a developer release, and having done my best to live with it for a few months i thought it would be nice to share a few comments and perceptions.</p>
<p>First of all, lets take a look at the major change. UI.</p>
<div class="wp-caption aligncenter" style="width: 470px"><a href="http://static.guim.co.uk/sys-images/Technology/Pix/pictures/2011/9/13/1315929218325/win8-start-460.jpg"><img title="Windows 8 Metro start screen" src="http://static.guim.co.uk/sys-images/Technology/Pix/pictures/2011/9/13/1315929218325/win8-start-460.jpg" alt="" width="460" height="258" /></a><p class="wp-caption-text">No, my name isn&#39;t tim, neither is this my photo</p></div>
<p style="text-align: center;"> </p>
<p>Here is the screen you&#8217;re presented with when you first log in to a Windows 8 machine. Doesn&#8217;t look much like Windows XP, Vista or 7 does it? In a (successful) attempt to bring their Metro design philosophy across to a desktop operating system, Microsoft have re-invented the wheel. While this new interface looks visually appealing, it offers very little in the way of new functionality. You can launch your applications and order them (oddly like the old desktop in that sense), but applications can now display &#8220;Live Tiles&#8221;, which pull useful information gathered from within the application and display it right in your line of site, meaning you don&#8217;t necessarily have to open up the weather app to see a forecast.</p>
<p>Through extended use of Windows 8, it soon becomes apparent that this new start screen might as well be nothing more than a Metro application in itself, (in fact, i&#8217;d prefer it that way, but i&#8217;ll get to that later), a visual layer getting in the way of any meaningful desktop activities. I can understand where Microsoft are coming from though, in a market where desktop is shrinking and giving way to increasingly mobile way of life, they need to come up with a way of getting into (forcing their way may be a better way to look at it) the new market.</p>
<p>Heuristically, the new interface is most definitely optimised for touch input and here is my first real gripe with this incarnation of Windows. In an attempt to make a product for touch devices (tablets &amp; the like), Microsoft appear to have forgotten that the majority of the world see Windows as an operating system designed to run on a desktop computer (with a mouse &amp; keyboard). It seems that they&#8217;ve put their <em>current </em>core audience in second place to an emerging market in the hope of satiating both. On the contrary, the lack of support for a mouse on the <em>first screen you interact with</em> baffles most experienced Windows users and sets you in a less than optimal frame of mind. Things don&#8217;t get much better in the Metro apps themselves where right-clicking often does nothing and occasionally brings up a context bar that you would expect to be exposed all of the time. I realise that complaining about individual applications is not worth my while, because developers will need time to realise the best ways to design their applications to fit into this new environment, however when (like me) you have 22&#8243; of display hooked up to Windows 8, there really is no need to hide away basic functionality in the same way you would on a phone, where screen real-estate is at best limited.</p>
<p>Underlying this thin layer of Metro minimalism you&#8217;ll be surprised to find Windows 7. No really, hit the Desktop launcher in the Metro start screen and suddenly you&#8217;re transported into what for all intents and purposes is Windows 7. Now, to me initially this suggested that Microsoft were only half-heartedly bringing Metro to the desktop realm, but after a bit of thinking, this seems less and less likely.</p>
<p>As i stated above, Ballmer &amp; Co need to make a break into the mobile market and they&#8217;ve made a good start on this with Windows Phone 7, a very good start. But to truly get a footing in the future computing market, they need something that will run nicely on tablets and they&#8217;ve strangely decided to adapt a desktop operating system to suit this role.</p>
<p>I guess what i&#8217;m trying to get across here, is that there is a big trend at the moment for touch input to be the preferred method of interaction with a computing device and while this works wonderfully on mobile devices where size really matters and the primary uses are simple communication &amp; content consumption, it does not translate well to a desktop OS where you also have to contend with heavy data entry such as using Word, or Visual Studio. As such, touch can probably be seen as a fad in desktop design, simply there because it can be and not because it&#8217;s a solution to some giant problem of HCI.</p>
<p><em>&#8220;So what alternative would you come up with Jack?&#8221;</em>. A good question. Personally, i would rather see Windows be a predominantly desktop operating system because it&#8217;s very good at being just that. It&#8217;s good at heavy workloads &amp; multitasking because it&#8217;s been designed like that from the ground up. With the introduction of Metro, you&#8217;re in effect trying to build two separate OS&#8217;s within the same package where (i imagine, but who knows what&#8217;s in the distant future,) very rarely is there a need to switch between the two. So perhaps taking Windows Phone 7 and using that for all touch based devices would be the better solution to this [kind-of-a-but-not-at-all-really] problem.</p>
<p>However, Microsoft really.. REALLY want to push out this Metro design language &amp; all of its XML-based goodness and if they really want to do this on a Desktop computer, they should include it as a secondary alternative. A friend of mine, <a title="Cameron Wilby Blog" href="http://cameron.wilby.com/">Cameron</a> suggests another alternative and I agree. They should offer Metro apps up in exactly the same way they do with a regular old Windows Forms app, with an icon on a desktop (or start menu, or task bar etc). I really do like the way Metro looks, in fact my next phone is going to be a Nokia Lumia in all likelihood, so i&#8217;m not adverse to the concepts and designs being transported into Microsoft&#8217;s desktop products, but they need to be adapted to cope with the way people expect a desktop OS to work.</p>
<p>If in the long run, Microsoft want to completely remove the standard Windowed environment from desktop computers, Windows 8 should probably be looked at in a different light. Instead of a fully fledged operating system think of it as a hybrid between Metro and Windows Forms.</p>
<p>It&#8217;s worth noting that historically, computers offer a command line based interface to them too. Microsoft offers Console even today in Windows 7 as a secondary alternative to the GUI that has become commonplace. Before GUI&#8217;s of course, everything was done through commands and people didn&#8217;t have issue with that (perhaps unaware of other ways of working). However when the windowed environment came into being and the mouse became available, desktop computing was revolutionised. Perhaps this is what Microsoft are hoping to do with Metro &amp; touch based input. Perhaps in the future, Metro will be <em>the </em>de facto standard for Microsoft desktop products with the desktop we see today relegated to nothing more than an application in the same way that Console is today. In which case, i apologise for being very short sighted.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=176</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eclipse &#8211; Must override a superclass method</title>
		<link>http://jackthorpe.me.uk/blog/?p=171</link>
		<comments>http://jackthorpe.me.uk/blog/?p=171#comments</comments>
		<pubDate>Fri, 09 Mar 2012 21:27:44 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Android Issues]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=171</guid>
		<description><![CDATA[Recently i had another very]]></description>
			<content:encoded><![CDATA[<p>Recently i had another very common problem with Eclipse.<br />
[crayon-4fb92a2678e30/]<br />
Strange, I&#8217;ve pretty much copy pasta&#8217;d this from an online tutorial&#8230; The problem is yet again quite simple but stupid. Eclipse tries to get away with using the lowest possible Java Compiler (often setting it to 1.5), whereas quite a lot of Android development needs at least 1.6.</p>
<p>This generally manifests itself in messages as above that show up when you try to add event callbacks in line:</p>
<p>[crayon-4fb92a2678e71/]</p>
<p>Pretty simple code that makes a reference to a button on display and attempts to add an event for onClick. This code is 100% Correct</p>
<p>TO FIX:</p>
<ol>
<li>Make sure you&#8217;ve included all the necessary headers:<br />
[crayon-4fb92a2678eb0/]</li>
<li>Right click on your project in the Project Explorer and go into Properties (alternatively Alt+Enter) on the project.</li>
<li>Go into Java Compiler and change the &#8220;Compiler compliance level&#8221; to 1.6<br />
<a href="http://jackthorpe.me.uk/blog/wp-content/uploads/2012/03/Untitled2.png"><img class="size-medium wp-image-172 aligncenter" title="Eclipse Java Compiler" src="http://jackthorpe.me.uk/blog/wp-content/uploads/2012/03/Untitled2-300x296.png" alt="" width="300" height="296" /></a></li>
<li>Apply &amp; Close allowing Eclipse to clean then build your project.</li>
</ol>
<p>With that, your error should be gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=171</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse (catlog).. Help, my debugger won&#8217;t connect!</title>
		<link>http://jackthorpe.me.uk/blog/?p=167</link>
		<comments>http://jackthorpe.me.uk/blog/?p=167#comments</comments>
		<pubDate>Fri, 09 Mar 2012 21:14:38 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Android Issues]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=167</guid>
		<description><![CDATA[This was a real strange]]></description>
			<content:encoded><![CDATA[<p>This was a real strange one when I came across it. I was halfway through debugging some SOAP stuff for my 3rd year project when Eclipse seemed to decide that debuggers are for losers.</p>
<p>Basically, Eclipse will happily build and install your application to an Android device (virtual or IRL)  but it will not launch it. You may find that the debugger will throw up an error or two when the app (that you&#8217;ve manually started while swearing modern technology is overrated and more hassle than it&#8217;s usually worth) fires off an exception, however you won&#8217;t get any logcat results to look through (one of the most useful tools in an Android developers kit).</p>
<p>It took me numerous hours and at least three cups of tea to figure out this one. But before i give you the answer, here&#8217;s how i attempted and failed to fix it. After a quick Google of the problem  the nearest match i could find through Stack Overflow was a suggestion to uninstall everything Android development related, so out went Eclipse, ADT and any plugins i had to make my life a bit easier. I began to download everything again and made a cup of tea, of course what with living in Hull, when i got back to my desk about 5% of the download had actually made it from a server through KCOM pipes and into my hard drive. If you&#8217;ve downloaded the tools yourself, you&#8217;re probably quite aware that they are not particularly big, perhaps under 1Gb in total size but there isn&#8217;t a single internet joy that KCOM cannot ruin. I promise you now, if you plan on moving to Hull to do Computer Science the only bit you&#8217;ll dislike is the speed of internet once you&#8217;re out of The Lawns.</p>
<p>So i re-installed all of these tools (this part at least, didn&#8217;t take too long as I&#8217;m running a rather delicious new rig) and loaded up the project, clicked debug, ADT installed to the phone and nothing else happened. At which point my mental state could accurately be described as &#8220;ASDOIHJ ESIULHG BKAEUHRKEUGHAWRS FJNE&lt;SDGHIKUGWR  IE HT UIWEG T&#8221;.</p>
<p>After another cup of tea, i decided to check out the project build settings as these too can sometimes get a bit unstuck. I couldn&#8217;t see anything particularly worrying about the settings but one thing I did do that fixed the problem is described below.</p>
<p>&nbsp;</p>
<p><strong>TO FIX</strong></p>
<p>DO NOT UNINSTALL ECLIPSE ET AL YET.</p>
<ol>
<li>Go into your debug configurations (accessed by clicking the little arrow next to the bug and selecting Debug Configurations).</li>
<li> Select Android Application and drop through into whichever config you&#8217;re attempting (foolishly?) to use.</li>
<li>In the Android tab, where it says Launch Action, set it to the starting activity of your application. Do not be duped into thinking &#8220;Launch Default Activity&#8221; actually works, sometimes it does but mostly it&#8217;s just there to confuse and aggravate you&#8230; A lot.</li>
<li>Apply &amp; Close</li>
<li>If you&#8217;re still not debugging correctly then you may proceed to attempt a download of the tools over the &#8220;broadband&#8221; at your house in Hull.</li>
</ol>
<p><a href="http://jackthorpe.me.uk/blog/wp-content/uploads/2012/03/Untitled.png"><img class="size-medium wp-image-169 aligncenter" title="Eclipse Debug configurations" src="http://jackthorpe.me.uk/blog/wp-content/uploads/2012/03/Untitled-300x240.png" alt="" width="300" height="240" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=167</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse &#8211; R cannot be resolved</title>
		<link>http://jackthorpe.me.uk/blog/?p=164</link>
		<comments>http://jackthorpe.me.uk/blog/?p=164#comments</comments>
		<pubDate>Fri, 09 Mar 2012 20:50:59 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Android Issues]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=164</guid>
		<description><![CDATA[This is the first problem]]></description>
			<content:encoded><![CDATA[<p>This is the first problem i came across when developing for Android, Eclipse has an aweful habit of automatically building files as &amp; when you save them. Sometimes this means you could have edited something (often in an XML file) without reflecting the changes throughout the code.</p>
<p>The problem (I believe) is that Eclipse builds up a list of static integers in its own class called R. The R class is updated every now and again to reflect the latest changes to your own source code and sometimes it just doesn&#8217;t seem to compile resulting in further build errors often with Eclipse pointing you in the complete wrong direction.</p>
<p><strong>TO FIX:</strong></p>
<p>Make sure that there are not any references to</p>
<p>[crayon-4fb92a2679f51/]</p>
<p>at the top of your source files. Sometimes Eclipse thinks it&#8217;s helping by putting these here. It&#8217;s really not.</p>
<p>&nbsp;</p>
<p>If you&#8217;re still getting strange build errors with odd bits of code being highlighted then make sure your XML layouts are syntactically correct. As with most things, this can really confuse Eclipse too.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=164</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compendium of issues with Android.</title>
		<link>http://jackthorpe.me.uk/blog/?p=159</link>
		<comments>http://jackthorpe.me.uk/blog/?p=159#comments</comments>
		<pubDate>Fri, 09 Mar 2012 20:05:13 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Android Issues]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=159</guid>
		<description><![CDATA[&#160; Recently, I&#8217;ve been thrust]]></description>
			<content:encoded><![CDATA[<p><img src ="http://www.intomobile.com/wp-content/uploads/2011/04/android-logo.png" width="100%" />&nbsp;</p>
<p>Recently, I&#8217;ve been thrust into the world of Android development, what with my project, some coursework and a few things that have taken my fancy and it has to be said, only about 40% of my time is spent doing useful things like coding, or designing the XML layouts. So here, i will write a new feature that explains any issues i&#8217;ve found and how to fix them, not only in the hope that Google / other responsible parties will come along and do something to resolve them, but also just in case anybody else happens across these problems.</p>
<p>I know this highly unoriginal set of posts can be found all over the internet, but sometimes, just writing or talking over a problem can be the key to resolving issues. And sometimes it isn&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=159</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Damn you Mobile World Congress!</title>
		<link>http://jackthorpe.me.uk/blog/?p=156</link>
		<comments>http://jackthorpe.me.uk/blog/?p=156#comments</comments>
		<pubDate>Fri, 02 Mar 2012 13:35:00 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=156</guid>
		<description><![CDATA[Depending on how tech savvy]]></description>
			<content:encoded><![CDATA[<p>Depending on how tech savvy you are, you may or may not know that the start of every year is full of golden technology news from sources such as CES  and MWC. This year has been exceptionally interesting for me as my faithful old HTC Desire is about to come to the end of its contract and be replaced by something a bit more up-to-date.</p>
<p>Naturally I&#8217;ve spent many hours trying to decide whom should get my hard earned money for the next couple of years and the choice comes down to Nokia and Sony. The new Nokia Lumia series look absolutely fantastic, their build quality is supreme and the Lumia 800 hums along very nicely with surprisingly up-to-date hardware for a Nokia phone. The only issue i have (if it can be called such) is that i have not yet lived with Windows Phone, I&#8217;ve played with it a few times but haven&#8217;t had a month of primary use to see if it&#8217;s something i could live with. This is an issue as here in the UK it&#8217;s not uncommon to have contracts that last 18 &#8211; 24 months which is a long time to be stuck with an OS you don&#8217;t like.</p>
<p>The alternative offerings that Sony have released without Ericsson (did you know they&#8217;ve split ways for a few billion dollars?) look stunning too, the Xperia P especially is a fantastic bit of design and comes with Android which I&#8217;ve been using for a fair while now and have to admit is very usable. Sony&#8217;s new range of phones was released at MWC this year and since then i&#8217;ve been stuck trying to decide which one i would like to use more.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=156</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What have i been doing?!</title>
		<link>http://jackthorpe.me.uk/blog/?p=153</link>
		<comments>http://jackthorpe.me.uk/blog/?p=153#comments</comments>
		<pubDate>Fri, 02 Mar 2012 13:26:30 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jackthorpe.me.uk/blog/?p=153</guid>
		<description><![CDATA[When i started the third]]></description>
			<content:encoded><![CDATA[<p>When i started the third year of my university course, i didn&#8217;t really believe peoples claims that i would spend a vast portion of my time sat behind a screen writing away at my dissertation, or coursework, or god forbid doing external reading. For the past half a year that&#8217;s basically what&#8217;s happened.</p>
<p>In the first semester i struggled my way through compilers and languages where we had to make a compiler for a made-up language, i don&#8217;t know if you&#8217;ve ever tried to write a compiler but trying to bend your mind around the error messages you get from tools like bison and yacc range from &#8220;okay, i almost understand that&#8221; to &#8220;what the hell? shift reduce my ass!&#8221;. However i was rather pleased with the outcome of the project and for once genuinely felt i had learnt something new and useful. My other module was Data Mining, which was about as interesting as it sounded, we were provided with some anonymised data and told to find patterns that would allow us to analys &amp; occasionally categories. While i did learn some new techniques and i can definitely see why it&#8217;s a large, very useful and continuously expanding field, i mainly learnt that it&#8217;s something for people who like statistics. Lots of statistics.</p>
<p>Now we&#8217;re into the second semester and I&#8217;m much more in my element studying distributed systems and mobile platform development. These are the kinds of things i enjoy as they have a direct &amp; clearly visible impact on the software we produce. Mobile development especially takes my interest as we are forever moving into a &#8220;post-PC&#8221; world where more and more people interact with technology in ways other than a mouse and keyboard (and no i do not mean Microsoft Kinect, which while a fun and intriguing interaction with computing has some way to go before being genuinely useful).</p>
<p>My project as some of you may be aware is to develop an Android application that plugs in to the Mantis Bug Tracker system for simple mobile use. When i started the project there were no other similar pieces of software available, but as of my time of writing there are two, one an <a href="http://www.mantisbt.org/mantistouch.php">official HTML interface</a> provided by Mantis themselves and the other an exceptionally well thought out <a href="https://market.android.com/details?id=greatdevelopers.mantis&amp;feature=search_result#?t=W251bGwsMSwyLDEsImdyZWF0ZGV2ZWxvcGVycy5tYW50aXMiXQ..">Android application</a>. However, when finished i intend to make mine free of charge.</p>
<p style="text-align: center;"> <a href="http://jackthorpe.me.uk/blog/wp-content/uploads/2012/03/mantis_ui.png"><img class="size-medium wp-image-154 aligncenter" title="Mantis UI" src="http://jackthorpe.me.uk/blog/wp-content/uploads/2012/03/mantis_ui-180x300.png" alt="" width="180" height="300" /></a></p>
<p>Here&#8217;s the main menu, i don&#8217;t want to show off too much more at the moment as it is most definitely pre-alpha. But you can see the kind of setup i am hoping to achieve.</p>
<p>In other news, i recently bought myself a turntable (Technics SL-12010MK2) which despite being VERY old and a bit bashed about from club use still sounds fantastic with an Ortofon M2 Red on it. It now takes pride of place on top of my media stack which compromises of said turntable, Arcam CD73, and Sony PS3, hooked up to B&amp;W 685&#8242;s via a Sony DA-3600ES amp. Fantastic i assure you. For the next upgrade I&#8217;m thinking of getting a new center channel for my setup (currently using a naff Logitech center) and it will either be a HTM61 or HTM62 depending on how many dollars i can find at the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://jackthorpe.me.uk/blog/?feed=rss2&#038;p=153</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

