Interview Questions
Ask yourself the following questions to solidify your understanding of this chapter:
- If you ran the
mksdcard
utility with a size of 2G, would you get an SD card image file that's 2GB in size? - How many SD cards can an Android device have at any one time?
- Which Android constant do you use to locate the directory on the SD card where ringtones are stored?
- What permission is needed to write new media files to an SD card?
- What permission is needed to receive streaming media over the network?
- What other permissions might you want to request if the application receives streamed media?
- What's the difference between using the default constructor of
MediaPlayer
and using the static methodMediaPlayer.create()
? - Why should you always ...
Get Pro Android 4 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.