ELECTIVE 02 ANDROID Flashcards
4 SECTIONS OF THE ARCHITECTURE OF ANDROID OS
- LINUX KERNEL
- LIBRARIES AND ANDROID RUNTIME
- APPLICATION FRAMEWORK
- APPLICATIONS
LINUX KERNEL PROVIDES THE FOLLOWING 6 SERVICES
- SECURITY
- MEMORY MANAGEMENT
- PROCESS MANAGEMENT
- NETWORK STACK
- DRIVER MODEL
- POWER MANAGEMENT
7.
THE LINUX KERNEL ACTS AS AN __________ _______ BETWEEN _______ AND THE REST OF THE ________ STACK
ABSTRACTION LAYER
HARDWARE
SOFTWARE
Common android libraries are (7)`
- SURFACE MANAGER
- SQLITE
- MEDIA FRAMEWORK
- SGL and OPEN GL ES
- FREETYPE
- SSL
- WEBKIT
THE ANDROID RUNTIME IS DIVIDED INTO 2 PARTS AS FOLLOWS
CORE LIBRARIES
DALVIK VIRTUAL MACHINE
It is a rich set of classes that helps to develop Android application and platform.
open source development.
APPLICATION FRAMEWORK
- Abstraction of hardware access, manages user interface (UI) and application resources.
APPLICATION FRAMEWORK
APPLICATIONS ARE WRITTEN IN ______ PROGRAMMING
JAVA
WE CAN DESIGN UIS FOR ANDROID APPLICATIONS BY USING:
JAVA
XML
4 BASIC COMPONENTS OF AN ANDROID APPLICATION
ACTIVITY
SERVICE
BROADCAST RECEIVER
CONTENT RECEIVER
AN _______ REPRESENTS A SINGLE SCREEN WITH UI OR WINDOW
ACTIVITY
- Inherit the _____________ from the android.app package to create an activity or window
Activity class
Activity is initialized in what method
onCreate(Bundle)`
All activity classes must have a corresponding <activity> declaration in their package's \_\_\_\_\_\_\_\_\_</activity>
AndroidManifest.xml
- If the activity is not registered or declared in the manifest file, the application will fail and display the
message _____________
“unfortunately stopped”.
Activity Environment maintains a _____ of all the open _______
STACK
ACTIVITIES
A _____________runs in the background to perform long-running operations or work for remote processes.
service
- Each service class must have a corresponding _______ besides <Activity> declaration in
AndroidManifest.xml of your package.</Activity>
<service>
</service>
3 methods for Service
onCreate()
onStart()
onDestroy()
______ LIstens to broadcast intents
BROADCAST RECEIVER
This must be registered
BROADCAST RECEIVER
- A broadcast receiver can be registered using _____________
multiple intent filters.
_________________ is one of the main components of Android applications that provides content
to applications.
Content provider