You are on page 1of 18

AJEENKYA DY PATIL SCHOOL OF ENGINEEERING

(Charholi) Via Lohegaon, Pune-412 105

Department of Computer Engineering


2022-23[6th Sem]

Micro-project Report of
Mobile Application Development
On
“SIMPLE ALARM CLOCK APPLICATION”
Submitted by:

Roll Number Name of Student Enrollment Number

17 Rohit Mahato 2016490018

Under the Guidance of


Mrs. Sumoli Vaje.
AJEENKYA DY PATIL SCHOOL OF ENGINEEERING
Department of Computer Engineering
SEMESTER-6th 2022-23

CERTIFICATE
This is to certify that Project report entitled “ALARM CLOCK APPLICATION” is
submitted in the partial fulfilment of requirement for the award of the Diploma in
Computer Engineering by Maharashtra State Board of Technical Education as record of
students' own work carried out by them under the guidance and supervision at DY Patil
School Of Engineering (Charholi), during the academic year 2022-23.

Roll Number Name of Student Enrollment Number

17 Rohit Mahato 2016490018

Place: Charholi (Bk)


Date: / /2022.

(Mrs. Sumoli Vaje) (Mrs. Priyanaka Kasare)


Guide Head of Computer Department
ACKNOWLEDGEMEMT

It is with profoundly sense of gratitude that we acknowledge from


our guide Mrs. Sumoli Vaje. She has been guide in the true sense of
word, a guide who satisfaction from our word & progress.

We are highly obliged to Mrs. Priyanaka Kasare. .Head of


Computer Department for aberrance & good co-operation given to us for
bringing this project to almost standard.
We are grateful to our principal Dr.F.B.Sayyad for proceeding
acknowledgement to us in the connection of this project concluding. We
appreciate the assistance of all staff that helps us in for their sincere &
obliging help to make our project successfully.
TABLE OF CONTENTS

Sr.no Topics Page No.


1 Brief Introduction
2 Aim Of The Micro Project:
3 Intended Course Outcomes
4 Literature Review
5 Action Plan
6 Resources Required:
7 Name Of Team Members
8 Introduction
9 To create app following the steps.
10 Android Components
11 Features of the Simple Alarm Clock Android App
12 Features of the Simple Alarm Clock Android App
13 Design of the Simple Alarm Clock Android App
14 Creating a Simple Alarm Clock App
15 Skill Development
16 Reference
17 Conclusion
Micro Project
Proposal Part A
Simple Alarm Clock App in Androids Studio.

1. Brief Introduction

In this Project, we have developed an Alarm Clock Application using Android


Studio. Today, Everyone uses Android Smartphones. Android has a huge
Market. Android Studio provides a great unified environment to build apps for
Android phones, tablets and Android TV because it provides a very large
number of app building features and it is also very easy to use. Thus, Android
application development is one of the rising and growing trend in the industry
of Future Smartphones. Alarm is one of the utilities that comes in-built in
Android Smartphones. Alarm plays a vital role in our day-to-day life. It has
become our wake-up assistant. Every mobile phone is associated with an alarm
app. Alarm helps people to be punctual in their day-to-day lives. So, our project
i.e. An Alarm Clock tends to be a real life Application.

2. Aim Of The Micro Project

This Micro-Project aims at:


To Learn android application development
To Design Android Application
To create application using intent.

3. Intended Course Outcomes

Develop programs using Android Studio


Handle xml file and main-Activtiy.java file.
4. Literature Review
To this Advance java project, we searched various sources.
Prominent among them are google, you-tube, Wikipedia, geekforgeeks
also took the help of our subject teacher in choosing one of the unique
subject. You-tube also helped us clear a lot of concepts regarding our
project as well as also the Google.
Wikipedia helped us in the way we got few data about, and many
more data related to it. We also took help of the book ‘Android’. This
book also helped us a lot. Also, the important support was of our teacher
(Sumoli Vaje Ma’am). We took their help at each bit where we felt is
necessary to be taken.

5. Action Plan

Sr. Planned Planned Name of


Details of activity
no
Start date Finish date Members

1. 11/3/2022 13/03/2022
Topic Selection

2. Collecting 14/03/2022 20/03/2022


information of topic Rohit Mahato

Testing and analysis


4. of 27/03/2022 3/04/2022
test result

5. Documentation of 8/04/2022 15/04/2022


project
6. Resources Required

Sr.
Name of Resource Specification
no
Intel i5 7th gen
1. Computer system
processor

2. RAM 8GB

3. Android Studio -

4. Operating system Windows 11

7. Name Of Team Members

Name Roll No
Rohit Mahato 16

Mrs.Sumoli Vaje
(Micro-project Guide)
Part B
Simple Alarm Clock App in Androids Studio.

1. Introduction

In this Project, we have developed an Alarm Clock Application using Android


Studio. Today, Everyone uses Android Smartphones. Android has a huge Market.
Android Studio provides a great unified environment to build apps for Android
phones, tablets and Android TV because it provides a very large number of app
building features and it is also very easy to use. Thus, Android application
development is one of the rising and growing trend in the industry of Future
Smartphones. Alarm is one of the utilities that comes in-built in Android
Smartphones. Alarm plays a vital role in our day-to-day life. It has become our
wake-up assistant. Every mobile phone is associated with an alarm app. Alarm
helps people to be punctual in their day-to-day lives. So, our project i.e. An
Alarm Clock tends to be a real life Application.

2. To create app following the steps.

To create a simple alarm clock app in Android you will need to follow these
steps.

Capture the alarm time using a TimePicker


Schedule an alarm using Alarm Manager and a Pending Intent
Start the Alarm Service using a Broadcast Receiver
Use a Notification, Media Player and Vibrator to activate the alarm
Managing Dismissal and Snoozing of an Alarm
Cancelling an Alarm using the Alarm Manager and a Pending Intent
Handle Rescheduling Alarm Service
Handle Enabling and Disabling of Alarms
3. Android Components

This project will touch on the following Android components and concepts.

✓ Time Picker
✓ Alarm Manager
✓ Media Player
✓ Broadcast Receivers
✓ Services
✓ Notifications
✓ Vibrator
✓ Manifest and Permissions
✓ Calendar
✓ Intent, Pending Intent and Intent Extras
✓ MVVM Design Pattern
✓ LiveData, Observer and Repository
✓ Room Persistence Library from Jetpack
✓ RecyclerView
✓ Activities and Fragments
✓ Navigation Jetpack Architecture Component
Scope of the SimpleAlarm Clock Android App

4. Features of the Simple Alarm Clock Android App


The simple alarm clock Android app we will be building in this tutorial will have
the following features.
Ability to set a once off alarm
Ability to set a recurring alarm on set days of the week
Ability to disable and re-enable an alarm
Ability to play a looped audio track for the alarm that is active
Ability to play a vibration effect for the alarm that is active
Ability to show a notification for the alarm this is active
Ability to dismiss an alarm
Ability to snooze an alarm

5. Design of the Simple Alarm Clock Android App


The user experience for this app will contain two fragments and two activities.

The first activity which will be used as the main screen for the Android app. It
will contain two fragments, the first fragment will be used for listing all alarms
in the app and the second fragment will be used to create a new alarm.
Screenshot for Scheduling an Alarm Screenshot for Listing Alarms

The second activity will only be shown when the user selects the push notification shown
when an alarm is active. When the notification is selected it will take the user to an activity
where the user can select to either dismiss or snooze the alarm.
Alarm Ringing Activity TimePicker in clock mode

TimePicker in spinner mode


6. Creating a Simple Alarm Clock App in Android Studio
Step 1
Open the Android Studio and start a new project.

Step 2
Put the application name and company domain. If you wish to use C++ for coding
the project, mark the "Include C++ support" checkbox and then click Next.
Step 3
Select the Android minimum SDK. After you chose the minimum SDK, it will show
an approximate percentage of people who use that SDK. Click Next.

Step 4
Choose the basic activity, then click Next.

Step 5
Put the activity name and layout name. Android Studio basically takes the java class
name that you provide as the activity name and click Finish.

Step 6
Go to activity_main.xml then click the text bottom. This xml file contains the
designing code for the android app. Into the activity_main.xml copy and paste the
below code.
Activity_main.xml code

Step 7
Create a new content_main.xml file (File ⇒ New ⇒Activity⇒Empty_activity).
Go to content_main.xml then click the text bottom. This xml file contains the
designing code for the android app. Into the content_main.xml copy and paste the
below code.
content_main.xml code
Step 8
Into the MainActivity.java copy and paste the below code.java programming is the
backend language for android. Do not replace your package name otherwise, the app
will not run.
MainActivity.java code

Step 9
Create a new Alarm_Receiver.java file (File ⇒ New ⇒Java class).
Into the Alarm_Receiver.java copy and paste the below code.java programming is
the backend language for android. Do not replace your package name otherwise, the
app will not run.
Alarm_Receiver.java code

Step 10
Create a new RingtonePlayingService.java file (File ⇒ New ⇒Java class).
Into the RingtonePlayingService.java copy and paste the below code.java
programming is the backend language for android. Do not replace your package
name otherwise, the app will not run.
RingtonePlayingService.java code

Step 11
Create a new dimens.xml file into the values folder
(File ⇒ New ⇒Activity⇒Empty_activity).
Go to dimens.xml then click the text bottom. This xml file contains the designing
code for the android app.
dimens.xml code

Step 12
Create one folder into the Resources folder. Paste your set of ringtones into the
folder.

Step 13
Create new strings.xml file into the Values folder
(File ⇒ New ⇒Activity⇒Empty_activity).
Go to strings.xml and click the text button. This XML file contains the designing
code for the Android app.
strings.xml code

Step 14
Click the Make Project option and run.
6. Skill Development
• Presentation skill increased.
• Technical knowledge increased.
• Get more knowledge about operating system.
• Management of time.

7. Reference

• From TY.CM.TechKnowledge book


• Google
• Wikipedia
• geeksforgeeks
• Madam Suggested

8. Conclusion
By doing this project I’ve learnt about the Intent and android application
development. Now I know how to develop android applications and how to use
intent in our application.

Mrs.Sumoli Vaje
(Guide of Project)

You might also like