How to Accessing the Camera and Take Pictures on Android

In this post, we’re going to learn how we can access the camera and use it to take a picture. Grabbing data from the camera can be a bit tricky, especially when dealing with the Android filesystem so we’ll be covering how to create an image file for the photo and extracting that image back into the ImageView. In this … 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

How to Use Contextual Toolbar and ActionBar in Android

Hello World! In this post, we’re going to be covering contextual toolbars/action bars. They are a structure that will allow us to change the menu items on the toolbar based on the user’s context. Suppose we were looking at our email in the Inbox or Gmail app and wanted to delete an email. We could tap on the email … Read more

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 more

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