Developing Android libraries that are easy to use - Part 3: How to do it technically

Posted:

This is Part 3 of the series Developing Android libraries that are easy to use. You might want to start by reading Part 1 and Part 2.

With this post, I am going to get to the point and state dos and don’ts on how to actually write the source code.

 Continue reading Developing Android libraries that are easy to use - Part 3: How to do it technically...


Developing Android libraries that are easy to use - Part 2: Common mistakes to avoid

Posted:

This is Part 2 of the series Developing Android libraries that are easy to use. You might want to start by reading Part 1.

This post is basically the inverse of the previous post. Here we discuss what not to do / what to avoid.

 Continue reading Developing Android libraries that are easy to use - Part 2: Common mistakes to avoid...


Developing Android libraries that are easy to use - Part 1: Make the library conventional

Posted:

We more often than not re-use code when developing software. For code to be reused when working in Java, we can package it into classes, packages, modules (read gradle-modules), or an artifact.

In Java, we call these artifacts JARs while in Android they become a bit more complicated and independent to become AARs. AARs contain drawables, strings, layouts, values, assets and even the AndroidManifest.xml. However, to truly re-use the code in an AAR we need to know:

  • What the code does
  • How to call it
  • What to pass to it

The aim of this blog post is to outline how to develop and support Android libraries that are usable by other developers. The fact is that there are a lot of libraries developed that achieve what we want. However, the difficulty of using these libraries — often they are challenging to import, let alone use — deters developers from taking advantage of them.

 Continue reading Developing Android libraries that are easy to use - Part 1: Make the library conventional...


OpenSRP included in John Hopkins List of Leading Digital Solutions for Covid-19 Response

Posted:

OpenSRP for COVID-19 Response

From the early days of the coronavirus pandemic, we’ve been doing what we can to help and watching in awe at the work and dashboards from Johns Hopkins. Accordingly, we were incredibly honored to find OpenSRP listed as a notable digital solution for COVID-19 Response in a recent asesssment from Johns Hopkins Global mHealth Initiative and the Bloomberg School of Public Health.

OpenSRP for COVID-19 Response

The OpenSRP COVID-19 app is currently being deployed in Indonesia to read and track Covid-19 IgG/IgM RDTs, Covid-19 RNA nasal-swab samples, and RT-PCR results.

To review the full audit from Johns Hopkins, click here.


Setting Up a Multi-Container Development Environment with Docker

Posted:

Docker Containers

In this post we will set up a development environment for an application that will be using multiple Docker containers. The application is a Fibonacci number calculator, which consists of the following services:

  • A react frontend (client).
  • A Node.js backend (server).
  • A Redis worker.
  • An Nginx router.
  • A Postgres database.

 Continue reading Setting Up a Multi-Container Development Environment with Docker...