Marshmallow Runtime Permissions

One of the most talked about features of Android 6.0 (Marshmallow) was the finer permission controls, known as ‘Runtime Permissions’. Runtime Permissions allow the user to control whether a certain app has access to confidential data such as user’s contacts. Users can also take back permissions that they’ve already granted. Continue reading Marshmallow Runtime Permissions

Picasso: A powerful image downloading and caching library for Android

This is the third instalment of my Code More Efficiently series and it is meant for Android developers who deal with loading images in their code. If you have to manage, load, display, or otherwise work with images in your app, you’d agree that the majority of the issues that you face in this area are regarding performance, memory, or both. The solution is often a 3 tier cache: memory > disk > network, but writing such a system is tedious. That’s where Picasso can only help, but excel. Continue reading Picasso: A powerful image downloading and caching library for Android

Butter Knife: View Binding Library for Android

This is the second instalment of my Code More Efficiently series and it directly targets Android programming, specifically dealing with UI and layouts. When I think Android and boilerplate, my thoughts immediately direct towards the UI elements and the ways in which they interact with each other as well as the entities hosting them, namely Activities and Fragments. Butter Knife, an open source library by Jake Wharton, allows the developer to fly past the boilerplate and focus on what matters most: The App! Continue reading Butter Knife: View Binding Library for Android

Lombok: Spice up your Java

This is the first instalment in my Code More Efficiently series. Of all the open source libraries mentioned, I believe Lombok to be the easiest to use. It is almost effortless, which makes it a good starting point. The demo code for this guide is on Github. I also have a few slides for this  guide. Continue reading Lombok: Spice up your Java

Code More Efficiently

Anyone who has developed an application from an early stage will agree that the development process contains a ridiculous amount of boilerplate. If you’re unfamiliar with the term boilerplate, this Wikipedia article could help you get started. Boilerplate is “is the sections of code that have to be included in many places with little or no alteration”. Continue reading Code More Efficiently

Why HTML Mobile Apps suck

We’ve all used HTML apps at one point or another. Chances are that your bank or mobile provider has one that they brag about (More ways to get in touch with us, because you want to). If you’ve ever encountered one that doesn’t suck a metric tonne of monkey dick I’d like to check it out.  Continue reading Why HTML Mobile Apps suck

De-bricking a soft-bricked router

So today I managed to soft-brick my router … I hadn’t done that in a while. The repair process is fairly simple, but is a huge pain in the ass. Why? because it involves tftp (trivial file transfer protocol) and a whole lot of timing so be patient.

Now keep in mind that depending on the brand, age, and model of your router you may have to perform these tasks in a slightly different manner, but the gist is the same. I’ll keep the instructions generic.


Continue reading De-bricking a soft-bricked router