SlideShare a Scribd company logo
DEPARTMENT OF INFORMATION TECHNOLOGY
LABORATORY MANUAL CUM OBSERVATION AND RECORD
CS8662 – MOBILE APPLICATION DEVELOPMENT
LABORATORY
(Regulation 2017)
2019 - 2020 EVEN
NAME : __________________________________________
REGISTER NUMBER : ________________ ROLL NO : ___________
BRANCH : INFORMATION TECHNOLOGY
YEAR / SEMESTER : 3rd
YEAR / 6th
SEMESTER
Bonafide Record of work done in the CS8662 – Mobile Application
Development Laboratory of Kamaraj College of Engineering and
Technology, Madurai, during the year 2019 – 2020 EVEN.
Staff In-charge Head of the Department
Submitted for the Practical Examination held on _______________ at
Kamaraj College of Engineering and Technology, Madurai.
Internal Examiner External Examiner
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
1 | P a g e
VISION OF THE INSTITUTE
TO MAKE THE INSTITUTION UNIQUE OF ITS KIND IN THE FIELD OF RESEARCH
AND DEVELOPMENT ACTIVITIES IN THIS PART OF THE WORLD
MISSION OF THE INSTITUTE
TO IMPART HIGHLY INNOVATIVE AND TECHNICAL KNOWLEDGE TO THE
URBAN AND RURAL STUDENT FOLKS THROUGH “TOTAL
QUALITY EDUCATION”
VISION OF THE DEPARTMENT
TO MAKE THE DEPARTMENT OF INFORMATION TECHNOLOGY THE
UNIQUE OF ITS KIND IN THE FIELD OF RESEARCH AND DEVELOPMENT
ACTIVITIES IN THIS PART OF WORLD
MISSION OF THE DEPARTMENT
TO IMPART HIGHLY INNOVATIVE AND TECHNICAL KNOWLEDGE IN THE
FIELD OF INFORMATION TECHNOLOGY TO THE URBAN AND
UNREACHABLE RURAL STUDENT FOLKS THROUGH TOTAL QUALITY
EDUCATION
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
2 | P a g e
PROGRAM EDUCATION OBJECTIVES [PEOs]
1. Graduates of the programme will exhibit expertise in technical knowledge by applying
distinctive skills in various fields of Information Technology
2. Graduates will become pioneers in the field of Information Technology by working
collaboratively and providing solutions to meet societal needs through persistent learning
3. Graduates will be able to adopt innovative practices and contribute towards research and
technological development in the field of Information Technology through Total Quality
Education
PROGRAM OUTCOMES (POs)
Engineering Graduates will be able to:
1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
2. Problem analysis: Identify, formulate, review research literature, and analyse complex
engineering problems reaching substantiated conclusions using first principles of mathematics,
natural sciences, and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and
design system components or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and environmental
considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and research
methods including design of experiments, analysis and interpretation of data, and synthesis of
the information to provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modelling to complex engineering activities
with an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to
the professional engineering practice.
7. Environment and sustainability: Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of, and need
for sustainable development.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
3 | P a g e
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader
in diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and write
effective reports and design documentation, make effective presentations, and give and receive
clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
PROGRAM SPECIFIC OUTCOMES (PSOs)
Engineering Graduates will be able to:
1. Design an algorithm, process or component to address its real time needs in the field of
Information Technology through analytical skills.
2. Ability to adopt the evolutionary changes in computing and pursue a career in IT and IT
enabled industries.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
4 | P a g e
SYLLABUS
CS8662 MOBILE APPLICATION DEVELOPMENT LABORATORY L T P C
0 0 4 2
OBJECTIVES:
 To understand the components and structure of mobile application development frameworks
for Android and windows OS based mobiles.
 To understand how to work with various mobile application development frameworks.
 To learn the basic and important design concepts and issues of development of mobile
applications.
 To understand the capabilities and limitations of mobile devices.
LIST OF EXPERIMENTS
1. Develop an application that uses GUI components, Font and Colours
2. Develop an application that uses Layout Managers and event listeners.
3. Write an application that draws basic graphical primitives on the screen.
4. Develop an application that makes use of databases.
5. Develop an application that makes use of Notification Manager
6. Implement an application that uses Multi-threading
7. Develop a native application that uses GPS location information
8. Implement an application that writes data to the SD card.
9. Implement an application that creates an alert upon receiving a message
10. Write a mobile application that makes use of RSS feed
11. Develop a mobile application to send an email.
12. Develop a Mobile application for simple needs (Mini Project)
TOTAL: 60 PERIODS
OUTCOMES:
Upon Completion of the course, the students will be able to:
 Develop mobile applications using GUI and Layouts.
 Develop mobile applications using Event Listener.
 Develop mobile applications using Databases.
 Develop mobile applications using RSS Feed, Internal/External Storage, SMS, Multi-threading
and GPS.
 Analyze and discover own mobile app for simple needs.
REFERENCES:
1. Build Your Own Security Lab, Michael Gregg, Wiley India
LIST OF EQUIPMENT FOR A BATCH OF 30 STUDENTS
Standalone desktops with Windows or Android or iOS or Equivalent Mobile Application Development
Tools with appropriate emulators and debuggers - 30 Nos.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
5 | P a g e
LIST OF EXPERIMENTS
1. Develop an application that uses GUI components, Font and Colours
2. Develop an application that uses Layout Managers and event listeners.
3. Write an application that draws basic graphical primitives on the screen.
4. Develop an application that makes use of databases.
5. Develop an application that makes use of Notification Manager
6. Implement an application that uses Multi-threading
7. Develop a native application that uses GPS location information
8. Implement an application that writes data to the SD card.
9. Implement an application that creates an alert upon receiving a message
10. Write a mobile application that makes use of RSS feed
11. Develop a mobile application to send an email.
12. Develop a Mobile application for simple needs (Mini Project)
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
6 | P a g e
COURSE OUTCOME AND PROGRAM OUTCOME MAPPING
Course Outcomes (COs):
Course
No.
Course Outcome
(Student should be able to)
K/ Bloom’s
Taxonomy
Level
R17C322.1
Build various mobile applications related to GUI components, Font and
Colours using Layout managers and Event Listeners
K3 - Apply
R17C322.2 Make use of database concepts for data related mobile applications K3 - Apply
R17C322.3
Develop mobile applications using Internal & External Storage, SMS
Notification, Multithreading, and GPS.
K3 - Apply
R17C322.4
Model the mobile application using RSS Feed, Alert upon receiving a
message and send an E-Mail
K3 - Apply
R17C322.5 Develop Mobile App for simple real time needs K3 - Apply
Mapping of Course Outcomes with POs and PSOs:
Course
Outcomes
Program outcomes
Program
Specific
outcomes
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
R17C322.1 L - L - M - - - L - - L L L
R17C322.2 L - L - M - - - L - - L L L
R17C322.3 L - L - M - - - L - - L L L
R17C322.4 L - L - M - - - L - - L L L
R17C322.5 M M M L M M - - M L - M M M
R17C322 L M L L M M - - L L - L L L
Correlation Levels: L: Slight M: Moderate H: Substantial
Target Value = 80% of Marks
Internal Assessment
S. No. Assessment Tool ( Rubrics) Percentage of Contribution (%)
1 Laboratory Work 75
2 Model Exam 25
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
7 | P a g e
INDEX
Ex.
No.
Date Application Name Page No. Marks Signature
1 GUI components, Font and Colours
2 Layout Managers and Event Listeners
3 Graphical Primitives
4 Persistent Data Storage
5 Notification Manager
6 GPS location
7 Multithreading
8 SD Card Manager
9 Alert upon Receiving Message
10 RSS Feed
11 E-Mail Notification
12 Mini Project
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
8 | P a g e
RUBRICS FOR ASSESSMENT
Category
Marks
allotted
Code Logic
[Viva]
Explains
the basic
concept and
logic of the
code
correctly
[25]
Explains the
logic and
basic concept
correctly but
lacks in
presenting it
[22]
Explains the
basic concept
correctly but
lacks in
understanding
the logic
[19]
Explains the
basic concept
but fails to
give detail
description
[16]
Explanation
of basic
concepts and
logic is not
more
appropriate
[13]
25
Layout
Design
Clear &
Appropriate
features
[25]
Appropriate
features [20]
Clear & Less
features [15]
Less features
[10]
No proper
layout design
[5]
25
Code
Design
Code that
satisfies the
entire logic
[25]
Code
deigned with
some syntax
errors [20]
Code designed
with some logic
mistakes [15]
Code designed
with wrong
logic [10]
Wrong logic
& no
programming
structure [5]
25
Record
Submission
Submission
on date [25]
1 day delay
[22]
2 days delay
[19]
3 days delay
[16]
4 days delay
[13]
25
Total: 100 Marks
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
9 | P a g e
CO ATTAINMENT - INTERNAL ASSESSMENT
Laboratory Mark
Ex.
No.
Exercises COs
CodeLogic[25]
[Viva]
LayoutDesign
[25]
CodeDesign[25]
Record
Submission[25]
Total[100]
Marksobtained
forCOs(100)
TargetAttained
(Y/N)
1
GUI components, Font
and Colours
R17C322.12
Layout Managers and
Event Listeners
3 Graphical Primitives
4 Persistent Data Storage R17C322.2
5 Notification Manager
R17C322.3
6 GPS location
7 Multithreading
8 SD Card Manager
9
Alert upon Receiving
Message
R17C322.410 RSS Feed
11 E-Mail Notification
12 Mini Project R17C322.5
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
10 | P a g e
Model Exam
Q.No CO Number
Marks Total
Mark(100)
CO Attained?
[Y/N]Allotted Obtained
1.
2.
Internal Assessment = 75% of Laboratory Mark + 25% of Model Exam Mark
Internal
Assessment
Laboratory Mark
(75%)
Model Exam
(25%)
Total Mark
(100)
Target
Attained?
[Y/N]
Marks
Note:
If CO Attainment,
Y = Laboratory Mark (%) >= Target Value (%)
N = Laboratory Mark (%) < Target Value (%)
Action Plan:
If CO not attained,
For Regular Laboratory Session & Model Exam:
CO
Number
Reason for not
Attaining COs
Remedial Action
Plan
Remarks Signature
Staff In-Charge
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
1 | P a g e
INTRODUCTION
Android is a Linux based operating system it is designed primarily for touch screen
mobile devices such as smart phones and tablet computers. The android is a powerful
operating system and it supports large number of applications in Smartphones. These
applications are more comfortable and advanced for the users. The hardware that supports
android software is based on ARM architecture platform.
The android is an open source operating system. The android has got millions of apps
available that can help you managing your life one or other way and it is available low cost in
market at that reasons android is very popular.
The android development supports with the full java programming language. Even
other packages that are API and JSE are not supported. The first version 1.0 of android
development kit (SDK) was released in 2008
ANDROID ARCHITECTURE
The android is an operating system and is a stack of software components which is divided
into five sections and four main layers that is
 Linux kernel
 Libraries
 Android runtime
LINUX KERNEL
The android uses the powerful Linux kernel and it supports wide range of hardware drivers.
The kernel is the heart of the operating system that manages input and output requests from
software. This provides basic system functionalities like process management, memory
management; device management like camera, keypad, and display etc., the kernel handles
all the things. The Linux is really good at networking and it is not necessary to interface it to
the peripheral hardware. The kernel itself does not interact directly with the user but rather
interacts with the shell and other programs as well as with the hard ware devices on the
system.
INTRODUCTION TO ANDROID OS
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
2 | P a g e
LIBRARIES
On top of a Linux kennel there is a set of libraries including open source web browser such as
webkit, library libc. These libraries are used to play and record audio and video. The SQLite
is a data base which is useful for storage and sharing of application data. The SSL libraries
are responsible for internet security etc.
ANDROID RUNTIME
The android runtime provides a key component called Dalvik Virtual Machine which is a
kind of java virtual machine. It is specially designed and optimized for android. The Dalvik
VM is the process virtual machine in the android operating system. It is software that runs
apps on android devices.
The Dalvik VM makes use of Linux core features like memory management and
multithreading which is in a java language. The Dalvik VM enables every android application
to run its own process. The Dalvik VM executes the files in the .dex format.
APPLICATION FRAME WORK
The application frame work layer provides many higher level services to applications such as
windows manager, view system, package manager, resource manager etc. The application
developers are allowed to make use of these services in their application.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
3 | P a g e
APPLICATIONS AND FEATURES
The android applications are at the top layer and we will write our application and install on
this layer. Example of such applications is contacts, books, browsers, services etc.
FEATURES
 Head set layout
 Storage
 Connectivity: GSM/EDGE, IDEN, CDMA, Bluetooth, WI-FI, EDGE,3G,NFC, LTE,GPS.
 Messaging: SMS, MMS, C2DM (could to device messaging), GCM (Google could
messaging)
 Multilanguage support
 Multi touch
 Video calling
 Screen capture
 External storage
 Streaming media support
 Optimized graphics
ANDROID VERSIONS
 Android 1.5: Android Cupcake
 Android 1.6: Android Donut
 Android 2.0: Android Eclair
 Android 2.2: Android Froyo
 Android 2.3: Android Gingerbread
 Android 3.0: Android Honeycomb
 Android 4.0: Android Ice Cream Sandwich
 Android 4.1 to 4.3.1: Android Jelly Bean
 Android 4.4 to 4.4.4: Android KitKat
 Android 5.0 to 5.1.1: Android Lollipop
 Android 6.0 to 6.0.1: Android Marshmallow
 Android 7.0 to 7.1: Android Nougat
 Android 8.0 to Android 8.1: Android Oreo
 Android 9.0: Android Pie
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
4 | P a g e
Android Studio is the official integrated development environment (IDE)
for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and
designed specifically for Android development. It is available for download
on Windows, macOS and Linux based operating systems. It is a replacement for the Eclipse
Android Development Tools (ADT) as the primary IDE for native Android application
development.
Android Studio was announced on May 16, 2013 at the Google I/O conference. It was
in early access preview stage starting from version 0.1 in May 2013, then entered beta stage
starting from version 0.8 which was released in June 2014. The first stable build was released
in December 2014, starting from version 1.0.
Since May 7, 2019, Kotlin is Google’s preferred language for Android app
development. Still, other programming languages are supported by Android Studio, such as
Java and C++.
FEATURES
 Gradle-based build support
 Android-specific refactoring and quick fixes
 Lint tools to catch performance, usability, version compatibility and other problems
 ProGuard integration and app-signing capabilities
 Template-based wizards to create common Android designs and components
 A rich layout editor that allows users to drag-and-drop UI components, option
to preview layouts on multiple screen configurations[17]
 Support for building Android Wear apps
 Built-in support for Google Cloud Platform, enabling integration with Firebase Cloud
Messaging (Earlier 'Google Cloud Messaging') and Google App Engine[18]
 Android Virtual Device (Emulator) to run and debug apps in the Android studio.
INTRODUCTION TO ANDROID STUDIO
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
5 | P a g e
PROCEDURE
Creating a New Project
 Open Android Stdio and then click on File -> New -> New project.
 Then type the Application name as “ex.no.1″ and click Next.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
6 | P a g e
 Then select the Minimum SDK as shown below and click Next.
 Then select the Empty Activity and click Next.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
7 | P a g e
 Finally click Finish.
 It will take some time to build and load the project.
 After completion it will look as given below.
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
8 | P a g e
AIM
To develop a Simple Android Application that uses GUI components, Font and
Colours.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open res directory -> layout -> activity_main.xml and add the code.
Step 4: Open java -> MainActivity.java and add the code.
Step 5: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
Ex. No: 1 GUI Components, Font and Colours Pg. No:
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
9 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
10 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
11 | P a g e
Ex. No: 2 Layout Managers & Event Listeners Pg. No:
AIM
To develop a Simple Android Application that uses Layout Managers and Event
Listeners.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open res directory -> layout -> activity_main.xml and add the code.
Step 4: Open java -> MainActivity.java and add the code.
Step 5: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
12 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
13 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
14 | P a g e
Ex. No: 3 Graphical Primitives Pg. No:
AIM
To develop a Simple Android Application that draws basic Graphical Primitives on
the screen.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components (ImageView) to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open java -> MainActivity.java and add the code.
Step 4: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
15 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
16 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
17 | P a g e
Ex. No: 4 Persistent Data Storage Pg. No:
AIM
To develop a Simple Android Application that makes use of Database.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Create two resource files (*.xml) and two activity files (*.java) named activity_ main
.xml & activity_main2.xml and MainActivity.java & Main2Activity.java.
Step 3: Open res directory -> layout -> activity_main.xml -> Click -> Design button at
bottom of the Android Studio. Put the necessary components for both resource files
(activity_main.xml, activity_main2.xml).
Step 4: Design (After the design part, the xml code will be generated automatically in the
layout file).
Step 5: Open Java ->MainActivity.java & MainActivity2.java and add the code.
Step 6: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
18 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
19 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
20 | P a g e
Ex. No: 5 Notification Manager Pg. No:
AIM
To develop a Simple Android Application that makes use of Notification Manager.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open Java ->MainActivity.java and add the code.
Step 4: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
21 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
22 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
23 | P a g e
Ex. No: 6 Multithreading Pg. No:
AIM
To develop an Android Application that implements Multithreading.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open your Android studio project folder (e.g. Project name: Multithreading)
-> Click app -> src -> main -> res -> drawable -> add *.png file.
Step 4: Open Java ->MainActivity.java and add the code.
Step 5: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
24 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
25 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
26 | P a g e
Ex. No: 7 GPS Location Pg. No:
AIM
To develop an Android application that uses GPS location information.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Create two resource files (*.xml) and two activity files (*.java) named activity_ main
.xml & activity_main2.xml and MainActivity.java & Main2Activity.java.
Step 3: Open res directory -> layout -> activity_main.xml -> Click -> Design button at
bottom of the Android Studio. Put the necessary components for both resource files
(activity_main.xml, activity_main2.xml).
Step 4: Design (After the design part, the xml code will be generated automatically in the
layout file).
Step 5: Open AndroidManifest.xml and add the code to provide access permission.
Step 6: Open Java ->MainActivity.java & MainActivity2.java and add the code.
Step 7: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
27 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
28 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
29 | P a g e
Ex. No: 8 SD Card Manager Pg. No:
AIM
To develop an Android Application that writes data to the SD Card.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open AndroidManifest.xml and add the code to provide access permission.
Step 4: Open Java ->MainActivity.java and add the code.
Step 5: Connect the Android Mobile, run the project and the output will be displayed in
Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
30 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
31 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
32 | P a g e
Ex. No: 9 Alert upon Receiving Message Pg. No:
AIM
To develop an Android Application that creates an alert upon receiving a message.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 4: Open Java ->MainActivity.java and add the code.
Step 5: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
33 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
34 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
35 | P a g e
Ex. No: 10 RSS Feed Pg. No:
AIM
To develop an Android Application that makes use of RSS Feed.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open AndroidManifest.xml and add the code to provide access permission.
Step 4: Open Java ->MainActivity.java and add the code.
Step 5: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
36 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
37 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
38 | P a g e
Ex. No: 11 E-Mail Notification Pg. No:
AIM
To develop an Android Application to send an Email.
PROCEDURE
Step 1: Create an android project using android studio.
Step 2: Design
2.1. Open the actual Project folder (app) in Android Studio IDE.
2.2. Click res directory -> layout -> activity_main.xml -> Design.
2.3. Insert the GUI components to Design view in activity_main.xml.
2.4. Enter the id for each component.
Step 3: Open AndroidManifest.xml and add the code to provide access permission.
Step 4: Open res/values/styles.xml and add the code.
Step 5: Open Java ->MainActivity.java and add the code.
Step 6: Run the project and the output will be displayed in Emulator.
LAYOUT DESIGN
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
39 | P a g e
SAMPLE OUTPUT
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
40 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
41 | P a g e
CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN)
42 | P a g e

More Related Content

PDF
IT6611 Mobile Application Development Lab Manual
PPTX
Android simple calculator
PPTX
Android application-component
PDF
Big Data: Technical Introduction to BigSheets for InfoSphere BigInsights
PDF
IoT and m2m
PPTX
IEEE 802.11 Architecture and Services
PPT
Packet tracer
PPTX
Full Stack Web Development
IT6611 Mobile Application Development Lab Manual
Android simple calculator
Android application-component
Big Data: Technical Introduction to BigSheets for InfoSphere BigInsights
IoT and m2m
IEEE 802.11 Architecture and Services
Packet tracer
Full Stack Web Development

What's hot (20)

PDF
Android College Application Project Report
PDF
AndroidManifest
PPTX
MANET in Mobile Computing
PPTX
IOT and Characteristics of IOT
PPTX
Handheld operting system
PPTX
4. Internet of Things - Reference Model and Architecture
PPT
Vb introduction.
PPTX
Introduction To Mobile Application Development
PDF
Iot lab manual new
PDF
android app development training report
PPTX
Cellular wireless network security
PPTX
Physical design of io t
PPTX
Android User Interface
PPTX
Metrics for project size estimation
PPTX
IP addressing seminar ppt
PPTX
Chat Application
PPTX
IT6601 MOBILE COMPUTING UNIT1
PPTX
software cost factor
PPTX
Content provider in_android
DOCX
Industrial Training report on java
Android College Application Project Report
AndroidManifest
MANET in Mobile Computing
IOT and Characteristics of IOT
Handheld operting system
4. Internet of Things - Reference Model and Architecture
Vb introduction.
Introduction To Mobile Application Development
Iot lab manual new
android app development training report
Cellular wireless network security
Physical design of io t
Android User Interface
Metrics for project size estimation
IP addressing seminar ppt
Chat Application
IT6601 MOBILE COMPUTING UNIT1
software cost factor
Content provider in_android
Industrial Training report on java
Ad

Similar to CS8662 Mobile Application Development Lab Manual (20)

PDF
4351604.pdf
DOCX
Cs8383 oop lab manual-2019
PDF
SE LAB MANUAL (R16).pdf
PPTX
Capstone2-First-Day for 40 characters.pptx
DOCX
CS8662.1.docx object oriented software engineering
PDF
CS19611-Mobile Computing syllabus.pdf
PDF
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
PDF
Project overview mobile apps
PDF
V SEM MCA R9 REG JAN 2012
PDF
CS8383 Object Oriented Programming Laboratory Manual
PDF
Android project report learning np complete
PDF
Application development for mobile phones
PPTX
Android Architecture, Environment, and Components.pptx
PDF
V SEM MCA REG RESULT OCT 2012
PDF
Campus portal for wireless devices srs
DOCX
object oriented software engineering question paper.docx
DOC
It6611 mobile application development laboratory l t p c0 0 3 2
PDF
Campus portal for wireless devices
PDF
vtu data structures lab manual bcs304 pdf
PPTX
5 applications bb
4351604.pdf
Cs8383 oop lab manual-2019
SE LAB MANUAL (R16).pdf
Capstone2-First-Day for 40 characters.pptx
CS8662.1.docx object oriented software engineering
CS19611-Mobile Computing syllabus.pdf
SDL-LAB-MANUAL-CS606-common-for-all-the-faculties.pdf
Project overview mobile apps
V SEM MCA R9 REG JAN 2012
CS8383 Object Oriented Programming Laboratory Manual
Android project report learning np complete
Application development for mobile phones
Android Architecture, Environment, and Components.pptx
V SEM MCA REG RESULT OCT 2012
Campus portal for wireless devices srs
object oriented software engineering question paper.docx
It6611 mobile application development laboratory l t p c0 0 3 2
Campus portal for wireless devices
vtu data structures lab manual bcs304 pdf
5 applications bb
Ad

More from pkaviya (20)

PDF
IT2255 Web Essentials - Unit V Servlets and Database Connectivity
PDF
IT2255 Web Essentials - Unit IV Server-Side Processing and Scripting - PHP.pdf
PDF
IT2255 Web Essentials - Unit III Client-Side Processing and Scripting
PDF
IT2255 Web Essentials - Unit II Web Designing
PDF
IT2255 Web Essentials - Unit I Website Basics
PDF
BT2252 - ETBT - UNIT 3 - Enzyme Immobilization.pdf
PDF
OIT552 Cloud Computing Material
PDF
OIT552 Cloud Computing - Question Bank
PDF
CS8791 Cloud Computing - Question Bank
PDF
CS8592 Object Oriented Analysis & Design - UNIT V
PDF
CS8592 Object Oriented Analysis & Design - UNIT IV
PDF
CS8592 Object Oriented Analysis & Design - UNIT III
PDF
CS8592 Object Oriented Analysis & Design - UNIT II
PDF
CS8592 Object Oriented Analysis & Design - UNIT I
PDF
Cs8591 Computer Networks - UNIT V
PDF
CS8591 Computer Networks - Unit IV
PDF
CS8591 Computer Networks - Unit III
PDF
CS8591 Computer Networks - Unit II
PDF
CS8591 Computer Networks - Unit I
PDF
IT8602 Mobile Communication - Unit V
IT2255 Web Essentials - Unit V Servlets and Database Connectivity
IT2255 Web Essentials - Unit IV Server-Side Processing and Scripting - PHP.pdf
IT2255 Web Essentials - Unit III Client-Side Processing and Scripting
IT2255 Web Essentials - Unit II Web Designing
IT2255 Web Essentials - Unit I Website Basics
BT2252 - ETBT - UNIT 3 - Enzyme Immobilization.pdf
OIT552 Cloud Computing Material
OIT552 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
CS8592 Object Oriented Analysis & Design - UNIT V
CS8592 Object Oriented Analysis & Design - UNIT IV
CS8592 Object Oriented Analysis & Design - UNIT III
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT I
Cs8591 Computer Networks - UNIT V
CS8591 Computer Networks - Unit IV
CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit II
CS8591 Computer Networks - Unit I
IT8602 Mobile Communication - Unit V

Recently uploaded (20)

PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPT
Project quality management in manufacturing
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
OOP with Java - Java Introduction (Basics)
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
web development for engineering and engineering
PPTX
Welding lecture in detail for understanding
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Project quality management in manufacturing
Strings in CPP - Strings in C++ are sequences of characters used to store and...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Geodesy 1.pptx...............................................
OOP with Java - Java Introduction (Basics)
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
web development for engineering and engineering
Welding lecture in detail for understanding
Arduino robotics embedded978-1-4302-3184-4.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Model Code of Practice - Construction Work - 21102022 .pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CH1 Production IntroductoryConcepts.pptx
Structs to JSON How Go Powers REST APIs.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026

CS8662 Mobile Application Development Lab Manual

  • 1. DEPARTMENT OF INFORMATION TECHNOLOGY LABORATORY MANUAL CUM OBSERVATION AND RECORD CS8662 – MOBILE APPLICATION DEVELOPMENT LABORATORY (Regulation 2017) 2019 - 2020 EVEN
  • 2. NAME : __________________________________________ REGISTER NUMBER : ________________ ROLL NO : ___________ BRANCH : INFORMATION TECHNOLOGY YEAR / SEMESTER : 3rd YEAR / 6th SEMESTER Bonafide Record of work done in the CS8662 – Mobile Application Development Laboratory of Kamaraj College of Engineering and Technology, Madurai, during the year 2019 – 2020 EVEN. Staff In-charge Head of the Department Submitted for the Practical Examination held on _______________ at Kamaraj College of Engineering and Technology, Madurai. Internal Examiner External Examiner
  • 3. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 1 | P a g e VISION OF THE INSTITUTE TO MAKE THE INSTITUTION UNIQUE OF ITS KIND IN THE FIELD OF RESEARCH AND DEVELOPMENT ACTIVITIES IN THIS PART OF THE WORLD MISSION OF THE INSTITUTE TO IMPART HIGHLY INNOVATIVE AND TECHNICAL KNOWLEDGE TO THE URBAN AND RURAL STUDENT FOLKS THROUGH “TOTAL QUALITY EDUCATION” VISION OF THE DEPARTMENT TO MAKE THE DEPARTMENT OF INFORMATION TECHNOLOGY THE UNIQUE OF ITS KIND IN THE FIELD OF RESEARCH AND DEVELOPMENT ACTIVITIES IN THIS PART OF WORLD MISSION OF THE DEPARTMENT TO IMPART HIGHLY INNOVATIVE AND TECHNICAL KNOWLEDGE IN THE FIELD OF INFORMATION TECHNOLOGY TO THE URBAN AND UNREACHABLE RURAL STUDENT FOLKS THROUGH TOTAL QUALITY EDUCATION
  • 4. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 2 | P a g e PROGRAM EDUCATION OBJECTIVES [PEOs] 1. Graduates of the programme will exhibit expertise in technical knowledge by applying distinctive skills in various fields of Information Technology 2. Graduates will become pioneers in the field of Information Technology by working collaboratively and providing solutions to meet societal needs through persistent learning 3. Graduates will be able to adopt innovative practices and contribute towards research and technological development in the field of Information Technology through Total Quality Education PROGRAM OUTCOMES (POs) Engineering Graduates will be able to: 1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization to the solution of complex engineering problems. 2. Problem analysis: Identify, formulate, review research literature, and analyse complex engineering problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences. 3. Design/development of solutions: Design solutions for complex engineering problems and design system components or processes that meet the specified needs with appropriate consideration for the public health and safety, and the cultural, societal, and environmental considerations. 4. Conduct investigations of complex problems: Use research-based knowledge and research methods including design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid conclusions. 5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools including prediction and modelling to complex engineering activities with an understanding of the limitations. 6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering practice. 7. Environment and sustainability: Understand the impact of the professional engineering solutions in societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
  • 5. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 3 | P a g e 8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice. 9. Individual and team work: Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings. 10. Communication: Communicate effectively on complex engineering activities with the engineering community and with society at large, such as, being able to comprehend and write effective reports and design documentation, make effective presentations, and give and receive clear instructions. 11. Project management and finance: Demonstrate knowledge and understanding of the engineering and management principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in multidisciplinary environments. 12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the broadest context of technological change. PROGRAM SPECIFIC OUTCOMES (PSOs) Engineering Graduates will be able to: 1. Design an algorithm, process or component to address its real time needs in the field of Information Technology through analytical skills. 2. Ability to adopt the evolutionary changes in computing and pursue a career in IT and IT enabled industries.
  • 6. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 4 | P a g e SYLLABUS CS8662 MOBILE APPLICATION DEVELOPMENT LABORATORY L T P C 0 0 4 2 OBJECTIVES:  To understand the components and structure of mobile application development frameworks for Android and windows OS based mobiles.  To understand how to work with various mobile application development frameworks.  To learn the basic and important design concepts and issues of development of mobile applications.  To understand the capabilities and limitations of mobile devices. LIST OF EXPERIMENTS 1. Develop an application that uses GUI components, Font and Colours 2. Develop an application that uses Layout Managers and event listeners. 3. Write an application that draws basic graphical primitives on the screen. 4. Develop an application that makes use of databases. 5. Develop an application that makes use of Notification Manager 6. Implement an application that uses Multi-threading 7. Develop a native application that uses GPS location information 8. Implement an application that writes data to the SD card. 9. Implement an application that creates an alert upon receiving a message 10. Write a mobile application that makes use of RSS feed 11. Develop a mobile application to send an email. 12. Develop a Mobile application for simple needs (Mini Project) TOTAL: 60 PERIODS OUTCOMES: Upon Completion of the course, the students will be able to:  Develop mobile applications using GUI and Layouts.  Develop mobile applications using Event Listener.  Develop mobile applications using Databases.  Develop mobile applications using RSS Feed, Internal/External Storage, SMS, Multi-threading and GPS.  Analyze and discover own mobile app for simple needs. REFERENCES: 1. Build Your Own Security Lab, Michael Gregg, Wiley India LIST OF EQUIPMENT FOR A BATCH OF 30 STUDENTS Standalone desktops with Windows or Android or iOS or Equivalent Mobile Application Development Tools with appropriate emulators and debuggers - 30 Nos.
  • 7. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 5 | P a g e LIST OF EXPERIMENTS 1. Develop an application that uses GUI components, Font and Colours 2. Develop an application that uses Layout Managers and event listeners. 3. Write an application that draws basic graphical primitives on the screen. 4. Develop an application that makes use of databases. 5. Develop an application that makes use of Notification Manager 6. Implement an application that uses Multi-threading 7. Develop a native application that uses GPS location information 8. Implement an application that writes data to the SD card. 9. Implement an application that creates an alert upon receiving a message 10. Write a mobile application that makes use of RSS feed 11. Develop a mobile application to send an email. 12. Develop a Mobile application for simple needs (Mini Project)
  • 8. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 6 | P a g e COURSE OUTCOME AND PROGRAM OUTCOME MAPPING Course Outcomes (COs): Course No. Course Outcome (Student should be able to) K/ Bloom’s Taxonomy Level R17C322.1 Build various mobile applications related to GUI components, Font and Colours using Layout managers and Event Listeners K3 - Apply R17C322.2 Make use of database concepts for data related mobile applications K3 - Apply R17C322.3 Develop mobile applications using Internal & External Storage, SMS Notification, Multithreading, and GPS. K3 - Apply R17C322.4 Model the mobile application using RSS Feed, Alert upon receiving a message and send an E-Mail K3 - Apply R17C322.5 Develop Mobile App for simple real time needs K3 - Apply Mapping of Course Outcomes with POs and PSOs: Course Outcomes Program outcomes Program Specific outcomes PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 R17C322.1 L - L - M - - - L - - L L L R17C322.2 L - L - M - - - L - - L L L R17C322.3 L - L - M - - - L - - L L L R17C322.4 L - L - M - - - L - - L L L R17C322.5 M M M L M M - - M L - M M M R17C322 L M L L M M - - L L - L L L Correlation Levels: L: Slight M: Moderate H: Substantial Target Value = 80% of Marks Internal Assessment S. No. Assessment Tool ( Rubrics) Percentage of Contribution (%) 1 Laboratory Work 75 2 Model Exam 25
  • 9. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 7 | P a g e INDEX Ex. No. Date Application Name Page No. Marks Signature 1 GUI components, Font and Colours 2 Layout Managers and Event Listeners 3 Graphical Primitives 4 Persistent Data Storage 5 Notification Manager 6 GPS location 7 Multithreading 8 SD Card Manager 9 Alert upon Receiving Message 10 RSS Feed 11 E-Mail Notification 12 Mini Project
  • 10. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 8 | P a g e RUBRICS FOR ASSESSMENT Category Marks allotted Code Logic [Viva] Explains the basic concept and logic of the code correctly [25] Explains the logic and basic concept correctly but lacks in presenting it [22] Explains the basic concept correctly but lacks in understanding the logic [19] Explains the basic concept but fails to give detail description [16] Explanation of basic concepts and logic is not more appropriate [13] 25 Layout Design Clear & Appropriate features [25] Appropriate features [20] Clear & Less features [15] Less features [10] No proper layout design [5] 25 Code Design Code that satisfies the entire logic [25] Code deigned with some syntax errors [20] Code designed with some logic mistakes [15] Code designed with wrong logic [10] Wrong logic & no programming structure [5] 25 Record Submission Submission on date [25] 1 day delay [22] 2 days delay [19] 3 days delay [16] 4 days delay [13] 25 Total: 100 Marks
  • 11. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 9 | P a g e CO ATTAINMENT - INTERNAL ASSESSMENT Laboratory Mark Ex. No. Exercises COs CodeLogic[25] [Viva] LayoutDesign [25] CodeDesign[25] Record Submission[25] Total[100] Marksobtained forCOs(100) TargetAttained (Y/N) 1 GUI components, Font and Colours R17C322.12 Layout Managers and Event Listeners 3 Graphical Primitives 4 Persistent Data Storage R17C322.2 5 Notification Manager R17C322.3 6 GPS location 7 Multithreading 8 SD Card Manager 9 Alert upon Receiving Message R17C322.410 RSS Feed 11 E-Mail Notification 12 Mini Project R17C322.5
  • 12. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 10 | P a g e Model Exam Q.No CO Number Marks Total Mark(100) CO Attained? [Y/N]Allotted Obtained 1. 2. Internal Assessment = 75% of Laboratory Mark + 25% of Model Exam Mark Internal Assessment Laboratory Mark (75%) Model Exam (25%) Total Mark (100) Target Attained? [Y/N] Marks Note: If CO Attainment, Y = Laboratory Mark (%) >= Target Value (%) N = Laboratory Mark (%) < Target Value (%) Action Plan: If CO not attained, For Regular Laboratory Session & Model Exam: CO Number Reason for not Attaining COs Remedial Action Plan Remarks Signature Staff In-Charge
  • 13. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 1 | P a g e INTRODUCTION Android is a Linux based operating system it is designed primarily for touch screen mobile devices such as smart phones and tablet computers. The android is a powerful operating system and it supports large number of applications in Smartphones. These applications are more comfortable and advanced for the users. The hardware that supports android software is based on ARM architecture platform. The android is an open source operating system. The android has got millions of apps available that can help you managing your life one or other way and it is available low cost in market at that reasons android is very popular. The android development supports with the full java programming language. Even other packages that are API and JSE are not supported. The first version 1.0 of android development kit (SDK) was released in 2008 ANDROID ARCHITECTURE The android is an operating system and is a stack of software components which is divided into five sections and four main layers that is  Linux kernel  Libraries  Android runtime LINUX KERNEL The android uses the powerful Linux kernel and it supports wide range of hardware drivers. The kernel is the heart of the operating system that manages input and output requests from software. This provides basic system functionalities like process management, memory management; device management like camera, keypad, and display etc., the kernel handles all the things. The Linux is really good at networking and it is not necessary to interface it to the peripheral hardware. The kernel itself does not interact directly with the user but rather interacts with the shell and other programs as well as with the hard ware devices on the system. INTRODUCTION TO ANDROID OS
  • 14. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 2 | P a g e LIBRARIES On top of a Linux kennel there is a set of libraries including open source web browser such as webkit, library libc. These libraries are used to play and record audio and video. The SQLite is a data base which is useful for storage and sharing of application data. The SSL libraries are responsible for internet security etc. ANDROID RUNTIME The android runtime provides a key component called Dalvik Virtual Machine which is a kind of java virtual machine. It is specially designed and optimized for android. The Dalvik VM is the process virtual machine in the android operating system. It is software that runs apps on android devices. The Dalvik VM makes use of Linux core features like memory management and multithreading which is in a java language. The Dalvik VM enables every android application to run its own process. The Dalvik VM executes the files in the .dex format. APPLICATION FRAME WORK The application frame work layer provides many higher level services to applications such as windows manager, view system, package manager, resource manager etc. The application developers are allowed to make use of these services in their application.
  • 15. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 3 | P a g e APPLICATIONS AND FEATURES The android applications are at the top layer and we will write our application and install on this layer. Example of such applications is contacts, books, browsers, services etc. FEATURES  Head set layout  Storage  Connectivity: GSM/EDGE, IDEN, CDMA, Bluetooth, WI-FI, EDGE,3G,NFC, LTE,GPS.  Messaging: SMS, MMS, C2DM (could to device messaging), GCM (Google could messaging)  Multilanguage support  Multi touch  Video calling  Screen capture  External storage  Streaming media support  Optimized graphics ANDROID VERSIONS  Android 1.5: Android Cupcake  Android 1.6: Android Donut  Android 2.0: Android Eclair  Android 2.2: Android Froyo  Android 2.3: Android Gingerbread  Android 3.0: Android Honeycomb  Android 4.0: Android Ice Cream Sandwich  Android 4.1 to 4.3.1: Android Jelly Bean  Android 4.4 to 4.4.4: Android KitKat  Android 5.0 to 5.1.1: Android Lollipop  Android 6.0 to 6.0.1: Android Marshmallow  Android 7.0 to 7.1: Android Nougat  Android 8.0 to Android 8.1: Android Oreo  Android 9.0: Android Pie
  • 16. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 4 | P a g e Android Studio is the official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development. It is available for download on Windows, macOS and Linux based operating systems. It is a replacement for the Eclipse Android Development Tools (ADT) as the primary IDE for native Android application development. Android Studio was announced on May 16, 2013 at the Google I/O conference. It was in early access preview stage starting from version 0.1 in May 2013, then entered beta stage starting from version 0.8 which was released in June 2014. The first stable build was released in December 2014, starting from version 1.0. Since May 7, 2019, Kotlin is Google’s preferred language for Android app development. Still, other programming languages are supported by Android Studio, such as Java and C++. FEATURES  Gradle-based build support  Android-specific refactoring and quick fixes  Lint tools to catch performance, usability, version compatibility and other problems  ProGuard integration and app-signing capabilities  Template-based wizards to create common Android designs and components  A rich layout editor that allows users to drag-and-drop UI components, option to preview layouts on multiple screen configurations[17]  Support for building Android Wear apps  Built-in support for Google Cloud Platform, enabling integration with Firebase Cloud Messaging (Earlier 'Google Cloud Messaging') and Google App Engine[18]  Android Virtual Device (Emulator) to run and debug apps in the Android studio. INTRODUCTION TO ANDROID STUDIO
  • 17. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 5 | P a g e PROCEDURE Creating a New Project  Open Android Stdio and then click on File -> New -> New project.  Then type the Application name as “ex.no.1″ and click Next.
  • 18. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 6 | P a g e  Then select the Minimum SDK as shown below and click Next.  Then select the Empty Activity and click Next.
  • 19. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 7 | P a g e  Finally click Finish.  It will take some time to build and load the project.  After completion it will look as given below.
  • 20. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 8 | P a g e AIM To develop a Simple Android Application that uses GUI components, Font and Colours. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open res directory -> layout -> activity_main.xml and add the code. Step 4: Open java -> MainActivity.java and add the code. Step 5: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN Ex. No: 1 GUI Components, Font and Colours Pg. No:
  • 21. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 9 | P a g e SAMPLE OUTPUT
  • 22. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 10 | P a g e
  • 23. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 11 | P a g e Ex. No: 2 Layout Managers & Event Listeners Pg. No: AIM To develop a Simple Android Application that uses Layout Managers and Event Listeners. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open res directory -> layout -> activity_main.xml and add the code. Step 4: Open java -> MainActivity.java and add the code. Step 5: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 24. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 12 | P a g e SAMPLE OUTPUT
  • 25. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 13 | P a g e
  • 26. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 14 | P a g e Ex. No: 3 Graphical Primitives Pg. No: AIM To develop a Simple Android Application that draws basic Graphical Primitives on the screen. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components (ImageView) to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open java -> MainActivity.java and add the code. Step 4: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 27. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 15 | P a g e SAMPLE OUTPUT
  • 28. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 16 | P a g e
  • 29. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 17 | P a g e Ex. No: 4 Persistent Data Storage Pg. No: AIM To develop a Simple Android Application that makes use of Database. PROCEDURE Step 1: Create an android project using android studio. Step 2: Create two resource files (*.xml) and two activity files (*.java) named activity_ main .xml & activity_main2.xml and MainActivity.java & Main2Activity.java. Step 3: Open res directory -> layout -> activity_main.xml -> Click -> Design button at bottom of the Android Studio. Put the necessary components for both resource files (activity_main.xml, activity_main2.xml). Step 4: Design (After the design part, the xml code will be generated automatically in the layout file). Step 5: Open Java ->MainActivity.java & MainActivity2.java and add the code. Step 6: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 30. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 18 | P a g e SAMPLE OUTPUT
  • 31. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 19 | P a g e
  • 32. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 20 | P a g e Ex. No: 5 Notification Manager Pg. No: AIM To develop a Simple Android Application that makes use of Notification Manager. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open Java ->MainActivity.java and add the code. Step 4: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 33. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 21 | P a g e SAMPLE OUTPUT
  • 34. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 22 | P a g e
  • 35. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 23 | P a g e Ex. No: 6 Multithreading Pg. No: AIM To develop an Android Application that implements Multithreading. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open your Android studio project folder (e.g. Project name: Multithreading) -> Click app -> src -> main -> res -> drawable -> add *.png file. Step 4: Open Java ->MainActivity.java and add the code. Step 5: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 36. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 24 | P a g e SAMPLE OUTPUT
  • 37. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 25 | P a g e
  • 38. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 26 | P a g e Ex. No: 7 GPS Location Pg. No: AIM To develop an Android application that uses GPS location information. PROCEDURE Step 1: Create an android project using android studio. Step 2: Create two resource files (*.xml) and two activity files (*.java) named activity_ main .xml & activity_main2.xml and MainActivity.java & Main2Activity.java. Step 3: Open res directory -> layout -> activity_main.xml -> Click -> Design button at bottom of the Android Studio. Put the necessary components for both resource files (activity_main.xml, activity_main2.xml). Step 4: Design (After the design part, the xml code will be generated automatically in the layout file). Step 5: Open AndroidManifest.xml and add the code to provide access permission. Step 6: Open Java ->MainActivity.java & MainActivity2.java and add the code. Step 7: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 39. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 27 | P a g e SAMPLE OUTPUT
  • 40. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 28 | P a g e
  • 41. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 29 | P a g e Ex. No: 8 SD Card Manager Pg. No: AIM To develop an Android Application that writes data to the SD Card. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open AndroidManifest.xml and add the code to provide access permission. Step 4: Open Java ->MainActivity.java and add the code. Step 5: Connect the Android Mobile, run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 42. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 30 | P a g e SAMPLE OUTPUT
  • 43. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 31 | P a g e
  • 44. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 32 | P a g e Ex. No: 9 Alert upon Receiving Message Pg. No: AIM To develop an Android Application that creates an alert upon receiving a message. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 4: Open Java ->MainActivity.java and add the code. Step 5: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 45. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 33 | P a g e SAMPLE OUTPUT
  • 46. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 34 | P a g e
  • 47. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 35 | P a g e Ex. No: 10 RSS Feed Pg. No: AIM To develop an Android Application that makes use of RSS Feed. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open AndroidManifest.xml and add the code to provide access permission. Step 4: Open Java ->MainActivity.java and add the code. Step 5: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 48. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 36 | P a g e SAMPLE OUTPUT
  • 49. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 37 | P a g e
  • 50. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 38 | P a g e Ex. No: 11 E-Mail Notification Pg. No: AIM To develop an Android Application to send an Email. PROCEDURE Step 1: Create an android project using android studio. Step 2: Design 2.1. Open the actual Project folder (app) in Android Studio IDE. 2.2. Click res directory -> layout -> activity_main.xml -> Design. 2.3. Insert the GUI components to Design view in activity_main.xml. 2.4. Enter the id for each component. Step 3: Open AndroidManifest.xml and add the code to provide access permission. Step 4: Open res/values/styles.xml and add the code. Step 5: Open Java ->MainActivity.java and add the code. Step 6: Run the project and the output will be displayed in Emulator. LAYOUT DESIGN
  • 51. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 39 | P a g e SAMPLE OUTPUT
  • 52. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 40 | P a g e
  • 53. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 41 | P a g e
  • 54. CS8662 – Mobile Application Development Laboratory 2019-2020 (EVEN) 42 | P a g e