-
·
Developing like a pro — portrait only apps
When writing an Android application there comes a time when the client / business utters those dreaded words. “Let’s support only portrait for phone and landscape for tablets” they might add … “_just for now_”. After all the debates and your passion to prove this is the wrong decision sometimes it just has to be…
-
·
This one simple change for better class naming will blow your mind
Single Responsibility[^n], Beware the Share[^n], Boyscout Rule[^n]. These are some conventions that guide good practice in software development and I believe naming can benefit from these ideas and other practices. This blog post will discuss class naming using Model View Presenter as the example and show you one change you can do to make your…
-
·
Five reasons why Android developers should start developing for the internet of things
The “internet of things” (IoT) is simple: everyday objects that have internet connectivity and sensors that can gather, transmit and receive information. But why does this ubiquitous functionality affect you as an Android developer?  Just as smartphones are being built with more and more sensors – for everything like movement, sound, temperature and touch…
-
·
Top 3 Android Studio Shortcuts
Everyone likes to increase their productivity and everyone has their own favourite productivity hacks, but not everyone agrees! In this blog, I will talk about his top three Android Studio shortcuts and how they’re better than the rest. ## Goto Next Error #### F2  Pressing F2 will move the…
-
·
5 tools for a remote Android developers toolchest
_A poor developer always blames their tools._ Well, let’s talk about the best tools for remote work so you can’t blame them! This blog post outlines 5 tools that come in handy when you don’t work in the same physical space as your co-workers. There are three types of remote work—in an office with colleagues…
-
·
Clean Code: Java Class Fields
Keeping your code clean is no easy task. Clean code allows your project to pass the test of time. It can be broken down into making your code simple to read, write, and understand. This post will explain how you can clean up your class fields to move towards a cleaner project. Code maintenance is…
-
·
Swanseacon 2016 : An agile software craftsman’s view
SwanseaCon is billed as _”a technical event for Software Developers, Software Architects, Project Managers, Analysts and Consultants.”_ I fit in there somewhere so I decided to go! Here I want to share some thoughts on the event and the talks, to inspire you to learn more or even to turn up next year. The [keynote](https://www.youtube.com/watch?v=W0lgoVXcgwk)…
-
·
CleanCoders – Mobile App Case Study Review
Learning is hard and comes in many forms. I have recently finished watching “Mobile Development with Swift” an online ~10 hour video series by Robert C Martin of the [Clean Coders](https://cleancoders.com/) website. It aims to teach you about mobile development, test driven development and clean code. What did I learn? Was it worth it? And…
-
·
The only way to implement Model View Presenter
The only way to do Model View Presenter (MVP) and you probably didn’t even know it existed! _Everyone_ on the internet is talking about MVP and everyone likes to share ‘_the best way_’, little do they know the best way is written in this blog. I will talk about how you can architect MVP to…
-
·
How to use an extra GPIO pin on Raspberry Pi Rainbow Hat
This is an Android Things quick fix explanation of using an extra GPIO pin on the Rainbow Hat for the Raspberry Pi. I couldn’t find this solution written in any documentation. So here I am to share it with you. When you use the Rainbow Hat it takes all the pins of the Raspberry Pi.…
-
·
[TUT] Testing Android Things – Unit & Vendor tests
This tutorial will show you how you can architect your Android Things applications to make testing much easier. This involves two types of testing: unit and vendor testing. Google has just announced the amazing Android Things. This gives the Internet of Things (IoT) a real jump start with the availability of the Android ecosystem and…
-
·
[TUT] Using Firebase with a Node JS Amazon Lambda
This tutorial will show you how you can use Firebase in an Amazon lambda, two methods will be outlined used the Firebase javascript SDK and using the Firebase REST API. This post is going to cover the use of the realtime database. You might want to use the RTD in a lambda so that all…
-
·
[TUT] How to test time and control System.currentTimeMillis
This post explains how to control time and specifically control System.currentTimeMillis. To make your code more flexible, maintainable and in the end testable! Showing an example application that uses time to define different behaviour for the app in the morning and in the evening. Going on to unit test this in a robust manner. What…