O'Reilly logo

Android How to Program by Paul Deitel, Abbey Deitel, Harvey Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12. Slideshow App

Objectives

In this chapter you’ll:

• Use Intents and content providers to allow the user to select pictures and music from a device’s Gallery and media library, respectively.

• Launch Intents that return results.

• Use a MediaPlayer to play music from the device’s media library during the slideshow.

• Customize a ListActivity’s layout.

• Use the view holder pattern to improve performance when using complex ListView-item layouts.

• Create a custom GUI for an AlertDialog to allow a user to enter information,

• Load images as Bitmaps using a BitmapFactory.

• Use a TransitionDrawable to gradually transition between two BitmapDrawables that contain images.

Outline

12.1 Introduction

12.2 Test-Driving the Slideshow App

12.3 Technologies ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required