Skip to main content

How I Began Android Development: Overcoming Challenges and Making Progress

 
Information Technology (IT) is a great tool for making a remarkable difference in the world- this is an awesome motivation for acquiring IT skills towards creating digital solutions that make life better.

Prior to my interest in Android app development, I already had an excellent background in Computer Science, with some experiences working with HTML and CSS for Front-end website design, and good knowledge of cloud computing.

I started learning Android App Development via the Google Africa Developer Scholarship (GADS) 2021 programme with the support of Google, Andela, and Pluralsight.

My first few days of practising the Android lessons learned were not without their challenges.

The first challenge that I had was the appearance of lots of red lines indicating errors in my first new project code files in Android Studio. It was really frustrating because I could not make progress without getting rid of the errors. I later realized that some components related to the newly created project were missing, and there was a need to connect to the internet when creating a project for the first time, so that all essential components could be downloaded accordingly. So, I closed my Android Studio, connected to the internet, and relaunched my Android Studio. Problem solved! The essential components were downloaded for my project and all the red lines indicating errors disappeared.

Furthermore, I noticed that internet connection was required when building the project for the first time, and when generating an APK or app bundle for the first time in Android Studio.

Moving forward, the second challenge I had was that when I tried to run the emulator to test the progress I was making in the app development task, my computer system slowed down and the emulator was taking a long time to run. I later realized that the cause of the problem was the size of my computer’s RAM (which was 4GB), so I upgraded it to 8GB RAM. After I increased the size of the RAM, the emulator worked normally when I ran it, and my computer system no longer slowed down whenever the emulator was in use.

Moreover, I encountered some challenges while working on the implementation of some app features. I was able to overcome the challenges by doing more online searches for solutions, and learning more through Andela Learning Community, YouTube, Stackoverflow, among others.

So far, I have realized that the more I practise the little concepts I learn, the better I develop my skills.

In conclusion, Android app development is an interesting exercise which requires some levels of diligence, patience, and good practice.

Thank you for reading.

Comments

Popular Posts

Android Development: Addition of Bottom Navigation Bar with Kotlin and Jetpack Compose

  Introduction In this article, we will add bottom navigation bar to the second screen of the “Demo One” App that I have been using for demonstrations in my previous Android development articles. The bottom navigation bar will have three navigation items, which are, “Home”, “Info” and “Settings”.  The navigation items would be programmed to render their contents on the screen accordingly when clicked or tapped. Note that the “Demo One” Android project already had a TopAppBar, as added in my previous article. The user interface of the second screen of the Demo One App is as shown in Figure 1. Figure 1 Addition of Needed Dependency The dependency that we will need for the addition of bottom navigation bar to our Android project is called “navigation”. Let us now open the module-level build.gradle file in our Android project and add the version 2.6.0 of the navigation dependency. After the addition of the dependency, we will connect to the internet and then click on “Sync...

How to add background image to your Android project with Jetpack Compose

  Introduction: There could be instances when we might decide to use an image as the background instead of the default background color for some specific screens in the Android app we are developing. With the combination of Jetpack Compose and Kotlin programming language in Android Studio, this can be easily achieved. One of the ways to achieve this is to make use of Box layout composable and add the background image as the first element in the Box layout. Box layout makes elements or items placed in it to be stacked on each other; so, every other element will be placed on the first element (which will be a background image in our own case). After adding the Image composable, we can add another layout such as Column or Row or even another Box that will contain the other items (such as Text composable, Button composable, and so on) that should be on the background of the app screen. Demonstration: In this demo, we will be adding a JPEG image named “demo_bg” as our background...

Android Development: Adding New Activity, Explicit Intent and Top App Bar with Jetpack Compose

  Introduction In this article, we will continue with the practical demonstration of Android development using our “Demo One” Android project as an example. Note that in my previous article, I demonstrated how to add AlertDialog to MainActivity.kt, and programmed it to show when the “Click Here to Proceed” button is clicked. The AlertDialog contains a button with the text “NEXT” (as in Figure 1). Figure 1 When the “NEXT” button is tapped or clicked, the AlertDialog will close, and then, the app will navigate back to MainActivity. In this article, we will add a new Activity named “SecondActivity”. Next, with the use of “intent”, we will program the AlertDialog “NEXT” button to navigate to SecondActivity when tapped. Next, we will add top app bar to our SecondActivity. Let us now open our “Demo One” project (as in Figure 2) and continue with the development process. Figure 2 Creation of a new Activity named “SecondActivity” There are different methods of creating ...