Android Application Development Fundamentals
Covers Android app development topics including device administration, testing frameworks, security permissions, graphics rendering, and data storage APIs
Questions
How do we expose the private date to other applications?
- Central Provider
- Content Provider
- Data Provider
- None of the above
What is the tool used to debug an Android database?
- dbdebug
- Sqldebug
- mysql
- sqlite3
Which method is used to create and write a private file to the internal storage?
- getSharedPreferences()
- getPreferences()
- openFileOutput()
- putBoolean()
What is the storage option for primitive data in key-value pairs?
- Internal Storage
- Shared Preferences
- diskStorage
- SQLite Databases
Graphics for any application needs to regularly re-draw itself should draw directly in a
- Canvas
- View Object
- Sandbox
- Paper
An application does not require a significant amount of processing or frame-rate speed can be written on a view
- True
- False
Open GL API is used for
- Low performance 2D graphics
- High Performance 3D graphics
- Map and related graphics
- None of the above
Which class can be used to control playback of audio/video files and streams
- VideoPlayer
- AudioPlayer
- MediaPlayer
- SoundPlayer
To access the camera hardware directly, we need to add the permission to your application manifest file by
- android.permission.VIDEO
- android.permission.MEDIA
- android.permission.CAMERA
- all of the above
Android uses sandbox concept to enforce inter-application separation and permissions to allow or deny an application access to the device's resources
- True
- False
How do we request permission to access resources from other applications?
- Default file
- Manifest file
- random file
- access file
Linux user Id identifies an user and android user ID identifies a
- User
- Activity
- Application
- command
what is the command used to manually generate a key in Android?
- openkey
- zipalign
- jarsigner
- keytool
All Android applications (.apk files) must be signed with a certificate whose private key is held by their developer
- True
- False
Running both the main application and the test application in the same process is allowed in Android testing environment
- True
- False
What are the different tools used for testing an android application?
- Eclipse with ADT
- Using the adb tool
- Using a built in ant target
- none of the above
Which are the various items tested using an Android Test Application?
- Functional areas
- Activity life cycle events
- Database Operations
- Screen size and resolutions
Test applications are themselves Android applications
- True
- False
Device Administration API can be used to wipe the device's data.
- True
- False
Which of the following policies are supported by Device Administration API
- Minimum password length
- Maximum inactivity time limit
- Alphanumeric password requirement
- Prompt user to set new password