Scripting Layer for Android Tablet Remix - Release 2!

A road scene phptographed on long exposure to show a trial of lights

Three months have gone by since the release of the first version of the Scripting Layer for Android Tablet Remix. In that time quite a few changes have been made to the upstream version of the Scripting Layer for Android (SL4A) and I have had a few people asking me when these features are coming to the Tablet Remix. So just in time for Christmas I am pleased to announce that these changes have been imported into the source code for the Tablet Remix and it is now completely up to date with the latest SL4A features! Probably the most significant of these is the Full Screen UI.

An Android tablet in a creative cloud

Artwork showing stripes going into the distance

Adobe's recent decision to retire support for their Flash Player on mobile devices attracted a lot of attention and maybe there is a risk that they might become better known for what they are not doing in the mobile space rather than what they are doing. This would be a shame as recently Adobe released a whole suite of apps for Android tablets (with support for Apple's alternative, the iPad, coming in 2012). What makes these apps so interesting is that they challenge the idea that tablets are only useful for the consumption of content. Instead these apps are targeted at people who want to be creative on their tablets including professional creatives such as web designers.

Book Review: Learning SPARQL

Front cover of book

I've been experimenting with SPARQL for some time and was lucky enough to have had some training at work on it, but on several occasions when reading Bob DuCharme's Learning SPARQL I found out something that this very powerful language could do that was new to me. The book provides quite a detailed overview of the capabilities of the language and takes the reader right from their first steps in constructing a query through to using it as a data source for programs. The capabilities of both SPARQL 1.0 and 1.1 are covered, with warnings when commands only work in 1.1. If you are looking to take your first steps in learning SPARQL, or maybe you are someone who can already write queries and would like to enhance your skillset, perhaps exploring topics such as creating, updating and validating data then you may well find this book very useful.

The MiFi 3 moves mobile broadband to the fast lane

Three UK's third generation MiFi has slightly more refined looks than its predecessor, but it doesn't feature "go faster" stripes which is curious as the inclusion of HSPA+ technology promises a turbo boosted Internet connection with speeds theoretically up to 21 Mbps - enough to put many landline broadband connections to shame. I attended the launch event for the new MiFi (also known as the Huawei E586) and have been trying one out. How does it perform? How easy is it to use? Plus, with the increasing number of mobile phones that are capable of tethering (sharing their mobile broadband connection with another device through WiFi) is it still a compelling product?

An experimental CouchDB powered Samsung Internet@TV app

People on a sofa talking in front of a bank of TV screens

I've been experimenting a bit with CouchDB again recently and started thinking more about what it means to see non-relational databases as different from rather than better than traditional relational databases. One idea that I wanted to explore is that these differences mean that we do not have to use these new technologies in the same way as a traditional database layer. A notable feature of CouchDB is that it delivers data over an HTTP connection, so it can deliver data to the web without the need to write a layer of software to go in front of it. It can also store files quite happily. This could hugely simplify the server side of many phone, tablet and Internet TV apps so I thought I would have a go at building an experimental proof-of-concept app for the Samsung Internet@TV platform that gets both its metadata and video files from a CouchDB server.

Just how tough can a micro SD card be?

The micro SD card attached to a magnet

Every day our digital cameras and mobile phones capture pictures and videos which are often irreplaceable. Many devices now take a very small memory card called the "micro sd" card which is about as big as a fingernail, but just how durable are they? To be honest this isn't a question that popped into my mind until I got an email one day with the title "[Review Request]: Indestructible SD Cards" from an online retailer called the Memory Card Zoo. Usually I am very careful with micro SD cards as they always seem so easy to lose! However this seemed like too good an opportunity to miss, so together with my good friend Georgina Parsons (a.k.a. Spiky) we set about testing one to destruction.

How to use the Google+ API (and others) with the Scripting Layer for Android (SL4A)

A photo of chairs arranged in a circle

There was once a time when Google was mainly associated with search, but today many of us use all sorts of Google services. The latest of these to draw a lot of attention is Google+ a relatively new social network which could maybe be described as a bit like Tumblr crossed with Facebook. Google offer APIs to many of these services and recently added a read only API to Google+. They also supply client libraries that are designed to work with traditional desktop environments but with a bit of modification can be made to work with the Scripting Layer for Android (SL4A). We need to modify the code in one of the program files that Google supply and change the location of some of the files, but after that you can go ahead and integrate all sorts of Google services with your scripts.

My first (co-authored) academic paper!

The information superhighway exhibit at the Smithsonian museum

I am very pleased to announce that for the first time my name will be appearing as a co-author of an academic paper! Consuming Linked Data within a Large Educational Organization was written by Fouad Zablith, Mathieu d'Aquin, Stuart Brown and myself and is a full research paper which has been accepted for the Second International Workshop on Consuming Linked Data (COLD 2011) which will be held in Bonn, Germany on October 23rd. The paper discusses the findings of the Lucero project which investigated the uses of Linked Data in educational institutions. My contribution was mainly the use case seen in an earlier post on this site: An HTML5 Leanback TV webapp that brings SPARQL to your living room but the paper is a much wider in scope than my blog post discussing not only use cases but the role of Linked Data principles to avoid the problems of data "silos" often found in large organisations. The paper can be obtained free-of-charge.

SQLite, CouchDB and SPARQL with Scripting Layer for Android

Men putting up a telegraph pole in 1909 in New South WalesThe Scripting Layer for Android (SL4A) and the new SL4A Tablet Remix have a lot of powerful features and interestingly can be used to consume data from a variety of sources both online and offline. The ability to work with some data sources, such as simple relational databases is built in, but thanks to the ability to add additional code libraries to this environment we also get the opportunity to work with non-relational databases and even Linked Data. In this article I will quickly show you how to work with three different types of data source using Python in SL4A: a relational database in the form of a SQLite file, a non-relational database in the form of CouchDB and Linked Data generated from Wikipedia which we will interrogate using the SPARQL language.

Scripting Layer for Android Tablet Remix - Release announcement

Small figure carrying a memory module*** UPDATE: The second version of this app has now been released. This page has been updated with the new version. *** A couple of days ago on the android-scripting Google group I was very pleased to announce the first release of the Scripting Layer for Android Tablet Remix also known as SL4A Tablet Remix. As the name implies this is a version of the Scripting Layer for Android that has been adapted for Android Honeycomb tablets, especially the Asus EEE Pad Transformer. There is still a lot of work to do on this app and a lot of improvements that can be made, but at last in is in a usable state and if you enjoy programming or want to learn about it this could be for you. The app builds on the fantastic work done by the contributors to the original SL4A project and extends functionality to being the Honeycomb look and feel to the app as well as extending the programming environment provided by SL4A to take advantage of some of the great features of the latest Android tablets.

Pages

Subscribe to greenhughes.com RSS