Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

MAD Project

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

Teacher Evaluation Sheet

Name of Student: Nikam Tejaswini Nitin


Enrolment No:2200790506
Name of Program: Computer Technology Semester:- VI
Course Title: Mobile Application Development Code: - 22617
Title of the Micro Project: Stopwatch Application

Course Outcomes Achieved:-


a) Interprete features of Android operating system.
b) Configure Android environment and development tools.
c) Develop rich user Interfaces by using layouts and controls.
d) Use User Interface components for android application development.
e) Create Android application using database.
f) Publish Android applications.

Evaluation as per Suggested Rubric for Assessment of Micro-Project:

Sr.
No. Characteristic to Poor Average Good Excellent
beassessed (Marks 1- (Marks 4- (Marks 6 (Marks 9-
3) 5) - 10)
8)
(A) Process and Product Assesssment (Convert above total marks out of 6 marks)
1 Relevance to the Course
Literature Survey /
2 Information Collection
Completion of the Target
3 as per project proposal
Analysis of data and
4 representation
5 Quality of Prototype /
Model
6 Report Preparation
(B) Individual Presentation / Viva (Convert above total marks out of 4 marks)
8 Presentation
9 Viva
Micro – Project Evaluation Sheet:

Process Assessment Product Assessment


Part Project Part Individual Total
A– Methodolog B – Project Presentation / Marks
Name of Student project y(2 marks) Report / Viva (4 10
Proposal Working marks)
(2 Model(2 marks)
marks)
Nikam Tejaswini Nitin

Comments / Suggestions about team work / leadership / inter – personal communication (if

any)Any Other Comment Name and

Member: Mrs.S.S.Shinde Signature


MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION

SNJB’s Shri Hiralal Hastimal(Jain


Brother’s, Jalgaon) Polytechnic,
Chandwad-423101 (Nashik)

MICRO PROJECT
Academic year: 2023-24

TITLE OF PROJECT
Stopwatch Application

Program:Computer Technology Program Code:CM

Course: Mobile Application Development Course code:

22617
2
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Sr.No. Name of Student Roll No Enrollment No Seat No


1. Nikam Tejaswini Nitin 65 2200790506 403354

CERTIFICATE
This is to certify : Nikam Tejaswini Nitin

of 6th Semester of Diploma in Computer Technology of Institute,SNJB’s Shri Hiralal


Hastial (Jain Brother’s, Jalgaon) Polytechnic, Chandwad (Code: 0079) has completed the
Micro-Project satisfactorily in Subject Mobile Application Development (22617) for the
academic year 2023- 2024 as prescribed in the curriculum.

Place: CHANDWAD

Date: / 03 /2024

Subject Teacher Head of the Department Principal


(Mrs.S.S.Shinde) (Mr.P,R.Sali) (Dr. Wankhede V. A.)

3
INDEX

SR_NO. CONTENT PAGE NO.


Part A

1.0 Brief Introduction 7

2.0 Aim of Micro Project 7

3.0 Course Outcomes Addressed 7

4.0 Action Plan 8

5.0 Resources Required 8

Part B

1.0 Brief Description 9-10

2.0 Aim of Micro Project 10

3.0 Course Outcome Integrated 10

4.0 Actual Procedure Followed 11-15

5.0 Actual Resources Used 15

6.0 Outputs of the Micro-projects 16

7.0 Skill Developed 16

4
PART A-Plan

Title of micro-project: Stopwatch Application

1.0 Breif Introduction :-

A stopwatch is a 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 stop clock. In manual timing, the
clock is started and stopped by a person pressing a button. In fully automatic time, both
starting and stopping are triggered automatically, by sensors. The timing functions are
traditionally controlled by two buttons on the case. Pressing the top button starts the timer
running, and pressing the button a second time stops it, leaving the elapsed time
displayed. A press of the second button then resets the stopwatch to zero. The second
button is also used to record split times or lap times. When the split time button is pressed
while the watch is running it allows the elapsed time to that point to be read, but the
watch mechanism continues running to record total elapsed time. Pressing the split button
a second time allows the watch to resume display of total time.

2.0 Aim/Benefits of the Micro-Project-

1. Stopwatch is highly accurate since it gives a wide rage of measurements.


2. Measures elapsed time much more accurately than is possible with the help of pressing
the buttons
3. Helps recording date and time-of-day functions with the presence of an inbuilt
microchip.
4. External sensors allow the stopwatch to be stimulated by external events.

3.0 Course Outcomes Addressed-

a) Interprete features of Android operating system.


b) Configure Android environment and development tools.
c) Develop rich user Interfaces by using layouts and controls.
d) Use User Interface components for android application development.
e) Create Android application using database.
f) Publish Android applications.

5
4.0 Action Plan-

Planned Planned
Sr no. Details of activity Start Date Finish Date

1. Finalization of topic 11-01-2024 18-01-2024


2. Preparation of Abstract 29-01-2024 9-02-2024
3. Collection of data 12-02-2024 20-2-2024
4. Preparation of concept 06-03-2024 16-03-2024
5. Seminar / Presentation 18-03-2024 21-13-2024
6. Submission of Micro Project 24-03-2024 01-04-2024

5.0 Resources Required:

Sr.No Name of Specification Quantity Remarks


Resource/Material
1. Computer i5, RAM 16GB 1 -
(Desktop/Laptop)
2. Microsoft office word 2010 1 -
3. Websites www.MAD_Tutorial.com 1 -
4. Software Android studio 1 -

6
PART B-Plan

Title of micro-project: Stopwatch Application

1.0 Brief Description:

A stopwatch is a 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 stop clock. In manual timing, the clock is started and stopped by a person
pressing a button. In fully automatic time, both starting and stopping are triggered
automatically, by sensors. The timing functions are traditionally controlled by two buttons on
the case. Pressing the top button starts the timer running, and pressing the button a second
time stops it, leaving the elapsed time displayed. A press of the second button then resets the
stopwatch to zero. The second button is also used to record split times or lap times. When the
split time button is pressed while the watch is running it allows the elapsed time to that point
to be read, but the watch mechanism continues running to record total elapsed time. Pressing
the split button a second time allows the watch to resume display of total time.

The layout defines three buttons that we will use to control the stopwatch. Each button uses
its onClick attribute to specify which method in the activity should run when the button is
clicked. When the Start button is clicked, the onClickStart() method gets called, when the
Stop button is clicked the onClickStop() method gets called, and when the Reset button is
clicked the onClickReset() method gets called. We will use these methods to start, stop and
reset the stopwatch.

We will update the stopwatch using a method we will create called runTimer(). The
runTimer() method will run code every second to check whether the stopwatch is running,
and, if it is, increment the number of seconds and display the number of seconds in the text
view.

To help us with this, we will use two private variables to record the state of the stopwatch.
We will use an int called seconds to track how many seconds have passed since the stopwatch
started running, and a boolean called running to record whether the stopwatch is currently
running.

We will start by writing the code for the buttons, and then we will look at the runTimer()
method.
 Add code for the buttons When the user clicks on the Start button, we will set the
running variable to true so that the stopwatch will start. When the user clicks on the
Stop button, we will set running to false so that the stopwatch stops running. If the
user clicks on the Reset button, we will set running to false and seconds to 0 so that
the stopwatch is reset and stops running.
 The runTimer() method The next thing we need to do is to create the runTimer()
method. This method will get a reference to the text view in the layout; format the
contents of the seconds variable into hours, minutes, and seconds; and then display
the results in the text view. If the running variable is set to true, it will increment the
seconds variable.

7
 Handlers allow you to schedule code A Handler is an Android class you can use to
schedule code that should be run at some point in the future. You can also use it to
post code that needs to run on a different thread than the main Android thread. In our
case, we are going to use a Handler to schedule the stopwatch code to run every
second. To use the Handler, you wrap the code you wish to schedule in a Runnable
object, and then use the Handle post() and postDelayed() methods to specify when
you want the code to run.
 The post() method The post() method posts code that needs to be run as soon as
possible(which is usually immediately). This method takes one parameter, an object
of type Runnable. A Runnable object in Androidville is just like a Runnable in plain
old Java: a job you want to run. You put the code you want to run in the Runnable’s
run() method, and the Handler will make sure the code is run as soon as possible.
 The postDelayed() method The postDelayed() method works in a similar way to the
post() method except that you use it to post code that should be run in the future. The
postDelayed() method takes twoparameters:a Runnable and a long.

2.0 Aims/Benefits of Micro Project:

1. Stopwatch is highly accurate since it gives a wide rage of measurements.


2. Measures elapsed time much more accurately than is possible with the help of pressing
the buttons
3. Helps recording date and time-of-day functions with the presence of an inbuilt
microchip.
4. External sensors allow the stopwatch to be stimulated by external events.

3.0 Course Outcomes Achieved:

a) Interprete features of Android operating system.


b) Configure Android environment and development tools.
c) Develop rich user Interfaces by using layouts and controls.
d) Use User Interface components for android application development.
e) Create Android application using database.
f) Publish Android applications.

8
4.0 Actual Methodology/Procedure Followed:

Program Code:-

String.xml

<resources>
<string name=”app_name”>ProjectGurukul Stopwatch</string>
<string name=”start”> Start </string>
<string name=”reset”> Reset </string>
<string name=”stop”> Stop </string>
</resources>

Border.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>

MainActivity.java

Package com.prabhu.projectgurukulstopwatch;

Import android.os.Bundle;
Import android.app.Activity;
Import android.os.Handler;
Import android.view.View;
Import java.util.Locale;
Import android.widget.TextView;

Public class MainActivity extends Activity {


Private int sec = 0;
Private boolean is_running;
Private boolean was_running;

@Override
Protected void onCreate(Bundle savedInstanceState)
{
Super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
if (savedInstanceState != null) {
sec = savedInstanceState.getInt(“seconds”);
is_running = savedInstanceState.getBoolean(“running”);
was_running = savedInstanceState .getBoolean(“wasRunning”);
}
Running_Timer();
}

9
@Override
Public void onSaveInstanceState(
Bundle savedInstanceState)
{
savedInstanceState.putInt(“seconds”, sec);
savedInstanceState.putBoolean(“running”, is_running);
savedInstanceState.putBoolean(“wasRunning”, was_running);
}

@Override
Protected void onPause()
{
Super.onPause();
Was_running = is_running;
Is_running = false;
}

@Override
Protected void onResume()
{
Super.onResume();
If (was_running) {
Is_running = true;
}
}

Public void onClickStart(View view)


{
Is_running = true;
}

Public void onClickStop(View view)


{
Is_running = false;
}

Public void onClickReset(View view)


{
Is_running = false;
Sec = 0;
}

Private void running_Timer()


{

Final TextView t_View = (TextView)findViewById(R.id.timeview2);


Final Handler handle = new Handler();

Handle.post(new Runnable() {
@Override

Public void run()


{
Int hrs = sec / 3600;

10
Int mins = (sec % 3600) / 60;
Int secs = sec % 60;

String time_t = String .format(Locale.getDefault(), “ %d:%02d:%02d “, hrs,mins,

secs); T_View.setText(time_t);

If (is_running) {
Sec++;
}

Handle.postDelayed(this, 1000);
}
});
}
}

Activity.xml

<?xml version=”1.0” encoding=”utf-8”?>


<AbsoluteLayout
Xmlns:android=http://schemas.android.com/apk/res/androi
d Xmlns:app=http://schemas.android.com/apk/res-auto
Xmlns:tools=http://schemas.android.com/tools
Android:layout_width=”match_parent”
Android:layout_height=”match_parent”
Android:orientation=”vertical”
Android:background=”@color/black”
Android:padding=”16dp”
Tools:context=”com.prabhu.projectgurukulstopwatch.MainActivity”
Tools:ignore=”Deprecated”>

<TextView
Android:id=”@+id/textView1”
Android:layout_width=”306dp”
Android:layout_height=”wrap_content”
Android:layout_x=”38dp”
Android:layout_y=”41dp”
Android:text=”Stopwatch”
Android:textAlignment=”center”
Android:textColor=”#0CDCEF”
Android:textSize=”@android:dimen/app_icon_size” />

<TextView
Android:id=”@+id/timeview2”
Android:layout_width=”230dp”
Android:layout_height=”wrap_content”
Android:layout_marginTop=”100dp”
Android:layout_x=”52dp”
Android:layout_y=”204dp”
Android:textAppearance=”@android:style/TextAppearance.Large”
Android:textColor=”#125BEC”
Android:textSize=”50dp” />

11
<Button
Android:id=”@+id/start_button”
Android:layout_width=”127dp”
Android:layout_height=”wrap_content”
Android:layout_x=”50dp”
Android:layout_y=”404dp”
Android:onClick=”onClickStart”
Android:text=”@string/start”
Android:textColor=”@color/white”
Tools:ignore=”DuplicateClickableBoundsCheck,DuplicateClickableBoundsCheck” />

<Button
Android:id=”@+id/stop_button”
Android:layout_width=”141dp”
Android:layout_height=”wrap_content”
Android:layout_x=”215dp”
Android:layout_y=”404dp”
Android:onClick=”onClickStop”
Android:text=”@string/stop”
Android:textColor=”@color/white” />

<Button
Android:id=”@+id/reset_button”
Android:layout_width=”127dp”
Android:layout_height=”wrap_content”
Android:layout_x=”149dp”
Android:layout_y=”518dp”
Android:onClick=”onClickReset”
Android:text=”@string/reset”
Android:textColor=”@color/white”
Android:visibility=”visible” />

<TextView
Android:id=”@+id/textView3”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:layout_x=”24dp”
Android:layout_y=”598dp”
Android:textColor=”#FF0000”
Android:text=”InstructionsFor New User)”
Tools:ignore=”DuplicateIds,HardcodedText” />

<TextView
Android:id=”@+id/textView4”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:layout_x=”4dp”
Android:layout_y=”625dp”
Android:textColor=”@color/white”
Android:text=” 1. Press START Button to start the stopwatch.”
Tools:ignore=”HardcodedText” />

12
<TextView
Android:id=”@+id/textView5”
Android:layout_width=”wrap_content”
Android:layout_height=”wrap_content”
Android:layout_x=”21dp”
Android:layout_y=”651dp”
Android:textColor=”@color/white”
Android:text=” 2. Press STOP Button to stop the Stopwatch.”
Tools:ignore=”HardcodedText” />

<TextView
Android:id=”@+id/textView6”
Android:layout_width=”340dp”
Android:layout_height=”wrap_content”
Android:layout_x=”46dp”
Android:layout_y=”677dp”
Android:textColor=”@color/white”
Android:text=” 3. Press the RESET Button to restart your Stopwatch again.”
Tools:ignore=”HardcodedText” />

</AbsoluteLayout>

5.0 Actual Resources Used:

Sr.No Name of Specification Quantity Remarks


Resource/Material
1. Computer i5,RAM 16GB 1 -
(Desktop/Laptop)
2. Microsoft office word 2010 1 -
3. Websites www.MAD_Tutorial.com 1 -
4. Softwares Android studio 1 -
,bumblebee

13
6.0 Output of the Micro-Project:-

7.0 Skill Developed:-

 The main application of the project is to develop application of


Stopwatch Application.
 This project is undertaken as a project is based on relevant technologies.
 Use the micro-project as a reference at the time of practical performance.
 Work in Team, Leadership.
 Developed the skills of organization and time management.

14

You might also like