Professional Documents
Culture Documents
MAD MicroProject
MAD MicroProject
Micro-project Report of
Mobile Application Development
On
“SIMPLE ALARM CLOCK APPLICATION”
Submitted by:
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.
1. Brief Introduction
5. Action Plan
1. 11/3/2022 13/03/2022
Topic Selection
Sr.
Name of Resource Specification
no
Intel i5 7th gen
1. Computer system
processor
2. RAM 8GB
3. Android Studio -
Name Roll No
Rohit Mahato 16
Mrs.Sumoli Vaje
(Micro-project Guide)
Part B
Simple Alarm Clock App in Androids Studio.
1. Introduction
To create a simple alarm clock app in Android you will need to follow these
steps.
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
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
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
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)