MAD Imporant Semester Questions

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

Mobile Application

Development
Important Questions For
Semester
What is Android Diagram of Android Eco System:
Android is a mobile operating system developed by Google
Google, based on the Linux kernel and designed
primarily for touch screen devices such as tablets, OEMs Consumers
smart phones.
Android
Features of Android
App Dev Freelancers
1) Open Source: Android is an open source Houses
operating system which means anyone can work
on the operating system, unlike iOS which is kept
secret by Apple Tools used for Application Development

2) Multitasking: Multitasking of application is 1) Android Studio


possible in android at ease. 2) ADB (Android Debug Bridge)
3) AVD Manager
3) Web Browser: The web browser available in 4) FlowUp
Android OS is based on the open source Web Kit 5) GameMaker: Studio
Layout engine.
Open Handset Alliance (OHA)

The Open Handset Alliance (OHA) is a business alliance that was created for the purpose of developing
mobile device standards. It is the world’s most popular smartphone platform. OHA has around 80
member companies such as Intel, Dell, Motorola, Qualcomm and Google, etc.

The main objective of Open Handset Alliance (OHA) is to shape the development of Android and
ensuring that it remains a leading platform for mobile devices.
Features of Android

1) Beautiful UI: Android OS basic screen provides a beautiful and intuitive user interface.

2) Messaging: SMS and MMS.

3) Video Calling: Video calling through google talk is now available within android.

4) Open Source: Android is an open source operating system which means anyone can work on the operating
system, unlike iOS which is kept secret by Apple.

5) Multitasking: Multitasking of application is possible in android at ease. User can jump from one task to
another and same time various application can run simultaneously.

6) Web Browser: The web browser available in Android OS is based on the open source Web Kit Layout
engine.

7) Multi - Language: Supports single direction and bi-directional text.


Android
Architecture
Home Contacts Camera
Applications: It is the top layer of android architecture. Applications
Gallery Clock Calendar

Application Framework: It provides several important


classes which are used to create an Android application. Activity Notification Package
Manger Manager Manager
Application
Android Runtime: It is one of the most important part of Framework Windows Content View System
Manger Providers
Android. It contains components like core libraries and the
Dalvik virtual machine(DVM).
Android Dalvik Virtual Zygote Core Libraries
Runtime Machine
Platform Libraries: The Platform Libraries includes various
C/C++ core libraries and Java based libraries such as Media, Platform
Media Graphics SQLite
Graphics, OpenGL, etc. Libraries
Open GL SSL Free Type

Linux Kernel: It is the heart of the android architecture. It


manages all the available drivers. Wi-Fi Driver Display Driver Audio Driver
Linux Kernel
USB Driver Camera Bluetooth
Driver Driver
Directory Structure and Its Components

The android project contains different types of app modules, source code files, and resource files.

A) Manifests Folder: This folder has the AndroidManifest.xml file inside. This file contains the configuration
parameters of the project such as permission, services and additional libraries.

B) Java Folder: The source code file written in java programming language resides in this folder. You can see
that the java file of the activity name Main Activity by java is automatically created in this folder.

C) res (Resource) Folder: The resource folder is the most important folder as it contains all the non-code
sources like images, XML layouts and UI strings for our android application.

D) res/drawable Folder: It contains the different type of images used for the development of the application.
We need to all the images in drawable folder for the application development.

E) res/Layout Folder: It contains all the XML layout files which we used to define the user interface of our
application. It contains the activity_main.xml file.
Layout in Android UI design

1) Linear Layout: It is a view group that aligns all children in either vertical or horizontal position. Basically it
allows the user to arrange the components horizontally in a single column or vertically in a single row.

2) Absolute Layout: It allows us to specify the exact location of the child views and widgets.

3) Frame Layout: It is designed to block out an area on the screen to display a single item.

4) Table Layout: It is used to arrange all the children elements in rows and columns. It is used to show the data
in either rows or columns like a table.

5) Relative Layout: It is a view group that displays child views in relative positions.
A) TextView: It is used to display text to the user and allows them to edit it.

 android:id – This is the ID which uniquely identifies the control.

 android:text – It is used to display text

 android:textColor – It is used to change the colour of the text

 android:textSize – It is used to increase or decrease the size of the text.

B) ImageView: In android, ImageView class is used to display an image file in application.

C) ScrollBar: View: Scroll View supports vertical scrolling only. For horizontal scrolling, use
HorizontalScrollView instead

D) ListView: Android List View is a view which groups several items and display them in vertical scrollable list.

E) GridView: Android Grid View shows items in two dimensional scrolling grid (rows and columns) and the
grid items are not necessarily predetermined but they automatically inserted to the layout using a List Adapter.
EditText: It is an overlay over TextView that configures itself to be editable. It is the predefined subclass of
TextView that includes rich editing capabilities

ImageButton control: An ImageButton is an AbsoluteLayout which enables you to specify the exact location of its
children. Basically it is a button which has a image on it and when clicked it redirects you to a particular page.

ToggleButton: A ToggleButton displays checked / unchecked states as a button. It is basically an on / off button
with a light indicator.

RadioButton: A RadioButton has two states either checked or unchecked. This allows the user to select one option
from a set.

CheckBox Control: A CheckBox is an on/off switch that can be toggled by the user.

ProgressBar: A ProgressBar is basically a graphic representation of loading

TimePicker: In Android, TimePicker is a widget used for selecting the time of the day in either AM / PM mode or
24 hours mode. The displayed time consist of hours, minutes and clock format.
Buttons
Image Button: It is a button which is represented by an image (instead of text) that can be pressed or clicked by
the user.

Toggle Button: It is an On/Off button with a light indicator which indicates the current state of the button
whether it is on or off.

Radio Button: It has two states either checked or unchecked. This allows the user to select one option from a
set.

Check Box Button: It lets the user select one or more options from a set. Mostly the checkbox options in a
vertical list.

Progress Bar: A Progress Bar is used to show the progress of an operation. It is a Visual Indicator of progress in
a number of operation.

You might also like