Software Development Tutorials

Getting started guides, How-to's, and in-depth explanation of various topics in software development.

1

Building Data-Driven Hierarchical Views for Android

One common scenario for applications is displaying a UI that is driven by event data. In this tutorial I'll go over a very useful technique for building custom views that can be used in various layouts and updated by passing data to one container view per layout.

Read more Paul Trebilcox-Ruiz

Building a widget to silence an Android phone

In this tutorial I'll show you how to make an Android widget that lets you silence a phone with a single tap. When run on Lollipop, it'll also place phones into priority mode and silence the ringer, allowing users to get notifications without a vibration

Read more Paul Trebilcox-Ruiz
1

Using Android Media Style notifications with Media Session controls

Java Android User Interface Oct 30, 2014

Android Lollipop is brimming with new features, and one of them is lock screen notifications. In this tutorial I'll go over using the new `MediaStyle` for notifications and interacting with a `MediaSession` for controlling media playback states.

Read more Paul Trebilcox-Ruiz
2

Building an Android Google Cast Sender App

With millions of Chromecasts sold and the Android TV ready to burst into living rooms, knowing how to build an app that supports casting should be in every Android developer's toolkit. This tutorial covers making an Android sender app for casting videos to TVs.

Read more Paul Trebilcox-Ruiz
11

A Guide to Android RecyclerView and CardView

Java Android User Interface Oct 22, 2014

Android L introduced two new UI components: RecyclerView and CardView. In this tutorial, I'll explain how to use these two widgets and how to use them together.

Read more Francesco Azzola
3

A guide to the Android Wear Message API

Android Wear comes with nifty features right out of the box (e.g. notifications), but its true value comes in with native apps that communicate directly with paired smartphones. In this tutorial, I'll cover how to use Android Wear's Message API to send data from a phone to a wearable.

Read more Paul Trebilcox-Ruiz

Getting Started with the Gamepad Controller for Android TV

Learn how to port your games to Android TV and support the gamepad with this guide and Asteroids-esque OpenGL example. All source code for this tutorial can be found on GitHub.

Read more Paul Trebilcox-Ruiz
3

How to create a custom Android Wear watch face

Java Android Jul 30, 2014

There's no official Android Wear watch face API yet, but that doesn't mean we can't make our own solution. There are plenty of watch faces already out there, and they are very simple to make. If you know how to make an Android application for a phone or tablet, you already know how to make a watch face. This

Read more TG Tavon Gatling

Video Cropping with Texture View

In this tutorial we are going to create an Android application which will do following: Display a video from assets folder using TextureView When a user touches the screen, TextureView must resize itself and video should be cropped to match new view size You can also use my TextureVideoView project

Read more Dmytro Danylyk

Create a Fluid ListView with the ViewHolder Pattern

Java Android Feb 7, 2013

Don't forget to check out my online course "Your First Android App with Java" Tutorial Requirements You must have a Developer IDE (I recommend Eclipse) and the Android SDK installed. Having an intermediate to advanced knowledge of Android and Java is also recommended. Since this tutorial is about the

Read more Mohit Deshpande