How to Create Toolbars and Menus in Android

Hello World! In this post, we’re going to talk about Toolbars from a design perspective and then we’ll actually build an app that uses Toolbars. We’re all familiar with the top bar of an app that houses the logo or name of the app as well as a navigation drawer perhaps. One of the most prominent items on that … Read moreHow to Create Toolbars and Menus in Android

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 moreIntroduction to SQLite Databases on Android Devices

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 moreHow to Create Lists using RecyclerView

How to Create Simple Lists using ListViews

Hello World! In this post, we’re going to learn how to use one of the most useful views in Android: the ListView. We can use ListViews to present data in the form of a list. We can choose any kind of data as input and display it however we want. That’s the power of a ListView. In this … Read moreHow to Create Simple Lists using ListViews

Creating a Unit Converter App – Part 2

This is Part 2 of the series on creating a Unit Converter app (you can view part 1 here). In this final section, we’re going to work on the View and Controller of our Unit Converter and learn about how we can design a UI with Spinners to allow the user the convert units. View Since we have a relatively … Read moreCreating a Unit Converter App – Part 2

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 moreCreating a Unit Converter App – Part 1

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 moreBasic UI Widgets – TextViews, EditTexts, and Buttons

Hola World – First Steps with Android

Hello World! In this post we’re going to create our very first Android application! We’re going to download Android Studio and other prerequisites. Then we’re going to create a new Android Studio project and write a little app such that the user can type in his or her name, press a button, and the app will … Read moreHola World – First Steps with Android

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 moreZero-Day Java Guide 4 – Advanced OOP

Zero Day Java Guide 3 – Object-Oriented Programming

Introduction to Objects Object-oriented programming (shortened to OOP) applies the concepts of real-world objects to programming. For example, think of an object near you: a pen, a chair, a computer. All of these things can be modeled in an OOP language like Java. In this section, we’re going to move from low-level, concrete structures like … Read moreZero Day Java Guide 3 – Object-Oriented Programming

Tutorials on game, web and mobile app development