12. Slideshow App


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.


12.1 Introduction

12.2 Test-Driving the Slideshow App

12.3 Technologies ...

Get Android How to Program now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.