concept configuration in category android

appears as: configuration, configuration, The configuration, configurations, configurations
RxJava for Android Developers

This is an excerpt from Manning's book RxJava for Android Developers.

Finishing the configuration

To finish the configuration and installation of the virtual device, you need to jump through a few hoops of potentially downloading extra components or clicking Next on default values.

Android in Practice

This is an excerpt from Manning's book Android in Practice.

Listing 1.5. The AndroidManifest.xml file used to define configuration

Android projects rely on a predefined project structure to allow different components to be located, and to provide some convention over configuration. Java source code, layout files, string resources, image resources, and more have their place in the hierarchy. Figure 1.6 depicts the complete structure for our Hello Android project, including the source (and generated source), resources, and manifest.

On a configuration change, an Activity goes from onPause to onDestroy, and then from onCreate to onResume. Additionally, instance state is saved and restored (onSaveInstanceState and onRestoreInstanceState). This is significant. Activities aren’t paused and resumed, because they can’t be. The configuration is different. They need to restart to respond to any potential differences. But, they do get to hold on to the instance state, and restarting should be fast (not noticeable to users). We’ll talk about instance state and special nonconfiguration instance data in the next section, but the point to take away here is that activities will be created/destroyed/recreated frequently.