Department of Information Science and Engineering Prepared By Approved By Authorized By Ms. Archana Mrs Chandana Mrs.Parvathy.S MOBILE APPLICATION DEVELOPMENT LABORATORY Course Code : 22ISL7 1 Semester : VII 2025 - 26 New Horizon College of Engineering VISION To emerge as an institute of eminence in the fields of engineering, technology and management in serving the industry and the nation by empowering students with a high degree of technical, managerial and practical competence. MISSION To strengthen the theoretical, practical and ethical dimensions of the learning process by fostering a culture of research and innovation among faculty members and students. To encourage long - term interaction between the academia and industry through the involvement of the industry in the design of the curriculum and its hands - on implementation. To strengthen and mold students in professional, ethical, social and environmental dimensions by encouraging participation in co - curricular and extracurricular activities. Department of Information Science & Engineering VISION To evolve as a cent er of academic excellence and advanced research in information science and engineering discipline and to endeavor the computational competence of students for their dream career achievement and enhancing the managerial and technical skills. MISSION To inculcate students with profound understanding of fundamentals related to discipline, attitudes, skills and their application in solving real world problems, with an inclination towards societal issues and research. QUALITY POLICY To provide services of the highest quality both curricular and Co - curricular, so that our students can integrate their skills and serve the industry and society equally well at a global level. Program Education objectives (PEOs) PEO1 To excel in their professional career with expertise in providing solutions to Information Technology problems. PEO2 To pursue higher studies with profound knowledge enriched with academia and industrial skill sets. PEO3 To exhibit adaptive and agile skills in the core area of Information Science & Engineering to meet the technical and managerial challenges. PEO4 To demonstrate interpersonal skills, professional ethics to work in a team to make a positive impact on society. Program Specific Outcomes (PSO’s) PSO1 The ability to understand, analyze and develop computer programs in the areas related to algorithms, system software, multimedia, web design, big data analytics and networking or efficient design of computer - based systems of varying complexity. PSO2 The ability to apply standard practices and strategies in software project development using innovative ideas and open - ended programming environment with skills in teams and professional ethics to deliver a quality product for business success. Program Outcomes (PO) with Graduate Attributes Graduate Attributes Program Outcomes (POs) 1 Engineering Knowledge PO1: The basic knowledge of Mathematics, Science and Engineering. 2 Problem analysis PO2: An Ability to analyze, formulate and solve engineering problems. 3 Design and Development of Solutions PO3: An Ability to design system, component or product and develop interfaces among subsystems of computing. 4 Investigation of Problem PO4: An Ability to identify, formulate and analyze complex engineering problem and research literature through core subjects of Computer Science. 5 Modern Tool usage PO5: An Ability to use modern engineering tools and equipment’s for computing practice. 6 Engineer and society PO6: An Ability to assess societal, health, cultural, safety and legal issues in context of professional practice in Computer Science & Engineering. 7 Environment and sustainability PO7: The broad education to understand the impact of engineering solution in a global, economic, environmental and societal context. 8 Ethics PO8: An understanding of professional and ethical responsibility. 9 Individual & team work PO9: An Ability to work both as individual and team player in achieving a common goal. 10 Communication PO10: To communicate effectively both in written and oral formats with wide range of audiences. 11 Lifelong learning PO11: Knowledge of contemporary issues, Management and Finance. 12 Project management and finance PO12: An Ability to recognize the need and thereby to engage in independent and life - long learning for continued professional and career advancement. MOBILE APPLICATION DEVELOPMENT LABORATORY Course Code 22ISL7 1 CIE Marks 50 L:T:P:S 0:0:1:0 SEE Marks 50 Hrs / Week 3 Total Marks 100 Credits 01 Exam Hours 03 Course outcomes : At the end of the course, the student will be able to: 22ISL71 .1 Create, test and debug Android application by setting up Android development environment. 22ISL71 .2 Design User Interface and develop activity for Android App 22ISL71 .3 Design and implement Database Application and Content providers 22ISL71 .4 Implement adaptive, responsive user interfaces that work across a wide range of devices. Mapping of Course Outcomes to Program Outcomes and Program Specific Outcomes: PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 22ISL71 .1 3 3 3 2 3 - 1 1 - 1 - 1 3 3 22ISL71 2 3 3 3 2 3 - 1 1 - 1 - 1 3 3 22ISL71 3 3 3 3 2 3 - 1 1 - 1 - 1 3 3 22ISL71 4 3 3 3 2 3 - 2 1 - 1 - 1 3 3 Pgm. No. List of Programs Hours COs Prerequisite Programs No Prerequisite required NA PART - A 1. Using Android SDK design and implement a single screen app that displays information about a small business.eg. Restaurant, Book shop etc. Your design must include: o Business name o Photo of business o Contact information 3 22ISL71 .1 2. Create an application to design a Visiting Card. The Visiting card should have a company logo at the top right corner. The company name should be displayed in Capital letters, aligned to the center. Information like the name of the employee, job title, pho ne number, address, email, fax and the website address is to be displayed. Insert a horizontal line between the job title and the phone number. 3 22ISL71 .1 3. Develop a simple application with one Edit text so that the user can write some text in it. Create a button called “Convert Text to Speech” that converts user input text into voice. 3 22ISL71 .2 4. Develop an application that makes use of the clipboard framework for copying and pasting of the text. The activity consists of two EditText controls and two Buttons to trigger the copy and paste functionality. 3 22ISL71 .2 5. Design an app for Tourist spot: With three activities, Welcome page, Display attractions of tourist spot and Webpage of the tourist spot. 3 22ISL71 .2 6. Develop an Android application using controls like Button, TextView, EditText for designing a Calculator having basic functionality like Addition, Subtraction, Multiplication and Division. 3 22ISL71 .2 PART - B 7. Develop an android application Student Database App. The app should store USN, Student name and Semester of the student in SQLite database. 3 22ISL71 3 8. Create an Android application with two screens where the user enters his information on the first screen. When a button is clicked, the entered data should be passed to the second screen and displayed there. 3 22ISL71 4 9 Develop an application to set an image as wallpaper. On click of a button, the wallpaper image should start to change randomly every 30 seconds. 3 22ISL71 4 10 Design and develop Health Monitoring App using Android. The app will store the blood pressure, blood group and glucose level of patient in SQLite database 3 22ISL71 3 11 Create a Sign Up activity where the user enters a username and password, with password validation based on the following rules: I t must be at least 8 characters long, contain both uppercase and lowercase letters, include letters and numbers, and have at least one special character. On successful sign - up, use a Bundle to pass the username and password to the Login activity. In the Lo gin activity, allow the user to sign in using the credentials created during sign - up. If the credentials match, navigate to a new activity disp laying "Successful Login"; otherwise, show a toast message "Login Failed". 3 22ISL71 4 12 Write a program to create an activity with two buttons START and STOP. On Pressing of the START button, the activity must start the counter by displaying the numbers from One and the counter must keep on counting until the STOP button is pressed. Display the counter value in a TextViewcontrol. 3 22ISL71 4 PART - C Beyond Syllabus Virtual Lab Content (To be done during Lab but not to be included for CIE or SEE) 1) Develop an Android application to display Map of your college locality 2 ) Develop an Android application to alert SMS to one given phone number • One experiment from part A & One experiment from part B to be given. • SEE Examination will be conducted for 50 marks • Marks Distribution : Procedure write - up – 20% Conduction – 60% Viva – Voce – 20% • Change of the experiment is allowed only once and procedure write - up marks will be considered as ‘0’ Assessment P attern: CIE - Continuous Internal Evaluation (50 Marks) RBT Levels Tests Weekly Assessment 20 30 L1 Remember - - L2 Understand - - L3 Apply 10 10 L4 Analyze 10 10 L5 Evaluate - 10 L6 Create - - SEE - Semester End Examination (50 Marks) RBT Levels Exam Marks Distribution (50) L1 Remember - L2 Understand - L3 Apply 2 0 L4 Analyze 2 0 L5 Evaluate 10 L6 Create - Suggested Learning Resources: Text Books: 1) Reto Meier; Professional Android 4 Application Development; Wiley India Pvt.ltd; 1st Edition; 2012; ISBN - 13: 9788126525898. 2) Phillips, Stewart, Hardy and Marsicano; Android Programming, 2nd edition - Big Nerd Ranch Guide;2015; ISBN - 13 978 - 0134171494. Reference Books: 1) Mark Murphy; Beginning Android 3; Apress Springer India Pvt Ltd. ;1st Edition; 2011; ISBN - 13: 978 - 1 - 4302 - 3297 - 1 2) Eric Hellman; Android Programming – Pushing the limits by Hellman; Wiley; 2013; ISBN 13: 978 - 1118717370 3) www.developer.android Department: Information Science & Engineering Academic Semester: 202 5 - 2 6 (ODD SEM) Subject: - MOBILE APPLICATION DEVELOPMENT LABORATORY Semester: VII Course Code: 22ISL71 Contact Hours /week: 0 2 Credits : 1 CIE Marks: 50 SEE Marks : 50 Exam Hours: 03 Sl No. LIST OF EXPERIMENTS Page No. PART - A 1. Using Android SDK design and implement a single screen app that displays information about a small business.eg. Restaurant, Book shop etc. Your design must include: o Business name o Photo of business Contact information 1 7 - 1 9 2. Create an application to design a Visiting Card. The Visiting card should have a company logo at the top right corner. The company name should be displayed in Capital letters, aligned to the center. Information like the name of the employee, job title, pho ne number, address, email, fax and the website address is to be displayed. Insert a horizontal line between the job title and the phone number. 20 - 22 3. Develop a simple application with one Edit text so that the user can write some text in it. Create a button called “Convert Text to Speech” that converts user input text into voice. 22 - 24 4. Develop an application that makes use of the clipboard framework for copying and pasting of the text. The activity consists of two Edit Text controls and two Buttons to trigger the copy and paste functionality. 2 5 - 2 7 5. Design an app for Tourist spot: With three activities, Welcome page, Display attractions of tourist spot and Webpage of the tourist spot. 2 7 - 35 6. Develop an Android application using controls like Button, Text View , Edit Text for designing a Calculator having basic functionality like Addition, Subtraction, Multiplication and Division. 36 - 40 PART - B 7. Develop an android application Student Database App. The app should store USN, Student name and Semester of the student in SQLite database. 41 - 46 8. Create an Android application with two screens where the user enters his information on the first screen. When a button is clicked, the entered data should be passed to the second screen and displayed there. 47 - 51 9. Develop an application to set an image as wallpaper. On click of a button, the wallpaper image should start to change randomly every 30 seconds. 52 - 55 10. Design and develop Health Monitoring App using Android. The app will store the blood pressure, blood group and glucose level of patient in SQLite database 55 - 60 11. Create a Sign Up activity where the user enters a username and password, with password validation based on the following rules: I t must be at least 8 characters long, contain both uppercase and lowercase letters, include letters and numbers, and have at least one special character. On successful sign - up, use a Bundle to pass the username and password to the Login 60 - 7 0 activity. In the Login activity, allow the user to sign in using the credentials created during sign - up. If the credentials match, navigate to a new activity displaying "Successful Login"; otherwise, show a toast message "Login Failed". 12. Write a program to create an activity with two buttons START and STOP. On Pressing of the START button, the activity must start the counter by displaying the numbers from One and the counter must keep on counting until the STOP button is pressed. Display the counter value in a TextViewcontrol. 7 0 - 74 PART - C Beyond Syllabus Virtual Lab Content 1. Develop an Android application to display Map of your college locality 74 - 76 2. Develop an Android application to alert SMS to one given phone number 76 - 79 Faculty - in - Charge HOD - ISE INSTALLING AND RUNNING APPLICATIONS ON ANDROID STUDIO Step 1 - System Requirements The required tools to develop Android applications are open source and can be downloaded from the Web. Following is the list of software's you will need before you start your Android application programming. Java JDK5 or later version Java Runtime Environment (JRE) Android Studio Step 2 - Setup Android Studio Android Studio is the official IDE for android application development. It works based on IntelliJ IDEA, You can download the latest version of android studio from https://developer.android.com/studio If you are new to installing Android Studio on windows, you will find a file, which is named as android - studio - bundle - 143.3101438 - windows.exe. So just download and run on windows machine according to android studio wizard guideline. If you are installing Android Studio on Mac or Linux, You can download the latest version from Android Studio Mac Download, or Android Studio Linux Download, check the instructions provided along with the downloaded file for Mac OS and Linux. This tutorial will consider that you are going to setup your environment on Windows machine having Windows 8.1 operating system. Installation So let's launch Android Studio.exe,Make sure before launch Android Studio, Our Machine should required installed Java JDK. To install Java JDK,take a references of Android environment setup Once you launched Android Studio, its time to mention JDK7 path or later version in android studio installer. Below the image initiating JDK to android SDK Need to check the components, which are required to create applications, below the image has selected Android Studio, Android SDK, Android Virtual Machine and performance(Intel chip). Need to specify the location of local machine path for Android studio and Android SDK, below the image has taken default location of windows 8.1 x64 bit architecture. Need to specify the ram space for Android emulator by default it would take 512MB of local machine RAM. At final stage, it would extract SDK packages into our local machine, it would take a while time to finish the task and would take 2626MB of Hard disk space. After done all above steps perfectly, you must get finish button and it gonna be open android studio project with Welcome to android studio message as shown below You can start your application development by calling start a new android studio project. in a new installation frame should ask Application name, package information and location of the project. After entered application name, it going to be called select the form factors your application runs on, here need to specify Minimum SDK, in our tutorial, I have declared as API23: Android 6.0(Mashmallow) The next level of installation should contain selecting the activity to mobile, it specifies the default layout for Applications At the final stage it going to be open development tool to write the application code. Step 3 - Create Android Virtual Device To test your Android applications, you will need a virtual Android device. So before we start writing our code, let us create an Android virtual device. Launch Android AVD Manager Clicking AVD_Manager icon as shown below After Click on a virtual device icon, it going to be shown by default virtual devices which are present on your SDK, or else need to create a virtual device by clicking Create new Virtual device button MOBILE APPLICATION DEVELOPMENT LABORATORY 22ISL71 5 Dept. of ISE, NHCE Page 16 If your AVD is created successfully it means your environment is ready for Android application development. If you like, you can close this window using top - right cross button. Better you re - start your machine and once you are done with this last step, yo u are ready to proceed for your first Android example but before that we will see few more important concepts related to Android Application Development. MOBILE APPLICATION DEVELOPMENT LABORATORY 22ISL71 5 Dept. of ISE, NHCE Page 17 1. Using Android SDK design and implement a single screen app that displays information about a small business. E g. Restaurant, Book shop etc. Your design must include: • Business name • Photo of business • Contact information XML FILE <?xml version="1.0" encoding="utf - 8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res - auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#00BCD4" android:gravity="center" android:orientation="vertical" tools:context=".MainActivity"> <androidx.cardview.widget.CardView android:layout_width="300dp" android:layout_height="300dp" android:background="#03A9F4" android:backgroundTint="#CDDC39" app:cardCornerRadius="150dp"> <ImageView android:id="@+id/imageView5" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#00BCD4" android:scaleType="centerCrop" app:srcCompat="@drawable/images" tools:ignore="ContentDescription,ImageContrastCheck" /> </androidx.cardview.widget.CardView> <TextView android:id="@+id/textView2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginEnd="16dp" android:fontFamily="sans - serif - condensed" android:text="JANE APPLESEED" android:textAlignment="center" android:textColor="#673AB7" android:textSize="34sp" android:textStyle="bold" tools:ignore="HardcodedText,TextContrastCheck,VisualLintBounds" /> MOBILE APPLICATION DEVELOPMENT LABORATORY 22ISL71 5 Dept. of ISE, NHCE Page 18 <TextView android:id="@+id/textView3" android:layout_width="match_parent" android:layout_height="48dp" android:text="Educator" android:textAlignment="center" android:textColor="#FF5722" android:textSize="24sp" tools:ignore="HardcodedText,TextContrastCheck" /> <View android:id="@+id/divider" android:layout_width="match_parent" android:layout_height="3dp" android:background="?android:attr/listDivider" android:backgroundTint="#070909" android:visibility="visible" /> <TextView android:id="@+id/textView4" android:layout_width="match_parent" android:layout_height="wrap_content" android:fontFamily="sans - serif - black" android:text="+123 4456454" android:textAlignment="center" android:textAllCaps="true" android:textColor="#F2190D0D" android:textSize="20sp" android:textStyle="bold" tools:ignore="HardcodedText" /> <TextView android:id="@+id/textView5" android:layout_width="match_parent" android:layout_height="wrap_content" android:fontFamily="sans - serif" android:text="janeaplleseed@gmail.com" android:textAlignment="center" android:textColor="#050505" android:textSize="24sp" android:textStyle="bold" tools:ignore="HardcodedText" /> <TextView android:id="@+id/textView6" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Calfornia,USA" android:textAlignment="center" android:textColor="#090909" android:textSize="24sp" android:textStyle="bold" tools:ignore="HardcodedText" /> </LinearLayout> MOBILE APPLICATION DEVELOPMENT LABORATORY 22ISL71 5 Dept. of ISE, NHCE Page 19 JAVA FILE package com.example.bussinesscard; import android.os.Bundle; import androidx.activity.EdgeToEdge; import androidx.appcompat.app.AppCompatActivity; import androidx.core.graphics.Insets; import androidx.core.view.ViewCompat; import androidx.core.view.WindowInsetsCompat; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); EdgeToEdge. enable (this); setContentView(R.layout. activity_main ); ViewCompat. setOnApplyWindowInsetsListener (findViewById(R.id. main ), (v, insets) - > { Insets systemBars = insets.getInsets(WindowInsetsCompat.Type. systemBars ()); v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); return insets; }); } } Output Business Card MOBILE APPLICATION DEVELOPMENT LABORATORY 22ISL71 5 Dept. of ISE, NHCE Page 20 2 Create an application to design a Visiting Card. The Visiting card should have a company logo at the top right corner. The company name should be displayed in Capital letters, aligned to the center. Information like the name of the employee, job title, pho ne number, address, email, fax and the website address is to be displayed. Insert a horizontal line between the job title and the phone number. ACTIVITY_MAIN.XML <? xml version ="1.0" encoding ="utf - 8" ?> <RelativeLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res - auto" xmlns: tools ="http://schemas.android.com/tools" android :id ="@+id/main" android :layout_width ="match_parent" android :layout_height ="match_parent" android :background ="#F3FF07" tools :context =".MainActivity" tools :ignore ="NamespaceTypo" > <ImageView android :id ="@+id/imageView" android :layout_width ="186dp" android :layout_height ="87dp" android :layout_a lignParentEnd ="true" android :layout_alignParentBottom ="true" android :layout_marginEnd ="220dp" android :layout_marginBottom ="605dp" app :srcCompat ="@drawable/logo" /> <TextView android :id ="@+id/textView" android :layout_width ="189dp" android :layout_height ="79dp" android :layout_alignParentEnd ="true" android :layout_alignParentBottom ="true"