Mad Finalproject
Mad Finalproject
Project Report On
☆..Stopwatch..☆
Submitted by :-
Chitrang Sawant (3214)
Jaydeep Konkar (3225)
3 Proposed Methodology
5 Resources Required
6 Group Members
7 Action Plan
8 Rationale
9 Project Objectives
10 Project scope
12 Skill Development
13 Program code
14 Output
15 Conclusion
16 References
Plan - A
Title of Micro-Project
“Stopwatch”
Aims/Benefits of the MicroProject Aims:
• To create an Android App “Stopwatch”
Proposed Methodology
This report includes a Selecting the micro-project title “Stopwatch”. Group
discussion with subject teacher about micro-project content. Observe the
equipment which selected for the micro-project. Collected the required
information for Micro-project. Created a Android App “Stopwatch”.
Resources Required:
S.
Resources required Specifications
No.
1 Computer system Computer, RAM Minimum 2GB
Team members:
Sr. Roll.
Name of Student
No. number
Chitrang Laxman Sawant
1 3214
Name of
Planned Planned responsible
Sr.
Details of Activity Start Finish Team
No.
Date Date members
Coding / implementing
5 22/02/2024 27/02/2024 All members
programs
Rationale:
A stopwatch is a handheld timepiece designed to measure the amount of time that elapses
between its activation and deactivation. A large digital version of a stopwatch designed
for viewing at a distance, as in a sports stadium, is called a stopwatch.
Project Objective:
1. Develop a stopwatch application for Android devices using Android Studio.
2. Create a user-friendly stopwatch with start, stop, and reset functions.
3. Enhance user experience with features like lap and split timing (optional).
Project Scope:
1. Core Stopwatch Functionality:
- Start, stop, and reset operations.
- Display time in hours, minutes, seconds, and milliseconds.
2. User Interface Design:
- Intuitive UI with buttons for operations.
- Responsive design for various screen sizes.
3. Accuracy and Precision:
- Minimize timing errors and interruptions.
4. Additional Features (Optional):
- Lap and split timing functionalities.
5. Settings and Customization:
- User preferences for time format.
6. Testing and Quality Assurance:
- Thorough testing for reliability.
- Error handling mechanisms.
7. Documentation and Deployment:
- Prepare user manuals.
- Deploy to Google Play Store or provide installation instructions.
Actual Methodology:
1. Planned the micro-project on ‘Stopwatch’ which includes under the guidance of
Smt.K.C.Wavhale.
2. Team research on needs of raw information and collect information
related to our micro-project by using internet and books.
3. Took the reference from other professional Websites.
4. After the research of one week, started implementing the collected
information in project
5. At last finalized the project and prepared report on Mobile Application
for Stopwatch
Skill developed:
• Team Working Strategy developed.
• Understand various concepts related to the Android programming
Project Code:
Xml.code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#C0E7EC"
android:padding="16dp"
tools:context="com.stopwatch.MainActivity">
<TextView
android:id="@+id/stopwatch"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Stopwatch"
android:textColor="@color/black"
android:textSize="50dp" />
<TextView
android:id="@+id/time_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="100dp"
android:background="@drawable/border"
android:textAppearance="@android:style/TextAppearance.Large"
android:textColor="@color/black"
android:textSize="50dp" />
<Button
android:id="@+id/start_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="50dp"
android:onClick="onClickStart"
android:text="@string/start" />
<Button
android:id="@+id/stop_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="50dp"
android:onClick="onClickStop"
android:text="@string/stop" />
<Button
android:id="@+id/reset_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:layout_gravity="center_horizontal"
android:onClick="onClickReset"
android:text="@string/reset" />
</LinearLayout>
Java Code:
package com.example.stopwatch1;
import android.os.Bundle;
import android.app.Activity;
import android.os.Handler;
import android.view.View;
import java.util.Locale;
import android.widget.TextView;
Resource.xml:
<resources>
<string name="app_name">Stopwatch</string>
<string name="start"> Start </string>
<string name="reset"> Reset </string>
<string name="stop"> Stop </string>
</resources>
String.xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:shape="rectangle">
<stroke
android:width="2dp"
android:color="#932424"
/>
</shape>
Output:
Conclusion:
The project “Stopwatch” which can start the counting of time by using the button
start, stopwatch also have the button for reset and pause purpose. The project has
been implemented with the help of the Android Studio.
Reference:
• https://projectgurukul.org/android-project-stopwatch/
• https://developer.android.com
• https://www.codingninjas.com
• https://www.google.com