This appendix includes the answers to the end-of-chapter exercises.
- An AVD is an Android Virtual Device. It represents an Android emulator, which emulates a particular configuration of an actual Android device.
- Because Jelly Bean had the largest install base at the time.
- Software Development Kit.
- The company domain is used to name the Java package to which your code will belong.
- This screen adds commonly used features to your project at the time the project is created.
- Code completion is an invaluable tool that shows you contextual options for completing the piece of code that you are trying to write.
- Breakpoints are mechanisms that enable Android Studio to temporarily pause execution of your code to let you examine the condition of your application.
dp unit is density independent and
1dp is equivalent to one pixel on a 160-dpi screen. The
px unit corresponds to an actual pixel on screen. You should always use the
dp unit because it enables your activity to scale properly when run on devices of varying screen size.
- With the advent of devices with different screen sizes, using
AbsoluteLayout makes it difficult for your application to have a consistent look and feel across devices.
onPause() event is fired whenever an activity is killed or sent to the background. The