My latest course has been released, Programming Foundations: Fundamentals. It’s for people who want to know on a basic level what computer programming is all about. I’m thrilled to have been a part of this monumental project!
We’re adding the use of dynamic feature modules to our app. This will help us to improve build speeds, conditionally include features and decouple our code. As noted previously, we make use of Dagger Multibinding and the Android Job library to handle our background tasks.
When we created our first feature module we ran into an issue when we attempted to move the associated
Job classes. Let me walk you through the problem, the solution we settled on and then proposed next steps.
Seven years ago, Zola Electric welcomed its first Android application into the world. It was designed to support our sales and service staff as they went throughout Tanzania introducing solar energy to folks. It served us well.
Since then we’ve grown as a company and our needs have expanded as well. This led us to focus on developing a new Android application which met the following requirements:
Do you have a development task that is mostly a series of commands? Do you have to perform that task on a regular basis? If so, a script might be just what you need. Over the years I’ve wanted to learn bash scripting several times. Yet there’s always something else that takes priority and my desire to script takes a back seat. Not any more!
I finally decided to start learning how to write bash scripts and I want to share it with you in case you’d like to do the same. At the bottom of this post, I’ve listed several resources that I’m using to help me on this journey. If you’re an Android developer, you can use Gradle to handle many automated tasks. If you want to learn about Gradle on Android or how to create a Gradle plugin, check out my course here.
On to the script. It does the following:
I’m going to break down what each section of the script does so that you can start having fun creating your own scripts! (This post assumes you are already familiar with programming and related concepts.)