How to Use the Android Notification System

In this post we’re going to learn how to use the Android notification system. Android notifications have evolved from the standard one-liner with an app icon to having actions, showing images, and expanding to show more information. Notifications are a critical part of the user experience. Instead of the user having to check your app for updates, … Read more

How to Use Android Sensors in Games

In this post, we’re going to learn how to access just one of the multitude of sensors present on an Android device by building a very small game that uses the accelerometer on the device. This game will simply show a red ball on the screen whose motion is tied to the device’s accelerometer. For example, tilting the device will cause … Read more

How to Use Loaders in Android

In this post, we’re going to learn about loaders as well as content providers. Loaders allow us to load vast amounts of data asynchronously so we don’t bog down the main UI thread. We can get this data from querying databases using content providers instead of having it stored in a resources file like we’ve done in other posts. We’ll be … Read more

Beginners Guide to Material Design

In this post, we’re going to learn all about Google’s design philosophy dubbed Material Design. We’re going to cover some of the fundamental concepts behind Material Design and will later learn how to realized our design. We’ll be discussing just some of the basics behind the essence of Material Design, like elevation, colors, and layouts. Note that we’ll only … Read more

How to get the User Location in Android Tutorial

Hello world! In this post, we’re going to learn how we can use Google Play Services to access the user’s location. Along with that, we’re also going to learn how to use Android Marshmallow’s new runtime permissions to ask the user for location permission at runtime instead of when they download your app. We’ll be building off of an existing … Read more

How to Pass Data between Activities using Intents

Hello World! In this post, we’re going to learn how we can pass data back and forth between two different activities. We’ll also learn how to reuse layouts and use our app’s manifest with Intents. The Intent object is the fundamental class that we use to pass data around in Android. It acts as a container of information to the system that we … Read more