Pro Android Media

Developing Graphics, Music, Video, and Rich Media Apps for Smartphones and Tablets

By Shawn Van Every

Pro Android Media provides concise and clear instruction on how to utilize the media APIs made available through Android to create dynamic apps.

Full Description

  • ISBN13: 978-1-4302-3267-4
  • 320 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: December 22, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $44.99
  • eBook Price: $31.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Mobile devices have evolved to focus on rich media production and consumption. Developers of mobile applications are able to create applications that allow people to play, capture, and share media in a variety of new ways on mobile devices. The popularity of Android has soared in part because the platform offers developers a rich set of capabilities including access to media capturing and playback functions.

Pro Android Media provides concise and clear instruction on how to utilize the media APIs made available through Android to create dynamic apps. It takes you from a simple means to gain access to the camera to complex video capture and sharing examples. It also covers sound, graphics, painting, and more—everything you need to make your app come "alive."

After reading this book, the app you create will showcase the best of multimedia that Android has to offer.

What you’ll learn

  • Develop graphics, music, video and rich media apps for Android smartphones and tablets
  • Build touchscreen input features into Android apps that allow users to draw, paint, and do other creative forms of input
  • Turn the Android smartphone into a full fledged media player
  • Integrate and use location-based services and media-related web service APIs

Who this book is for

This book is aimed primarily at the growing market of Android developers. It is written in such a way that it may be used by those who are familiar with Android, but have no experience developing applications that deal with images, audio, or video.

Table of Contents

Table of Contents

  1. Introduction to Android Imaging
  2. Building Custom Camera Applications
  3. Image Editing and Processing
  4. Graphics and Touch Events
  5. Introduction to Audio on Android
  6. Background and Networked Audio
  7. Audio Capture
  8. Audio Synthesis and Analysis
  9. Introduction to Video
  10. Advanced Video
  11. Video Capture
  12. Media Consumption and Publishing Using Web Services
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 3:
After "if (resultCode == RESULT_OK) { " control structure, "Get Bundle extras = intent.getExtras();" should
be just "Bundle extras = intent.getExtras();"

On page 9:
Before "imv.setImageBitmap(bmp);", a call to "imv = (ImageView) findViewById(R.id.ReturnedImageView);"
needs to be made. A crash will happen if you never set that ImageView imv to it's view in main.xml

On page 19:

//titleTextView.setText(cursor.getString(titleColumn));

as there is two slashes at the beginning of the code, this code is not compiled and consequently there is no title column for the pictures ;)


On page 48-51:
ChoosePicture Application really needs a
"<uses-permission android:name="android.permission.CAMERA"></uses-permission>"

in the manifest file or else the app crashes on startup. Running an Evo 4g.

On page 113:
App CustomAudioPlayer is missing " theView = (View) this.findViewById(R.id.theview);" declaration in onCreate method. It's also missing "<uses-permission android:name="android.permission.WAKE_LOCK" />" in the Manifest file.