Introduction to SQLite Databases on Android Devices

Hello World! In this post, we’re going to cover the basics of SQLite and databases. SQLite is the main database backend that Android uses to manage complicated data. It provides more structure and functionality than storing data in a file or anywhere else. Database backends are widely used to store data locally on the device and sync with a web … Read more

How to Create Lists using RecyclerView

In this post, we’re going to look at the newer RecyclerView to build more complicated lists and list items. RecyclerView was a recently added UI item that gave developers fine-grain control and power over their lists or grids. However, as we’ll find out, that great power comes with great responsibility. RecyclerView doesn’t provide much of the basic functionality that ListView … Read more

Creating a Unit Converter App – Part 1

In this post (split into two), we’re going to build a unit converter app. We’ll be learning many things along the way like the Model-View-Controller (MVC) pattern, Java Enums, and Spinners. By the end of this post, we’ll have a working app that will allow us to convert to and from various units of distance like miles, centimeters, kilometers, and other units. … Read more

Basic UI Widgets – TextViews, EditTexts, and Buttons

Hello World! In this post, we’re going to be going in-depth into several of the most common UI elements that we’ll encounter in Android: TextViews, EditTexts, and Buttons. We’ll be looking into their properties and some of Java’s language features like anonymous inner classes. TextView The simplest way to show the user text is through the TextView … Read more

Zero-Day Java Guide 4 – Advanced OOP

Interfaces There are cases in software development when we need to agree upon a contract that dictates how software components interact with each other. This allows many people to write independent code while still maintaining the core functionality of the software component. For example, all automobiles have the same basic functionality: turning and signaling, for … Read more