Categories
android performance

Understanding Battery Usage in your Android App

Developing an android app can be a difficult and daunting task. There is so much to think about and a lot of the time battery usage is not very high on the list of things to remember. However, it is one of the most important things you need to consider. If your app is draining your user’s […]

Categories
android github

Android SQLite Database – How to use onUpgrade() correctly

After reading this blog post (and a few others) on how to use the onUpgrade() method for your Android SQLite Database, I thought I should share my experience about how to correctly upgrade your database. It will also be beneficial to highlight why the final solution listed in that blog post would also fail at some point for some scenarios. […]

Categories
Uncategorized

Android – Reduce the size of your APK files

If it is one thing that I hate – it is apps that are HUGE downloads for really simplistic functionality. 40MB for an app that just accesses some messages and has hardly any images, what is it doing?? I have recently had quite an obsession trying to reduce my app size and have managed to shave off […]

Categories
android

Getting Started: The Android Data Binding Library Part 1

Anyone who has dabbled a bit in Android Development will know that Android is lacking a key component of MVVM: The ability to bind data without a couple of lines of code.  For instance, setting a TextView to some value retrieved from a server is pretty complex, considering the simplicity of the task: TextView textView = […]

Categories
android

South African Lotto Results & Checker {ANDROID APP} – DEPRECATED

UPDATE : 11 September 2015 : Unfortunately I had to discontinue this service as the official Lottery Provider changed, and the results are not published in the same manner. Sorry! After searching the Google Play store for a Lotto app, I realised they were all pretty revolting, so I decided to create my own one […]