MAD 2 - Lesson 1

Ace your homework & exams now with Quizwiz!

●Creating the Broadcast Receiver. ●Registering Broadcast Receiver.

(system broadcasted intent) There are two steps to make BroadcastReceiver works, these are:

Application layer

In this layer are installed native applications developed using Android and third-party applications

Linux Kernel

It helps in software or hardware binding for better communication

Implicit Intent

It is used to ask the Android system which activity can handle the user request. If you want to allow your user to choose the component they want to launch, you should use the

Checkbox

It is usually used in some type of form such as registration form, login form, exam, and quizzes. You can use this if the user can choose one or more answers based on the question.

Android Architecture

Multiple software modules support mobile device functioning

Application Framework

Provide several important classes which are used to create an android application

Linux Kernel

Provides functionalities such as power, memory, device management, and security.

Libraries

Provides support for android application development

Runtime permissions

also known as dangerous permissions, give your app additional access to restricted data, and they allow your app to perform restricted actions that more substantially affect the system and other apps

Service

an application component that can perform long-running operations in the background. It does not provide a user interface.

AndroidManifest.xml

an important part of our app because it defines the structure and metadata of our application, its components, and its requirements

SQLite

an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.

Intent

an object used to pass on the data or request another component such as an activity, service or broadcast.

bound

bound when an application component binds to it by calling bindService()

colors.xml

contains color resources of the Android application.

styles.xml

contains resources of the theme style in the Android application. This file is written in XML language.

strings.xml

contains string resources of the Android application. This file also stores string array by using XML language.

mipmap

contains the Image Asset file that can be used in Android Studio application. You can generate the following icon types like Launcher icons, Action bar and tab icons, and Notification icons

Java

contains the Java source code files. These files are used as a controller for controlled UI (Layout file). It gets the data from the Layout file and after processing that data output will be shown in the UI layout. It works on the backend of an Android application.

Status Bar

displays messages that give information such as code errors, warnings, successful status.

toast

gives straightforward feedback message about an operation in a little popup. It only fills the amount of space required for the message and the current activity remains visible and interactive.

Activity Manager

handles application life cycle and common navigation stack.

Content provider

handles inter-application data sharing.

Telephony manager

handles the state of telephony services.

Windows manager

handles top -level window's look and behavior.

View system

handles views like lists, grids, text boxes, buttons etc.

permissions

help support user privacy by protecting access to Restricted data and Restricted actions

Application layer

in the architecture is the highest, and for users, the front end.

Dalvik

is a Java Virtual Computer, designed for low memory use, and enables multiple VM instances to run at once.

Table layout

is a layout that you can arrange into rows and columns, and it consists of a number of table rows and column objects.

Spinner

is a view that let the user pick among the listed item inside this child. In other programs, they call this a drop-down box.

Ad view

is a view that you can set and display a banner and ads in your application.

Map view

is a view that you can set and display a map in your application, and it obtains data from google maps.

event listener

is an interface in the View class that contains a single callback method. These methods will be called by the Android framework when the View to which the listener has been registered is triggered by user interaction with the item in the UI.

Activity

is basically a page or a form. It has its own life. It passes through various stages

Application Framework

is the toolkit that all the application use.

Button

is used to perform an action every time the user clicks it.

Recycler view

it is a flexible and combination of ListView and GridView

Plain Text

it is a simple edit text that you can input and edit a different type of Text that the application requires.

Text View

it is a user interface that is utilized to set and show the Text or content depending on the user's needs.

foreground service

performs some operation that is noticeable to the user.

Back Stack

the previous activity will be stopped by the system temporarily and places it in a stack called

Install-time permissions

the system automatically grants your app the permissions when the user installs your app

Image button

this button displays the image instead of Text, and it performs an action. This is usually used in product selling applications.

Constraint layout

this is a layout that allows the programmer to size and position widgets in a flexible user interface.

Calendar view

this widget allows you to display and select a date from the calendar view

Application layer

Applications from this layer are executed using the runtime layer using framework layer classes and services.

callback method

Each stage of the activity lifecycle has a corresponding method associated with it

Android Architecture

Software stack of components to support mobile device needs

Explicit Intent

These are used to call a specific component using a valid class name. This type of intent is commonly used when you know which component you want to launch.

Android Runtime

This level provides a key component called Dalvik Virtual Machine

Dalvik Virtual Machine

Virtual machine designed and optimized for Android to ensure that a device can run multiple instances efficiently

Java class file

containing Java bytecode that can be executed on the Java Virtual Machine (JVM).

Special permissions

correspond to particular app operations. Only the platform and OEMs can define

layout

defines the visual structure for a user interface, such as the UI for an Android application.

Image view

displays an image/pictures, ex. Bitmap, png, drawables, etc., this is to add a user interface more exciting

drawable

folder contains resource type file (something that can be drawn). It may take a variety of file like Bitmap (PNG, JPEG), Nine Patch, Vector (XML), Shape, Layers, States, Levels, and Scale.

Install-time permissions

give your app limited access to restricted data, and they allow your app to perform restricted actions that minimally affect the system or other apps.

Menu Bar

located at the very top the user can find the File Menu option that contains various menus and settings related to file and project handlings

Package manager

manages application package.

Toggle button

or simply called a switch, it is a button that allows you to control and change settings between two different states

background service

performs an operation that isn't directly noticed by the user.

View/ child

responsible for event handling and creating an interactive user interface

bound

service offers a client-server interface that allows components to interact with the service, send requests, receive results, and even do so across processes with inter-process communication (IPC)

Project Tool Window

shows a hierarchical view of the files and folders of the project.

Editor Window

shows the content of the file that the user is currently working on.

Tool Bar

shows the tools and actions that are frequently used by the user

Broadcast Receivers

simply respond to broadcast messages from other applications or from the system itself. These messages are sometime called events or intents.

Restricted actions

such as connecting to a paired device and recording audio.

Restricted data

such as system state and a user's contact information.

Scroll view

this allows the view place within it to be scrolled. You can place only one direct child inside this view.

Linear layout

this layout arranges views into a single row vertically and single columns in a horizontal way.

Web view

allows you to display the content of a website inside your application.

Button

This contains a text view inside it to inform the user on what is the function of this

build.gradle(Module:app)

This defines the module-specific build configurations. Here you can add dependencies what you need in your Android application

Dalvik Virtual Machine

a Java Virtual Machine (JVM) designed especially and optimized for Android applications running on Android. Makes use of the core features of Linux.

View

a building block that represents the user interface of your application, and it occupies a rectangular area in the application

inter-process communication (IPC)

a component can bind to a service to interact with it and even perform

Activity

a component of an application that provides you an interface to communicate with the device.

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

Location manager

access the system location manager

Navigation Bar

allows the user to easily navigate and move around the files and folders of the project

Radio button

allows the user to select one option. Usually, this button is used to determine a single answer from the list of choices.

Checkbox

allows the user to select one or more options

Frame layout

allows you to block a single area and display an item in the front of the screen.

Video view

allows you to display a video file from your application.


Related study sets

The concept of Managing Care & Exemplars

View Set

National Board Review Darby Ch. 20 Community Oral Health

View Set

Chapter 10: Globalization and the Future of Media

View Set

Social Studies 30-1 »» Unit 3 Test

View Set

BUSINESS ORGANIZATIONS: PARTNERSHIPS

View Set