Professional Documents
Culture Documents
Action Plan
Search information
4 related to selected Jori Harshal
topic
Completion of micro
6 project topic
Jori Harshal
Proposal
1
7 Analyze collected Jori Harshal
data For micro-
Project report.
2
Resources Required
Name of Resource
Sr. /Material Specifications Qt Remark
No. y. s
Processor 3.00
1 Computer GHZ,RAM 4 1 Used
System
GB,HDD 500 GB
2 Operating Windows 7 1 Used
System
3 Text editor Microsoft Word 1 Used
4 Browser Mozilla Firefox, Google 1 Used
Chrome
5 Printer HP Laser Jet 1 Used
6 Other Internet Connection 1 Used
resource
3
A
PROJECT REPORT
ON
DIPLOMA IN
COMPUTER ENGINEERING
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI
SUBMITTED BY
GUIDED BY
(Ms.Dhumal.K.R)
4
SAMARTH POLYTECHNIC, BELHE
CERTIFICATE
This is to certify that the project report entitled “ Fitness App Using Android ”
Was successfully completed by Student of Fifth semester Diploma in computer
engineering.
Jori Harshal
in partial fulfillment of the requirements for the award of the Diploma in Computer
engineering and submitted to the Department of Computer of Samarth Polytechnic,
Belhe work carried out during a period for the academic year 2022- 23 as per
curriculum .
5
ACKNOWLEDGMENT
This project is done as a Fifth semester project, as a part course titled “ Fitness App Using Android”.
We are really thankful to our course the Principal Prof. Kapile A. S. and the HOD
Prof. Nawle.S.K. Samarth Polytechnic, Belhe for his invaluable guidance and assistance, without
which the accomplishment of the task would have never been possible.
We also thank Ms.Dhumal.K.R. for giving this opportunity to explore into the real world and realize
the interrelation without which a Project can never progress. In our present project we have chosen the
topic- “Fitness App Using Android”.
We are also thankful to parents, friend and all staff of Computer engineering department, for providing
us relevant information and necessary clarifications, and great support.
Jori Harshal
6
Fitness App Using Android
INDEX
Project Title
Project Option
Internal Guide
Problem
Statement
Chapter 2 Abstract 2
Chapter 3 Introduction 3
Chapter 5 Features 21
Chapter 6 Conclusion 22
Chapter 7 Referance 23
1
Fitness App Using Android
CHAPTER 1
SYNOPSIS
1. Project Title
“Fitness App Using Android”
2. Project Option
None
3. Internal Guide
Prof..Dhumal.K.R
4. Problem Statement
To design the Fitness app using android
2
Fitness App Using Android
CHAPTER 2
ABSTRACT
Recent technological advances have created enormous opportunities for developing
applications which support training from home particularly for older adults that are often socially
more isolated, physically less active, and with less chances of training in a gym. In this article, we
review the current fitness applications and their features alongside the design challenges and
opportunities of fitness applications for trainees at home.
Smartphones and tablets are slowly but steadily changing the way we look after our health
and fitness. Today, many high quality mobile apps are available for users and health professionals
and cover the whole health care chain, i.e. information collection, prevention, diagnosis, treatment
and monitoring. Our team has developed a mobile health and fitness app called my Fitness
Companion which has been available via Android market since February 2011. The objective of
this paper is to share our experience with rolling out a mobile health and fitness app. We discuss
the acceptance of health apps by end-users and healthcare industry. We discuss how mobile health
apps will be distributed in the near future, the use of Personal Health Record (PHR) systems such
as Microsoft HealthVault and the impact of regulations (FDA) on the future of mobile health apps.
The paper is based on seven years of experience by the authors.
3
Fitness App Using Android
CHAPTER 3
INTRODUCTION
The purpose of a fitness app is to provide the user with instructions and examples of one or
more types of exercise, physical activity, nutritional programs, or some other fitness topic. Many
fitness apps are available to download from the internet. Some are used to count calories, others
record statistics on workouts or collect data on walks, runs, and bike rides. Some fitness apps
connect the user to a personal trainer or nutritionist to help with areas of concerns when using a
specific fitness routine or just generally with workouts. Further, some fitness apps provide a
coordinated series of songs, each having the same beat when doing such workouts as running and
fitness classes.
fitness app is an application that can be downloaded on any mobile device and used
anywhere to get fit. As of 2015, the number of health-related apps released on the two leading
platforms, iPhone operating system (iOS) and Android, had reached more than 165,000.[1] Apps can
perform various functions such as allowing users to set fitness goals, tracking caloric intake,
gathering workout ideas, and sharing progress on social media to facilitate healthy behavior change.
4
Fitness App Using Android
CHAPTER 4
PROGRAM CODE
Activity Main.xml:-
<androidx.drawerlayout.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- The main content view -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingLeft="0dp"
android:paddingTop="0dp"
android:paddingRight="0dp"
android:paddingBottom="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/actionToolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
5
Fitness App Using Android
android:background="@color/toolbar_background"
android:elevation="4dp"
android:minHeight="?attr/actionBarSize"
android:visibility="visible">
<com.mikhaellopez.circularimageview.CircularImageView
android:id="@+id/imageProfile"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_gravity="end"
android:src="@drawable/ic_profile_black"
app:civ_border_color="#EEEEEE"
app:civ_border_width="0dp"
app:civ_shadow="false"
app:civ_shadow_color="#8BC34A"
app:civ_shadow_radius="0" />
</androidx.appcompat.widget.Toolbar>
<androidx.appcompat.widget.Toolbar
android:id="@+id/musicToolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_margin="0dp"
android:background="@color/toolbar_background"
android:elevation="4dp"
android:minHeight="?attr/actionBarSize"
6
Fitness App Using Android
android:padding="0dp"
app:contentInsetStart="0dp"
app:titleMargins="0dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="0dp"
android:orientation="vertical"
android:padding="0dp">
<LinearLayout
android:id="@+id/playerTopLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="0dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/playerSongProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:maxLines="1"
tools:text="00:00" />
<TextView
7
Fitness App Using Android
android:id="@+id/playerSongTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
tools:text="musique_test.mp3" />
</LinearLayout>
<SeekBar
android:id="@+id/playerSeekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="0dp"
android:layout_marginLeft="0dp"
android:layout_marginTop="-4dp"
android:layout_marginEnd="0dp"
android:layout_marginRight="0dp"
android:layout_marginBottom="-4dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="32dp"
android:orientation="horizontal">
<ImageButton
8
Fitness App Using Android
android:id="@+id/playerPrevious"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="5"
android:adjustViewBounds="false"
android:background="@android:color/transparent"
android:baselineAlignBottom="false"
android:cropToPadding="true"
android:padding="5dp"
android:src="@drawable/ic_skip_previous_black_36dp" />
<ImageButton
android:id="@+id/playerStop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="5"
android:adjustViewBounds="false"
android:background="@android:color/transparent"
android:baselineAlignBottom="false"
android:cropToPadding="true"
android:src="@drawable/ic_stop_black_36dp" />
<ImageButton
android:id="@+id/playerPlay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="5"
9
Fitness App Using Android
android:adjustViewBounds="false"
android:background="@android:color/transparent"
android:baselineAlignBottom="false"
android:cropToPadding="true"
android:src="@drawable/ic_play_arrow_black_36dp" />
<ImageButton
android:id="@+id/playerNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="5"
android:adjustViewBounds="false"
android:background="@android:color/transparent"
android:baselineAlignBottom="false"
android:cropToPadding="true"
android:src="@drawable/ic_skip_next_black_36dp" />
<ImageButton
android:id="@+id/playerLoop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="5"
android:adjustViewBounds="false"
android:background="@android:color/transparent"
android:baselineAlignBottom="false"
android:cropToPadding="true"
android:src="@drawable/ic_replay_blue_36dp" />
10
Fitness App Using Android
<ImageButton
android:id="@+id/playerList"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="5"
android:adjustViewBounds="false"
android:background="@android:color/transparent"
android:baselineAlignBottom="false"
android:cropToPadding="true"
android:src="@drawable/ic_library_music_black_36dp" />
</LinearLayout>
</LinearLayout>
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/musicToolbar"
android:layout_below="@id/actionToolbar"
android:orientation="vertical" />
</RelativeLayout>
<!-- The navigation drawer -->
<ListView
android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
11
Fitness App Using Android
android:background="#111"
android:choiceMode="none"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" />
</androidx.drawerlayout.widget.DrawerLayout>
MainActivity.java:-
package gr.antoniom.chronometer;
/*
* The Android chronometer widget revised so as to count milliseconds
*/
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
import android.util.AttributeSet;
import androidx.appcompat.widget.AppCompatTextView;
import java.text.DecimalFormat;
public class Chronometer extends AppCompatTextView {
@SuppressWarnings("unused")
private static final String TAG = "Chronometer";
private static final int TICK_WHAT = 2;
private long mBase;
private boolean mVisible;
private boolean mStarted;
12
Fitness App Using Android
13
Fitness App Using Android
14
Fitness App Using Android
mStarted = false;
updateRunning();
}
public void setStarted(boolean started) {
mStarted = started;
updateRunning();
}
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
mVisible = false;
updateRunning();
}
@Override
protected void onWindowVisibilityChanged(int visibility) {
super.onWindowVisibilityChanged(visibility);
mVisible = visibility == VISIBLE;
updateRunning();
}
private synchronized void updateText(long now) {
timeElapsed = now - mBase;
DecimalFormat df = new DecimalFormat("00");
int hours = (int) (timeElapsed / (3600 * 1000));
int remaining = (int) (timeElapsed % (3600 * 1000));
int minutes = remaining / (60 * 1000);
remaining = remaining % (60 * 1000);
int seconds = remaining / 1000;
remaining = remaining % (1000);
15
Fitness App Using Android
int milliseconds = 0;
if (mPreciseClock) {
milliseconds = ((int) timeElapsed % 1000) / 100;
}
String text = "";
if (hours > 0) {
text += df.format(Math.abs(hours)) + ":";
}
text += df.format(Math.abs(minutes)) + ":";
text += df.format(Math.abs(seconds));
if (mPreciseClock) text += ":" + milliseconds;
setText(text);
}
private void updateRunning() {
boolean running = mVisible && mStarted;
if (running != mRunning) {
if (running) {
updateText(SystemClock.elapsedRealtime());
dispatchChronometerTick();
if (mPreciseClock) {
mHandler.sendMessageDelayed(Message.obtain(mHandler,
TICK_WHAT), 100);
} else {
mHandler.sendMessageDelayed(Message.obtain(mHandler,
TICK_WHAT), 1000);
}
} else {
mHandler.removeMessages(TICK_WHAT);
16
Fitness App Using Android
}
mRunning = running;
}
}
void dispatchChronometerTick() {
if (mOnChronometerTickListener != null) {
mOnChronometerTickListener.onChronometerTick(this);
}
}
public long getTimeElapsed() {
return timeElapsed;
}
public interface OnChronometerTickListener {
void onChronometerTick(Chronometer chronometer);
}
}
AndroidMainfest:-
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.enjoyingfoss.feeel">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
17
Fitness App Using Android
<activity android:name="com.enjoyingfoss.feeel.view.CoverActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Output:-
18
Fitness App Using Android
19
Fitness App Using Android
20
Fitness App Using Android
21
Fitness App Using Android
22
CHAPTER 5
FEATURES
• User personalization.
• Goal setting.
• Tracking metrics.
• Push notification.
• Social sharing.
• Community.
• Gamification.
• Video tutorial.
• Multi-device synchronization.
• Progress Tracking.
• Sleep tracker.
CHAPTER 6
CONCLUSION
The system is designed like it was decided in the design phase. The project gives a good
idea on developing a user-friendly application satisfying the user. The system is very flexible
and versatile. This application has a user-friendly screen that enables the user to use it without
any inconvenience. This project is more informative and more helpful for understanding the
concept of android app development. This project is only a small and easy one but it is enough
to implement my concept. I can further try much harder to make a much more efficient and
useful app that can benefit others.
CHAPTER 7
REFERNCE
1. https://blog.getsocial.im/10-must-have-features-for-health-and-fitness-apps/
2. https://www.Fitness app.com/
3. https://en.wikipedia.org/wiki/Android fitness app/
4. Collage Faculties
5. Friends
ANNEXURE
Evaluation Sheet for Micro Project Academic
Year :- 2022-23
Name of Faculty :- Prof.Dhumal.K.R Course:MAD
Course Code :- 22617 Semester:-6th
Title of Project :- Fitness App Using Android
Cos addressed by the Micro Project :-
1.………………………………………………………………………………………
………………………………………………………...………………………………
2.………………………………………………………………………………………
…………………………………...…………………………………………………….
3.………………………………………………………………………………………
…………………………………...…………………………………………………….
4.………………………………………………………………………………………
………………………………………………...………………………………………
Major Learning Outcomes achieved by students by doing the project :-
a) Practical Outcomes
……………………………………………………………………………………..
………………………………………………………...……………………………
b) Unit Outcomes in Cognitive dommain
……………………………………………………………………………………
……..………………………………………………...……………………………
c) Outcomes in Affective domain
………………………………………………………………………………………
………….………………………………………………...…………………………
Comments /suggestions about team work/leadership/inter-personal communication
(if any)
………………………………………………………………………………………
………………………………………………………...……………………………
01 Jori Harshal
Prof. Dhumal.K.R
(Name & Signature of Faculty)