Get $500+ of the best After Effects files, video templates and music for only $20!

Browsing Category

Android

Android Compatibility: List Indicators on Honeycomb

Android Compatibility: List Indicators on Honeycomb

The Android compatibility library allowed you to add fragments to the tutorial list (TutList) application for use on devices running Android 1.6 and higher. However, it does not provide perfect compatibility. One sticking point is providing a mechanism to indicate to the user which list item is selected and to show in another fragment, the context for its details (view the article contents, in this case).

Android Futures: Creating Android Apps For Google TV

Android Futures: Creating Android Apps For Google TV

Google IO 2011 took place in early May in San Francisco, California. In the midst of many announcements and tons of information, Android development for Google TV did get a little coverage. As of this writing, most developers cannot yet use Google TVs as a target device for development, but this is about to change. Developers looking to get a head start can follow a few easy tips and be ready when consumers can download applications for their TVs.

Android Fundamentals: Status Bar Notifications
basix

Android Fundamentals: Status Bar Notifications

This entry is part 5 of 8 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 User Interface Design: Building Application Preference Screens

Android User Interface Design: Building Application Preference Screens

This entry is part 11 of 21 in the series Android User Interface Design

Many applications can benefit from Shared Preferences – the Android platform’s answer to the persistent storage of application settings. There are many ways to create user interfaces for collecting and displaying persistent settings for users. The easiest way is to use the PreferencesActivity, which provides a consistent look-and-feel with the rest of the platform, including the device system preferences. Learn how to use PreferencesActivity in this tutorial.

Android Fundamentals: Scheduling Recurring Tasks
basix

Android Fundamentals: Scheduling Recurring Tasks

This entry is part 4 of 8 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: Downloading Data With Services
basix

Android Fundamentals: Downloading Data With Services

This entry is part 3 of 8 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: Properly Loading Data
basix

Android Fundamentals: Properly Loading Data

This entry is part 2 of 8 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: Working With Content Providers
basix

Android Fundamentals: Working With Content Providers

This entry is part 1 of 8 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 SDK: Achieving Movement

Android SDK: Achieving Movement

In this tutorial, we will run through a quick guide on how to achieve object movement, one of the foundations of game development. We won’t be doing anything fancy, just bouncing a ball across the screen. However, the principles in this tutorial can be easily applied in many more complex scenarios. Without further delay, let’s jump right in!

Android Compatibility: Working with Fragments

Android Compatibility: Working with Fragments

Android 3.0, or Honeycomb, came with some fundamental user interface changes, most notably in the form of the Fragment API. When you were reading the last tutorial on how to use fragments, you were probably thinking, “Wow, this is great, but I can’t use any of this because I need to target more than just the Motorola Xoom, the only Android 3.0 device currently on the market.” Luckily for all of us developers, Google has released a library called the Android Compatibility package. This package provides support for the Fragment API as well as other key new features to devices as far back as Android 1.6. As of this writing, that covers 97% of all Android devices actively accessing the Android Market. Learn how to use it in this quick tip.

Page 8 of 14« First...56789101112...Last »