O'Reilly logo

Android Development Tools for Eclipse by Sanjay Shah, Khirulnizam Abd Rahman

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

Chapter 4. Incorporating Multimedia Elements

This chapter will discuss how to incorporate multimedia elements inside a project and handle several screens in an app. The readers will be shown how to add images, sounds and an HTML page in the project. We will discuss the following topics with the help of a project called SimpleNumb3r5:

  • Forming the layout
  • Adding the image resources
  • Inserting ImageView
  • Inserting ImageButtons
  • ImageButton and handling events
  • Adding audio and multiple screen support
  • Inserting HTML in a WebView
  • Using Intent and Activity
  • Adding a new activity in the manifest file
  • The final product – run, deploy, and test app

For this chapter, we need a new project that will cover the Android devices from Version 2.1 (API level 7) to the latest version. ...

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