Mobile Application Development 1 (Unit 1 Lesson 3 Android Architecture and Android Components)

Ace your homework & exams now with Quizwiz!

Level 2: Libraries and Android Runtime

A variety of libraries are located and the Linux kernel, which includes open-source Web browser engine WebKit, a well-known library, a useful SQLite database for storing and sharing application data libraries for playing and recording the audio, video, and SSL libraries for Internet Security.

SSL Libraries

A variety of libraries are located and the Linux kernel, which includes open-source Web browser engine WebKit, a well-known library, a useful SQLite database for storing and sharing application data libraries for playing and recording the audio, video, and ______________ for Internet Security.

SQLite Database

A variety of libraries are located and the Linux kernel, which includes open-source Web browser engine WebKit, a well-known library, a useful ____________ for storing and sharing application data libraries for playing and recording the audio, video, and SSL libraries for Internet Security.

WebKit

A variety of libraries are located and the Linux kernel, which includes open-source Web browser engine ________, a well-known library, a useful SQLite database for storing and sharing application data libraries for playing and recording the audio, video, and SSL libraries for Internet Security.

Web browser engine

A variety of libraries are located and the Linux kernel, which includes open-source __________________ WebKit, a well-known library, a useful SQLite database for storing and sharing application data libraries for playing and recording the audio, video, and SSL libraries for Internet Security.

Linux

A variety of libraries are located and the _______ kernel, which includes open-source Web browser engine WebKit, a well-known library, a useful SQLite database for storing and sharing application data libraries for playing and recording the audio, video, and SSL libraries for Internet Security.

Application Framework

Activity Manager, Window Manager, Content Providers, View System, Notification Manager

Content Providers

Allows apps to publish and exchange data with other apps.

Updates Manager

Allows programs to view alerts and notifications to users.

Android Core Building Block

An android is just a piece of code with a well-defined life cycle. Android's key components are activities, views, intents, services, broadcast receivers, and content providers.

View Framework

An extensible series of views used to construct user interfaces for the application

Media Codecs

Android can loop, record, AAC (h.264), H.263, HP3, and MPEG-4, among other formats.

SQL Database

Android provides a lightweight SQLite database engine that can store database information in your program.

Hardware abstract layer

Android uses Linux as a ________________ to manage the processing, but you're not going to make Linux calls directly to programs; you're always using Dalvik(Android virtual machine) with approximately 115 patches

Level 1: Linux Kernel

Android uses Linux as a hardware abstract layer to manage the processing, but you're not going to make Linux calls directly to programs; you're always using Dalvik(Android virtual machine) with approximately 115 patches

115 patches

Android uses Linux as a hardware abstract layer to manage the processing, but you're not going to make Linux calls directly to programs; you're always using Dalvik(Android virtual machine) with approximately ___________

Dalvik (Android virtual machine)

Android uses Linux as a hardware abstract layer to manage the processing, but you're not going to make Linux calls directly to programs; you're always using ____________ with approximately 115 patches

Linux

Android uses Linux as a hardware abstract layer to manage the processing, but you're not going to make _______ calls directly to programs; you're always using Dalvik(Android virtual machine) with approximately 115 patches

Linux

Android uses _______ as a hardware abstract layer to manage the processing, but you're not going to make Linux calls directly to programs; you're always using Dalvik(Android virtual machine) with approximately 115 patches

Browser Engine

Android uses a WebKit library, the same library used by Google Chrome Browser, Safari, and iPhone by fast viewing HTML content.

Surface Manager

Android uses the Vista or Compiz-like composite window manager, but it is much more comfortable. Instead of directly drawing your drawing commands to the screen buffer, they are then combined with other bitmaps to create the display the user sees. These help the system generate new effects, such as see-through windows and stylish transitions.

Intent

Components are invoked using _______. It is used mainly to: Service start. Launching an activity View a web page View a list of contacts Broadcasting a message Call a phone

Android Runtime

Dalvik Virtual Machine, Core Libraries

Linux Kernel

Display Driver, Keypad Driver, Bluetooth Driver, USB Driver, Camera Driver, Wi-Fi Driver, Audio Drivers, Flash Memory Driver

Applications and Widgets

Home, Contacts, Browser, Widgets, Your App Here

View

It is a UI element like a button, label, text field. Anything you can see is a view.

Broadcast Receiver

It is a component that allows the system to deliver events outside of a regular user flow to the app, enabling the app to respond to system-wide broadcast advertising. As they are also a well-defined entry in the app, even applications currently cannot be delivered by the system. For example, an app may program an alarm to notify the user of an upcoming event; moreover, the app doesn't need to be running until the alarm disappears, by providing this alarm to the ________ of the app.

Service

It is a process that can run in the background for a long time. It is a general-purpose entry point for all kinds of reasons for keeping an app running in the background. The component is used to perform long term operations or remote process work in the background. Not a _________ provides a user interface. For instance, a service may play background music while the user is in a different app or retrieve data over the network without blocking user interaction with an activity. Another component, like an activity, can start _______ and let it run or bind to it to interact with the ________.

Content Provider

It is tempting to consider it as an abstraction of a database since many APIs and support are integrated for this common case. It is an entering point of a URI application for the publishing of named data items. It allows an app to decide how to map the data into a URI namespace, passing those URIs on to other entities that can access the data.

Content Provider

It manages shared applications that can be stored in the file system, the SQLite database, the website, or any other persistent storage site your application can access. Other apps can query or modify data through it if it permits them. For instance, it managing user contact data is provided in the Android system.

Level 3: Application Framework Layer

It offers many higher-level programming resources in the form of Java classes. System developers are permitted to make use of such facilities in their applications. Each layer provides high-level building blocks, is used to construct applications, comes pre-installed with Android. Android framework includes Android APIs, such as UIs and telecommunications, resources, locations, and package managers. Also, it includes content providers (data). It offers many classes and interfaces for the development of android applications.

Activities

It represents a single screen with a user interface, and in-short it performs actions on the screen. One example, an e-mail application may have an operation that involves a list of new e-mails, a separate e-mail operation, and a second reading activity. If an application has more than one operation, you can classify one as it identified at the application's start. It facilitates the following basic interaction between the system and the application:

Dalvik

It's Android Virtual Machine; you compile the application on a computer separately. You'll have what we call bytecode, but here bytecode is a little different; It is a Java Virtual Computer, designed for low memory use, and enables multiple VM instances to run at once, allowing the use of Linux Mode for protection and process isolation.

Level 1: Linux Kernel

It's the core of the Android architecture that exists at the root of the Android architecture. It is responsible for device control, power management, memory management, device management, and resource access.

Activities

Keep track of what the user cares about on the screen to ensure that the system keeps running the process that hosts the Activity. Knowing that previously used processes contain things that the user can revert to or stop activities and prioritize keeping those processes in place. Helping applications to stop their process so that the user can go back to activities with their previous state restored. Provide a way for applications to manage user flows between each other and for the system to coordinate these flows.

Activity Manager

Manages all facets of the life cycle and task stack applications.

Broadcast Receiver

Many __________ come from the system — for instance, it is a ___________ that indicates the screen is off, that the battery is low or that an image has been captured. Apps can also launch __________ - for instance, to let other applications know that some data has been downloaded and can be used. While they do not display a user interface, they may generate a user-alerting status bar notification if a broadcasting event occurs. However, it is more often than not a gateway to other components and is designed to work very little.

2D and 3D Graphics

OpenGL libraries, 2d and 3d components can be combined in a single user interface.

Application Framework

Package Manager, Telephony Manager, Resource, Location Manager, Sensor Manager

Resource Manager

Provides access to embedded non-code tools such as strings, color settings, and user interface layouts

Libraries

Surface Manager, Media Framework, SQLite, OpenGL | ES, Freetype

C/C++ compiler

These libraries are already written for particular hardware abstraction in ____________ and pre-installed by the seller; there are many critical native libraries

Intent

They are a key component of Android. It is a way to pass data between various parts of the application or, more specifically, various apps on the system.

Android Runtime

This level provides a key component called Dalvik Virtual Machine, a Java Virtual Machine designed especially and optimized for Android applications running on Android.

Libraries

WebKit, SGL, SSL, libc

Level 1: Linux Kernel

You can also use Linux to manage the processing and the powerful Linux kernel and a wide range of hardware drivers. It offers an abstraction level between the equipment and all the leading hardware drivers, such as a monitor, keyboard, display. The kernel also manages all that is genuinely perfect for Linux, including networking or a comprehensive set of system drivers that eliminate pain from interfaces to peripheral hardware.

Dalvik

________ is a Java Virtual Computer, designed for low memory use, and enables multiple VM instances to run at once, allowing the use of Linux Mode for protection and process isolation.

Mobile software modules

___________ support mobile device functioning. These software modules contain mainly the kernel and a set of libraries, which allow for the development of mobile applications and form part of the current implementation, application framework, and runtime.

Level 4: Application Layer

____________ in the architecture is the highest, and for users, the front end. In this layer are installed native applications developed using Android and third-party applications. Applications from this layer are executed using the runtime layer using framework layer classes and services. E-mails, addresses, calendar, camera, time, music, gallery, computer, SMS, alarm, home, and clocks are examples of this application.


Related study sets

Homeostasis and the Internal Environment

View Set

BIO 2700 (Evolution) Final Study Guide

View Set

Psychology Chapter 6, Chapter 7, Chapter 9,Chapter 10: Chapter 11Chapter 12...

View Set

Corporate Finance Final Exam Review

View Set

Choice of words (Analysis Non-Fictional Text)

View Set

Exam Prep 70-768 (Data Modeling)

View Set