Google I/O 2017 – Highlights for the Android Developer

This year’s Google I/O 2017 was an exciting few days for developers. After last year’s complaints of long queues and no shade, Google listened and delivered a pre-booking system that ensured attendees weren’t queuing for hours. They also provided big bottles of sunscreen and more shade.  Continue reading Google I/O 2017 – Highlights for the Android Developer

Android Architecture Components – Looking at Room and LiveData – Part 1

This week at Google I/O 2017, there were a lot of new announcements for the Android Platform. One of the announcements was the new architecture guidelines for Android! This is a welcome addition to the Android platform.

Previously the Android team refrained from giving advice as to how you should structure your Android applications. For the most part this meant that anyone learning Android for the first time would just end up placing all their code into the Activity files and occasionally moving stuff into an AsyncTask if the app crashed with a NetworkOnMainThreadException. Only after trying to add unit tests and instrumentation tests would you really understand that your code you have just spent so long developing was not easy to read, make changes to or to write tests for. Continue reading Android Architecture Components – Looking at Room and LiveData – Part 1

Speaking at the App Builders Conference in Switzerland – 2017

Speaking at App Builders Switzerland this past week on Android Things was an invaluable experience, I had such a fantastic time. Besides the conference, I got to do a bit of sightseeing. I was able to take a day to explore Zermatt and experience a lot of snow! Unfortunately the Matterhorn wasn’t visible but this didn’t really bother me as I had enough fun exploring the snow topped mountains anyway.

Continue reading Speaking at the App Builders Conference in Switzerland – 2017

Android Things – Electricity Monitoring App

For those who may not know, I live in beautiful sunny South Africa (see my tweets for lots of awesome pictures). A few years ago we battled with a lack of electricity. While “load-shedding” is not so common these days, we have numerous unplanned outages. We even have a few of apps that give out schedules when the electricity is scheduled to go off in your area (see here and here). Continue reading Android Things – Electricity Monitoring App

Android Things – Building a Distributed Piano with Nearby Connections API

In the previous post, we had a short introduction to some hardware basics for the Software Engineer. We learnt about some different components and how to create a blinking LED with Android Things. In this blog post, we will learn to build a distributed piano with Android Things, a Piezo Speaker and Google’s Nearby API.

Continue reading Android Things – Building a Distributed Piano with Nearby Connections API