SIDDHARTH INSTITUTE OF ENGINEERING & TECHNOLOGY:: PUTTUR
(AUTONOMOUS)
Siddharth Nagar, Narayanavanam Road – 517583
QUESTION BANK (DESCRIPTIVE)
Subject with Code: MOBILE APPLICATION DEVELOPMENT(20CS0540)
Course & Branch: B.Tech – CSE/CSM
Regulation: R20 Year & Sem: IV-B.Tech & I-Sem
UNIT –I
Introduction to Android
1 a Define Android. Create a android application to display “Hello World”. [L1,CO1] [6M]
Android OS is a Linux-based mobile operating system that primarily runs on
smartphones and tablets. The Android platform includes an operating system based
upon the Linux kernel, a GUI, a web browser and end-user applications that can be
downloaded.
Source File
package com.example.helloworld;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
Resource File
<resources>
<string name="app_name">HelloWorld</string>
<string name="hello_world">Hello world!</string>
<string name="menu_settings">Settings</string>
<string name="title_activity_main">MainActivity</string>
</resources>
b What is Dalvik Virtual Machine? [L1,CO1] [4M]
• Providing environment on which every Android application runs.
• Each Android application runs in its own process, with its own instance of
,Course Code: 20CS0540 R20
the Dalvik VM.
• Dalvik has been written such that a device can run multiple VMs
efficiently.
Register-based virtual machine
• Executing the Dalvik Executable (.dex) format which is optimized for
minimal memory footprint.
2 Briefly explain versions of Android and the features of Android. [L2,CO1] [10M]
S.No
Feature & Description
.
Beautiful UI
1 Android OS basic screen provides a beautiful and intuitive user
interface.
Connectivity
2 GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth, Wi-Fi,
LTE, NFC and WiMAX.
Storage
3 SQLite, a lightweight relational database, is used for data storage
purposes.
Media support
H.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC,
4
AAC 5.1, MP3, MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF, and
BMP.
Messaging
5
SMS and MMS
Web browser
6 Based on the open-source WebKit layout engine, coupled with
Chrome's V8 JavaScript engine supporting HTML5 and CSS3.
Multi-touch
7
Android has native support for multi-touch which was initially
,Course Code: 20CS0540 R20
made available in handsets such as the HTC Hero.
Multi-tasking
8 User can jump from one task to another and same time various
application can run simultaneously.
Resizable widgets
9 Widgets are resizable, so users can expand them to show more
content or shrink them to save space.
Multi-Language
10
Supports single direction and bi-directional text.
GCM
Google Cloud Messaging (GCM) is a service that lets developers
11
send short message data to their users on Android devices,
without needing a proprietary sync solution.
Wi-Fi Direct
12 A technology that lets apps discover and pair directly, over a
high-bandwidth peer-to-peer connection.
Android Beam
13 A popular NFC-based technology that lets users instantly share,
just by touching two NFC-enabled phones together.
Andriod Versions
Code name Version numbers Release date
No codename 1.0 September 23, 2008
No codename 1.1 February 9, 2009
Cupcake 1.5 April 27, 2009
Donut 1.6 September 15, 2009
Eclair 2.0 - 2.1 October 26, 2009
Froyo 2.2 - 2.2.3 May 20, 2010
Gingerbread 2.3 - 2.3.7 December 6, 2010
Honeycomb 3.0 - 3.2.6 February 22, 2011
Ice Cream Sandwich 4.0 - 4.0.4 October 18, 2011
Jelly Bean 4.1 - 4.3.1 July 9, 2012
KitKat 4.4 - 4.4.4 October 31, 2013
Lollipop 5.0 - 5.1.1 November 12, 2014
, Course Code: 20CS0540 R20
Marshmallow 6.0 - 6.0.1 October 5, 2015
Nougat 7.0 August 22, 2016
Nougat 7.1.0 - 7.1.2 October 4, 2016
Oreo 8.0 August 21, 2017
Oreo 8.1 December 5, 2017
Pie 9.0 August 6, 2018
Android 10 10.0 September 3, 2019
Android 11 11 September 8, 2020
3 What is Framework? Explain Android framework with figure. [L1,CO1] [10M]
Linux kernel
• It is the heart of android architecture that exists at the root of android
architecture.
Display Driver
It describes how the display driver functions and offers a functional template
designed to help you build your own device-specific driver
Camera Driver Android's camera hardware abstraction layer (HAL) connects
the higher-level camera framework APIs.
Flash memory Driver Android File Transfer lets you to read USB flash
drives as well as card readers from your phone or tablets.
Binder is an Android-specific inter-process communication mechanism, and