Web Designer Pro Bundle - $500 of Site Templates, Stock Photos, Code, Graphics and more for only $20
Android Fundamentals: Working With Content Providers
basix

Android Fundamentals: Working With Content Providers

This entry is part 1 of 7 in the series Android Fundamentals

The TutList application that we’ve been working with has a pretty big flaw right now: the article data is not “live”, but static content. In this tutorial, you take several more steps towards a flexible and expandable solution by modifying the application to act as a data-backed content provider.

Android Fundamentals: Properly Loading Data
basix

Android Fundamentals: Properly Loading Data

This entry is part 2 of 7 in the series Android Fundamentals

The UI thread is a bad place for lengthy operations like loading data. You never know how long data will take to load, especially if that data is sourced from a content provider or the network. Android 3.0 (Honeycomb) introduced the concept of Loaders and, in particular, the CursorLoader class that offloads the work of loading data on a thread, and keeps the data persistent during short term activity refresh events, such as an orientation change. We’ll incorporate the Loader as a new feature in our ongoing tutorial series building a yet-to-be-named tutorial reader application.

Android Fundamentals: Downloading Data With Services
basix

Android Fundamentals: Downloading Data With Services

This entry is part 3 of 7 in the series Android Fundamentals

The tutorial content of the still-unnamed “TutList” application we’ve been building together is getting stale. The data has been the same for over a month now. It’s time to breathe some life into the application by providing it with a means to read fresh Mobiletuts tutorial data on the fly.

Android Fundamentals: Scheduling Recurring Tasks
basix

Android Fundamentals: Scheduling Recurring Tasks

This entry is part 4 of 7 in the series Android Fundamentals

Many applications have a need for regular, background actions to take place. For instance, in the “TutList” application we’ve been building over a recent series of tutorials, the content list is stale until the user initiates a refresh from the options menu. Why can’t the application simply update its data at regular intervals? Well, it can and it should. Let’s implement this new feature right now!

Android Fundamentals: Status Bar Notifications
basix

Android Fundamentals: Status Bar Notifications

This entry is part 5 of 7 in the series Android Fundamentals

Often times, applications will perform some background operation—maybe while the app is running or maybe triggered on a scheduled alarm. The user won’t know what’s going on, though, unless they are informed of some event. Luckily, Android has an easy notification system that allows applications to display a message in the status bar and provide informative details to the user when something important occurs.

Android Fundamentals: Database Dates and Sorting
basix

Android Fundamentals: Database Dates and Sorting

This entry is part 6 of 7 in the series Android Fundamentals

Android uses SQLite technology for its local database. This works quite well. However, occasional quirks exist when compared to a fully featured relational database. One such quirk is that SQLite doesn’t support any sort of date type. Luckily, it does support date functions and is capable of storing dates in numerous formats. This tutorial will provide you with a method for working with dates in the context of adding dates to the “TutList” application database and (finally) showing a list of tutorials, sorted by date.

Android Fundamentals: IntentService Basics
basix

Android Fundamentals: IntentService Basics

This entry is part 7 of 7 in the series Android Fundamentals

Today we’d like to take a quick tour of one of the lesser known, but highly useful types of services you might want to use: the IntentService.