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...

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 ...

How to change the default app icon to the preferred icon for your Android app project in Android Studio

  Introduction: Every Android mobile application usually comes with unique app icon associated with it by the Android Developer. An app icon visually represents a mobile application on the screen of user’s device, or in any app store, for example, Figure 1 shows app icons for various applications on the screen.   Figure 1 It is therefore a good idea to have an image designed for the Android application that you are building. The dimension of the app icon could be 512 x 512 pixel. You can then add the app icon to your Android project to replace the default launcher icon associated with app projects in Android Studio. Demonstration: In this demonstration, we will be replacing the default icon with our app icon (as in Figure 2).   Figure 2 To add your app icon to your Android project, take note of the following: First, ensure that your app icon image has been designed and ready for use (for example, Figure 3 shows an image named “my_app_icon”- designed for “Dem...