This chapter will walk you through the process of dealing with the Android application behavior on device configuration changes. In the course of this chapter, we will cover comprehensive details of the theoretical concepts, but we will not make any significant changes to the POIApp
. The following topics will be covered in this chapter:
The Android behavior on configuration changes
Locking the Android application orientation
Saving the activity state for configuration changes
Adding alternative resources
Manually handling the orientation behavior