Android Development Fundamentals
Test your knowledge of Android development fundamentals including project structure, APK files, Android Manifest, Dalvik DEX, SDK tools, permissions, and UI components.
Questions
Any handheld solution offers
- Custom build applications on handheld devices
- Wireless connectivity to enterprise system
- Access to any back-end system via middle layer
- Ability to Synchronize data
- All of Above
- None of Above
Which source snippet connect the TextView object (e.g. “tv”) with on-screen display -
- tv.setText(“Quiz II”)
- setContentView(tv)
- c. TextView tv = new TextView (this)
- setContentView()
- None of above
Android Application APK includes -
- Dalvik Executable (.Dex)
- Resources
- Native Libraries
- Only a & b above
- Only a & b & c
- None of above
If any of the permissions declared in tag fails, then what exception is thrown back to the application -
- SecurityException
- NotValidPermissionException
- PermissionNotAllowedException
- None of above
Which file contains project settings, such as the build target
- content.properties
- default.properties
- build.properties
- target.properties
- None of above
- What is “dip” ?
- Density independent pixel
- Density index pixel
- Density integer pixel
- None of above
How would you ensure that Android SDK is successfully installed on your desktop? Choose the most appropriate answer.
- dex --version
- aapt --version
- dx --version
- dex --ver
- None of above
You can check the available Android targets using
- android list target
- android targets
- android list targets
- both, a & c
- None of above
The command “android list” displays the following -
- All available Android targets
- All available Android Virtual Devices
- Both a & b above
- None of above
Which of the following is not a resource exposed through R.java
- values
- layout
- xml
- namespace
- None of above
Select a tool that produces graphical analysis views of trace log data -
- Draw 9-patch
- Traceview
- WYSIWYG Editor
- Android Debug Bridge
- None of above
You can test Android Emulator using following command -
- emulator -test
- emulator -avd
- emulator –avd <<AVD Name>>
- None of above
In case of Delvik DEX executable, all the classes of an Android application are packed into more than one file.
- True
- False
The init process is the "grandmother" of all system processes. Every other process in the system will be launched from this process or one of its descendants.
- True
- False
Eclipse Android Plug-in will check the validity of all asset constant IDs in R.java during run-time.
- True
- False
The Android Manifest file presents essential information about the application to the Android system, information the system must have before it can run any of the application's code.
- True
- False
Java ME and Java SE applications are runnable on Android even if the class libraries as well as the generated byte code are different
- True
- False
Every Android application runs in its own Linux process. Android starts the process when any of the application's code needs to be executed, and shuts down the process when it's no longer needed and system resources are required by other applications.
- True
- False
The .apk file is used for application distribution and installation which users download to their device
- True
- False
In Android project structure, Assets folder contains file that are not packaged with the application.
- True
- False