Chapter 23: Supporting Different Versions of Android, Sound Effects, and Spinner Widget
In this chapter, we will learn how we can detect and handle different versions of Android. We will then be able to study the SoundPool class and the different ways we use it depending on the Android version of the device the app is running on. At this point, we can then put everything we have learned into producing a cool sound demo app, which will also introduce us to a new UI widget, Spinner.
In summary, in this chapter we will cover the following:
- Learning how to handle different versions of Android
- Learning how to use the Android SoundPool class
- Coding a sound-based app also using the SpinnerView widget
Let's get started.
Handling different versions ...
Get Android Programming for Beginners - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.