[go: up one dir, main page]

0% found this document useful (0 votes)
21 views18 pages

MAD Mansi Project... Main

The document outlines a microproject conducted by a student at Government Polytechnic, Beed, focusing on developing a stopwatch application using Android Studio as part of the Mobile Application Development course. It includes a project proposal, aims, methodology, evaluation criteria, and the actual implementation details, including Java and XML code. The project aims to enhance skills in Android app development and user interface design while achieving specific course outcomes.

Uploaded by

rutujaja989
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views18 pages

MAD Mansi Project... Main

The document outlines a microproject conducted by a student at Government Polytechnic, Beed, focusing on developing a stopwatch application using Android Studio as part of the Mobile Application Development course. It includes a project proposal, aims, methodology, evaluation criteria, and the actual implementation details, including Java and XML code. The project aims to enhance skills in Android app development and user interface design while achieving specific course outcomes.

Uploaded by

rutujaja989
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,MUMBAI

GOVERNMENT POLYTECHNIC,BEED
[Institute Code:0032 ]

MICROPROJECT

Course & Code: Mobile Application development (22617)

Title of Micro project: “To develop a Stopwatch in Android Studio”

=
Subject Teacher Head of Department Principal

Seal of
institute

1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,MUMBAI

CERTIFICATE OF MICROPROJECT

This is to certify that following students of CM6I (Division-C) of Diploma in


COMPUTER ENGINEERING of the institute GOVERNMENT
POLYTECHNIC,BEED, Institute code:0032, have satisfactorily completed
MICROPROJECT work in subject/Course: Mobile Application development (22617) for
academic year 2024-25 as prescribed in the curriculum.

Roll Exam Seat


Name of Student Title of Microproject
No. No.

“To develop a Stopwatch in


Android Studio”
1770 Panhalakar Rutuja Jalindar

Place:Beed Date:-- /-- -/2021

Subject Teacher Head of Department Principal

Seal of
institute

2
Teacher Evaluation Sheet
Name of Student : Panhalakar Rutuja Jalindar
=Enrollment No:- 2200320343
Programme: Computer Technology
Semester: 6th sem

Course Title & Code: “To develop a Stopwatch in Android Studio”


Roll no: 1770

Title of the Micro-Project: [In short]


“To develop a Stopwatch in Android Studio”

Course Outcomes Achieved:


a. Develop rich interfaces by using layouts and controls.
b. Use user interface components for android application development

Evaluation as per Suggested Rubric for Assessment of Micro Project


Sr. Characteristic to be assessed
Poor Average Good Excellent (
No. ( Marks 1 - 3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) Marks 9- 10 )

[A] Process and Product Assessment (Convert total marks out of 06)

1 Relevance to the course

2 Literature Review/information
collection
3 Completion of the Target as per
project proposal
4 Analysis and data representation

5 Quality of Prototype/Model

6 Report Preparation

Total Marks Out of (6)

[B] Individual Presentation/Viva (Convert total marks out of 04)

1 Presentation

2 Viva

Total Marks Out of (4)

3
Process and Product Assessment Total Marks
(6 marks) Individual Presentation/Viva (4 10
(Note: The total marks taken from the above Rubrics marks)
is to be converted in proportion of ‘6’ marks)

Name and designation of the Teacher: (Lecturer in CM)

Dated Signature…………………………………………………………………………

4
Annexure –I

Part – A Micro-Project Proposal


(Format for Micro-Project Proposal A about 2-3 pages)

Title of Micro-Project:

“To develop a Stopwatch in Android Studio”

1.1 Aims/Benefits of the Micro-Project (minimum 30-50 words)

a) To give detailed information of how to create stopwatch in android studio


b) To learn and code in java in android studio.
c) To describe about the functions and syntax used in java for developing android applications.
d) To learn and give information about mobile application development

2.0 Course Outcomes Addressed


a. Develop rich interfaces by using layouts and controls.
b. Use user interface components for android application development

3.0 Proposed Methodology


(Procedure in brief that will be followed to do the micro-project) in about 100 to 200
words).
Step 1: Study the micro project.
First of all group members will go through the micro project list. The discussion will be done in group.
After the topic will be finalized. The guide will help to clear the doubts and problem in project making.
Step 2: Collecting information from internet, books.
The work will be distributed among the group members. And different format will be collected for report
making like certificate, teacher evaluation sheet, annexure-A and B Step 3: Finalizing the formats in
collaboration.
All group member will go through sample collected, then format will be finalized.
Step 4: Finalizing the topic.
After finalizing the format, the topic will be discussed .the topic will be discussed unanimously and as
per the availability of material.
Step 5: Listing the stationary items required for project along with budget.Everyone will give
stationary list required for report writing.
Step 6: Discussion of budget in group and finalize the amount.
The group members will discuss their views and budget will be finalized.

5
Step 7: Collection of photos and information/contents.
Every group member will collect their data from different website, books and from personal visit to industry
and give it to project guide for proof reading. After proof reading the data along with photo will be finalized
and every group member will be proceed for their job.
5.0 Action Plan (Sequence and time required for major activity)

Planned Name of
Sr. Planned Finish Responsible Team
Details of activity
No. Start date date Members
1 Collecting different formats 1/1/2025 2/1/2025 Panhalakar Rutuja
2 Finalization of formats in collaboration 5/1/2025 6/1/2025 Panhalakar Rutuja
3 Finalizing topic title =10/1/2025 11/1/2025 Panhalakar Rutuja
Listing stationary items required for project
4 along with budget 2/2/2025 4//2/2025 Panhalakar Rutuja

Discussion of budget in group and finalize the


5 amount =15/2/2025 16/2/2025 Panhalakar Rutuja

6 Information collection by each group member 1/3/2025 3/3/2025 Panhalakar Rutuja


7 Report writing/Printing 6/3/2025 8/3/2025 Panhalakar Rutuja

6.0 Resources Required (major resources such as raw material, some machining facility,
software etc.)

S.
Qt Remark
No Name of Resource/material Specifications
y s
.
1
Computer,Mobile,Internet,Printer,Scanne
PC 01
r

2
Text book,Youtube,google Techmax,www.youtube.com,www.google.co.i
-
n

Names of Team Members with Roll Nos.

Roll No. Name of student

1770 Panhalakar Rutuja Jalendar

6
Annexure – II

Part – B Micro-Project Report

(Outcomes after Execution) Format for Micro-Project Report (Minimum 6 pages)

Title of Micro-Project:

“To develop a Stopwatch in Android Studio”

1.0 Rationale
(Importance of the project, in about 30 to 50 words. This is a modified version of the earlier one
written after the work)
we will implement a beginner level android project Stopwatch using Android Studio. We will
start with the project details, how it works, and the prerequisites for the project. After that, we’ll show you
how to implement and execute the project. This application will have three buttons that are: start, stop, and
hold. This application would need to use Java and XML. For this application, we need to set the timer properly
as it is initially set to milliseconds, and that should be converted to minutes and then hours properly.
The users can use this application and all they’d need to do is, start the stopwatch and then stop
it when they are done. They can also pause the timer and continue it again when they like. It is a simple app
that is used to record or measure time. It has mainly 4 main functions as shown below: Start: To start the
stopwatch time from the beginning or from the pause state. Stop:To stop the stopwatch time and reset the time
to zero. The stopwatch we designed is a time-keeping device that is meant to measure the time elapsed from
the start to end of any event.
2.0 Aims/Benefits of the Micro-Project

a) To give detailed information of how to create stopwatch in android studio


b) To learn and code in java in android studio.
c) To describe about the functions and syntax used in java for developing android applications.
d) To learn and give information about mobile application development

3.0 Course Outcomes Achieved (Add to the earlier list if more COs are addressed)

a. Develop rich interfaces by using layouts and controls.


b. Use user interface components for android application development

7
4.0 Literature Review
A literature review is an important part of any research project, including one focused on to
develop a Stopwatch in Android Studio Here are some key points to consider when conducting a literature
review for a develop a Stopwatch in Android Studio. This application will have three buttons that are: start,
stop, and hold. This application would need to use Java and XML. For this application, we need to set the
timer properly as it is initially set to milliseconds, and that should be converted to minutes and then hours
properly.
The users can use this application and all they’d need to do is, start the stopwatch and then
stop it when they are done. They can also pause the timer and continue it again when they like. It is a simple
app that is used to record or measure time. It has mainly 4 main functions as shown below: Start: To start the
stopwatch time from the beginning or from the pause state. Stop:To stop the stopwatch time and reset the time
to zero. The stopwatch we designed is a time-keeping device that is meant to measure the time elapsed from
the start to end of any event.
To begin with the project and its understanding you must be familiar with quite a few things.
These things are important for you to know as without the knowledge of these things you won’t be able to
implement projects. Mentioned below are the things you need to know:

1. Java Programming:
Java Programming plays an important role in Android app development as it makes the
application function and manages it.
2. XML:
Extensible Markup Language is useful as it helps us create the user interface for the application.
Knowing the basics of it will help you as
3. Android Studio:
Android Studio is the platform that we will use for the development of our project. This makes
it important for the users to know about the IDE they work on.
4. Kotlin (Optional):
Kotlin is an optional choice for you. It can be used in place of Java for app development.

❖ What are the important files for Project?

In our project, we will have the following files, and we will explain these files to you:
1. activity_main.xml:
This file is responsible for the layout and the interface of the project. We have added a textview and
the buttons through this file.
2. MainActivity.java:
This file is responsible for the working of the application. We have used this file in this project for
the functioning of buttons.
3. Colors.xml file:
In this file, we have mentioned the color names that we have used in the project.
4. strings.xml file:
In this file, we have mentioned the words that are used in our project and also its description.

8
5.0 Actual Methodology Followed.

The stopwatch is basically a timepiece that is designed particularly to measure the time
elapsed between the activation and deactivation of the stopwatch. The users can start the
Stopwatch and stop it anytime. It was originally invented by Samuel Watson. There is also
a button to restart the stopwatch that will set the stopwatch to starting. So our task is to
make an application for Stopwatch which can be used whenever required.

Here are the following things that we would need to add in our Stopwatch project: 1.
It will have a display that will show the time on it. For the display, we have used TextView.
2. Then we will have three options, using the User Interface components that are Buttons.
Using button we have added the following three options
➢ Start Button : The start is the activation for the Stopwatch. It will activate the Stopwatch as soon as
pressed.

➢ Stop Button : The Stop button will be used to deactivate the stopwatch. As soon as we click the stop
button the stopwatch will be deactivated. After getting deactivated it will show the total time elapsed
between the activation and deactivation of the watch.

➢ Reset Button: The reset button is used to set the stopwatch to 00:00:00 again. Stopwatch needs to be
reset once its use is done.

9
6.0 Program code : . XML Code

?xml version="1.0" encoding="utf-8"?>

<RelativeLayout 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:background="#BDAC13" tools:context=".MainActivity">

<RelativeLayout android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:layout_marginLeft="10dp"

android:layout_marginRight="10dp"

android:paddingBottom="90dp">

<TextView android:id="@+id/tvTimer"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:layout_marginTop="120dp"

android:paddingBottom="50dp"

android:text="00:00:00"

android:textColor="#ffffff"

android:textSize="50dp"

android:textStyle="bold" /> <Button

10
android:id="@+id/btStart"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_below="@+id/tvTimer"

android:layout_alignParentStart="true"

android:layout_alignParentLeft="true"

android:layout_marginTop="41dp"

android:backgroundTint="#1E1D1C"

android:text="Start" /> <Button

android:id="@+id/btPause"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignBaseline="@+id/btStart"

android:layout_alignBottom="@+id/btStart"

android:layout_centerHorizontal="true"

android:backgroundTint="#151515"

android:text="Pause" /> <Button

android:id="@+id/btReset"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignTop="@+id/btPause"

android:layout_alignParentEnd="true"

11
android:layout_alignParentRight="true"

android:backgroundTint="#0B0B0B"

android:text="Reset" /> </RelativeLayout>

</RelativeLayout>

12
Java Code:-

package com.example.stopwatch_bynayan; import

androidx.appcompat.app.AppCompatActivity; import

android.os.Bundle; import android.os.Handler; import

android.os.SystemClock; import android.view.View;

import android.widget.Button; import

android.widget.TextView; public class MainActivity

extends AppCompatActivity {

TextView timer ;

Button start, pause, reset; long MillisecondTime, StartTime,

TimeBuff, UpdateTime = 0L ; Handler; int Seconds, Minutes,

MilliSeconds ;

@Override protected void onCreate(Bundle

savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main); timer =

(TextView)findViewById(R.id.tvTimer); start =

(Button)findViewById(R.id.btStart);

pause = (Button)findViewById(R.id.btPause); reset =

(Button)findViewById(R.id.btReset); handler = new

13
Handler() ; start.setOnClickListener(new

View.OnClickListener() {

@Override public void onClick(View

view) { StartTime =

SystemClock.uptimeMillis();

handler.postDelayed(runnable, 0);

reset.setEnabled(false);

});

pause.setOnClickListener(new View.OnClickListener() {

@Override public void onClick(View

view) { TimeBuff +=

MillisecondTime;

handler.removeCallbacks(runnable);

reset.setEnabled(true);

});

reset.setOnClickListener(new View.OnClickListener() {

@Override

public void onClick(View view) {

14
MillisecondTime = 0L ;

StartTime = 0L ;

TimeBuff = 0L ;

UpdateTime = 0L ;

Seconds = 0 ;

Minutes = 0 ; MilliSeconds

=0;

timer.setText("00:00:00");

});

MilliSeconds = (int) (UpdateTime % 1000); timer.setText("" +

Minutes + ":"

+ String.format("%02d", Seconds) + ":" +

String.format("%03d", MilliSeconds));

handler.postDelayed(this, 0);

};

15
Output:-

16
7.0 Outputs of the Micro-Project
The stopwatch feature allows you to measure elapsed times. By using the corresponding buttons, the
stopwatch can be started, stop and reset. After we done with our project about stopwatch we are able to
learn and develop knowledge. We are also able learn how to developed skills and knowledge in systematic
design approach.
According to our project we are able to use the best method that can be used to write the program the
main reason is we can know the time can be executed.

Step 8: Printing/Drawing.
We all decided to make report in print format,one member took printout of report,it was shown to project
guide by every member and collected tips for presentation.
Step 9: Explanation/Preparation.
Everyone did good preparation of microproject which was needed for vi-va

6.0 Actual Resources Used (Mention the actual resources used).

S. Name of
Specifications Qty Remarks
No. Resource/material

1 Computer,Mobile,Internet,Printer PC 01

2 Techmax,www.youtube.com,www.google.co.in -
Text book,Youtube,google

9.0 Skill Development:


• Ability to perform a team work.
• Use of structure in program.
• To finding error.
• Communication with team member as a leader or member.

17
1.0 Applications of this Micro-Project

By creating a stopwatch app you will get familiarised with the various time and date
management functions in the Android Studio. There a handful yet highly-advantageous functions used
for dealing with date and time components within any TextView. A stopwatch is widely used in the
sports sector for time-keeping, having a stopwatch in the cellular phone becomes very handy for
coaches, trainers, runners, and other sports professionals. Apart from sports, stopwatch is used in the
education sector, for time-keeping during quizzes, debate competitions, and so on. The UI design and
the Java Code of a stopwatch are very elementary. There are three buttons in the user-interface. First,
the “start” button is used for starting the timer from an initial zero second. Second, the “stop” button,
which can also be named the “pause” button, stops the increment but doesn’t take the reading back to
zero. If you click on the “start” button again, the timer will increment from the value at which it was
stopped earlier. The last button is the “reset” button, it sets the value of the timer back to zero seconds.

11.0 Area of Future Improvement


A stopwatch is widely used in the sports sector for time-keeping, having a stopwatch
in the cellular phone becomes very handy for coaches, trainers, runners, and other sports professionals.
Apart from sports, a stopwatch is used in the education sector, for time-keeping during quizzes, debate
competitions. The design and the Java Code of a stopwatch are very elementary. There are three buttons
in the user interface.

12 .Conclusion:
we have learned to implement the Stopwatch android project. We discussed the project details and
required files. After that, we discussed the prerequisites for our application project. Then we went
through the step by step process to develop and execute the project.

13. References:
•https://www.geeksforgeeks.org/stopwatch-in-android//
• https://developer.android.com/reference/android/widget/stopwatch//
•https://www.javatpoint.com/android-stopwatch-example
• https://www.tutorialspoint.com/android/android_stopwatch_control.html
• https://developer.android.com/reference/android/widget/stopwatch

18

You might also like