Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

13. Enhanced Slideshow App > 13.1. Introduction

13.1. Introduction

The Enhanced Slideshow app adds several capabilities to Chapter 12’s Slideshow app. With this version, the user can save the slideshows’ contents on the device using file processing and object serialization, so the slideshows are available for playback when the app executes in the future. In addition, when editing a slideshow, the user can take a new picture using the device’s camera (rear facing, by default; Fig. 13.1) and select videos from the device to include in the slideshow (Fig. 13.2(a)). As with images, after the user selects a video, a thumbnail is displayed (Fig. 13.2(b)) in the list of items included in the slideshow. When the SlideshowPlayer Activity encounters a video (Fig. 13.2), it plays the video in a VideoView while the slideshow’s music continues to play in the background. [Note: This app’s picture taking and video features require an actual Android device for testing purposes. At the time of this writing, the Android emulator does not support camera functionality and its video playback capabilities are buggy.]


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial