Build your own Android App Dev Empire

Get Instant Access

Throughout this chapter, we looked at the basics of image capture and storage on Android. We saw how powerful using the built-in Camera application on Android could be and how to effectively leverage its capabilities through an intent. We saw that the

Camera application offers a nice and consistent interface for adding image capture capabilities into any Android application.

We also looked at the need to be conscious of memory usage when dealing with large images. We learned that the BitmapFactory class helps us load scaled versions of an image in order to conserve memory. The need to pay attention to memory reminds us that mobile phones are not desktop computers with seemingly limitless memory.

We went over using Android's built-in content provider for Images, the MediaStore. We learned how to use it to save images to a standard location on the device as well as how to query it to quickly build applications that leverage already captured images.

Finally we looked at how we can associate certain metadata with images with a standard called EXIF, which is transportable and used in a variety of devices and software applications.

This should give us a great starting point for exploring what more we can do with media on Android.

I am looking forward to it!

Was this article helpful?

+1 0

Post a comment