Understanding Ringtone Preference

RingtonePreference deals specifically with ringtones. You'd use it in an application that gives the user an option to select a ringtone as a preference. Figure 11-5 shows the UI of the RingtonePreference example and Listing 11-6 shows the XML. Figure 11-5. The RingtonePreference example UI Figure 11-5. The RingtonePreference example UI Listing 11-6. Defining a RingtonePreference Preference ringtone.xml (store at res xml ringtone.xml) < xml version 1.0 encoding utf-8 > < PreferenceScreen...

Developing an End User Application with the Android SDK

In this section, we'll introduce you to the high-level Android Java APIs that you'll use to develop end-user applications for an Android handheld. We will briefly talk about the Android phone emulator and foundational components, UI programming, services, media, telephony, animation, and OpenGL. We will also show you some code snippets when they are helpful. The Android SDK ships with an Eclipse plug-in called Android Development Tools (ADT). You will use this Integrated Development Environment...