howto
Passing data from a PHP script to an Android AppInventor application using tinywebdb
Posted August 20th, 2010 by Liam Green-HughesGoogle's Android App Inventor is great fun to play with and I think represents a fascinating leap forward in mobile application development. It provides a whole toolbox of ready to go functionality, but sadly missing from this toolbox are facilities to interact with web sites and services (with the exception of Twitter of course). However there is one component that provides a glimmer of hope and if you want to publish data in a way that can be used by Android App Inventor developers then you can use this component with a PHP script to easily pass data to the mobile device.
- Liam Green-Hughes's blog
- 3 comments
- Read more
- 580 reads
Using Google's App Inventor for Android on Ubuntu 10.04 (Lucid)
Posted August 9th, 2010 by Liam Green-HughesRecently I got my invite to try out the beta of Google App Inventor for Android, a simplified environment to enable people to create applications for Android based phones using visual building blocks instead of a programming language. Google have written extensive set up instructions to get your computer and phone set up: http://appinventor.googlelabs.com/learn/setup/index.html but also on this page is a bit of text that could cause us trouble: "If you are using GNU/Linux, then you should use Sun Java rather than OpenJDK. App Inventor does not work well with OpenJDK." Unfortunately OpenJDK is the default for Ubuntu 10.04 and it might not be obvious how to get the Sun version, so I thought I'd better document what I did to get it working.
- Liam Green-Hughes's blog
- 1 comment
- Read more
- 775 reads
Boxee and Ubuntu 10.04 LTS on the Acer Aspire Revo
Posted May 3rd, 2010 by Liam Green-HughesI did a fresh install of Boxee and the newly released Ubuntu 10.04 LTS on my Acer Aspire Revo today. The process has not changed significantly since I wrote my post How to install Ubuntu 9.10 and the Boxee Beta on an Acer Aspire Revo (including 64 bit option) back in January. You can pretty much follow these instructions to get everything up and running. One minor difference is in alsamixer where the entry formally known as “IEC958 1” now seems to be labelled “S/PDIF” (see below for screenshot) - unmute this as before. I used the recently released Boxee Beta version 0.9.21.11487 which works with Ubuntu 10.04, at the time of writing the Boxee site doesn't state this. It is also possible to integrate Boxee with the new Ubuntu One Music Store.
- Liam Green-Hughes's blog
- 13 comments
- Read more
- 6723 reads
Creating a virtual world inside a laptop with OpenSimulator
Posted March 30th, 2010 by Liam Green-Hughes
I am alone on a small island that is about the size of a roundabout in the middle of a vast ocean. With my ghostly body I look up at the night sky and contemplate what to do next. Maybe I will make the sun rise, build some more land or just read some more of the wiki. I've just installed OpenSimulator (a.k.a. OpenSim), a "3D Application Server". What this means is that it can be used to host "virtual worlds", a bit like SecondLife. In fact you can use the SecondLife Viewer as a client for it. After hearing about at various points for quite a while and finding a really good set of instructions on how to set it up, I couldn't resist having a go, even though creating virtual worlds is a bit of an excursion for me.
- Liam Green-Hughes's blog
- 1 comment
- Read more
- 1436 reads
How to build a basic RSS feed application for Boxee
Posted February 2nd, 2010 by Liam Green-HughesBoxee is a platform that is really going places. At one point it was a mainly for enthusiasts willing to spend the time on installing it and setting it up on their own hardware. Now it is moving towards mass appeal with the recent announcement of a Boxee Box, which users will just be able to plug in and go, and Boxee payments, which may make the platform more appealing to content providers. A great starting point before getting stuck into full scale Boxee application development is creating a simple RSS application that will just make a feed of a podcast available and give it presence in the world of Boxee.
- Liam Green-Hughes's blog
- 4 comments
- Read more
- 3187 reads
How to install Ubuntu 9.10 and the Boxee Beta on an Acer Aspire Revo (including 64 bit option)
Posted January 7th, 2010 by Liam Green-Hughes** Update 3rd May 2010: The instructions here also generally work for Ubuntu 10.04 LTS, for notes specific to this version see: Boxee and Ubuntu 10.04 LTS on the Acer Aspire Revo ***
A lot has happened since I wrote my post back in June about setting up Ubuntu and Boxee on the Acer Aspire Revo; a new version of Ubuntu has been released and today (7th January 2009) the new beta version of Boxee was officially released to the public. The new version is a major overhaul and represents quite a different, enhanced user experience from the alpha. So I thought I would do a new version of the post to reflect these changes. Fortunately, Ubuntu 9.10 (Karmic) has introduced many changes that make getting the Revo up and running much easier than under the previous release of Ubuntu.
- Liam Green-Hughes's blog
- 50 comments
- Read more
- 25749 reads
- 2 trackbacks
How to install PhpDocumentor on Ubuntu
Posted December 1st, 2009 by Liam Green-HughesWe all know that it is important to write documentation for our code. It is not the most exciting aspect of programming but sadly it is needed for those times when we have to fix or change something six months after writing it and have no recollection of how the code works or maybe of writing it at all. Fortunately there is help at hand, you can document a lot of your PHP code semi-automatically with a handy tool called PhpDocumentor. If you have programmed in Java before and used Javadoc this will be very familiar to you. It is not readily available pre-packaged through apt, but fortunately it is reasonable straightforward to install.
- Liam Green-Hughes's blog
- Add new comment
- Read more
- 2778 reads
ITV on Boxee with a little help from Yahoo Pipes and Scotland
Posted September 8th, 2009 by Liam Green-HughesITV is the main terrestrial commercial TV network in the UK. They have a TV catch up service called ITV Player which somewhat unusually delivers programmes not using Flash but instead Microsoft Silverlight, there is a port to Linux called Moonlight, but it doesn't work for me. Today though I found out that the Scottish version of ITV; STV has its own TV-on-demand catchup service, and a rather good one too. Programmes are delivered through Flash, so they can be viewed on Linux, but that is not all; I noticed that the site also has RSS feeds, which is quite unusual for a TV-on-demand service. Naturally I wondered if this feed could be adapted for use on Boxee, so I need never miss X-Factor again.
- Liam Green-Hughes's blog
- 10 comments
- Read more
- 3525 reads
How to change the default keyring password in Ubuntu Netbook Remix 9.04
Posted August 24th, 2009 by Liam Green-HughesIf you change your login password you might find that you get prompted for your "default keyring" password, this can be annoying, and sadly it isn't obvious how to change this to be the same as your new login password (or another password if you are being ultra secure!). Even searching the web can take a while to find a solution, but fortunately it was out there courtesy of a commenter named "David" in this post:
- Liam Green-Hughes's blog
- 7 comments
- Read more
- 13163 reads
- 1 trackback
How to turn your netbook into a 3G mobile broadband WiFi hotspot
Posted August 9th, 2009 by Liam Green-HughesNetbooks are very useful devices, not just for web surfing and looking at your email for for all sorts of different purposes, some more obvious than others. These devices are all about mobility, but while you are out and about there could be situations where setting up a wireless network to connect a group of machines might be handy and of course Internet access makes this even more useful. Maybe you have a device you would like to use with the Internet while you are away, but it only has WiFi connection (e.g. some portable media players like the iPod Touch) and you cannot plug your 3G mobile broadband modem into it. As long as you have 3G coverage you can have a WiFi hotspot wherever you go, and you don't need to bring a dedicated router as a netbook powered by Ubuntu (or Easy Peasy) can easily fulfill this function.
- Liam Green-Hughes's blog
- 7 comments
- Read more
- 9221 reads







