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

MYFINALANDROID

The project report presents a 'Quotes Generator' application developed as part of a diploma in Computer Engineering at Government Polytechnic, Dharashiv. The application features Next and Previous buttons to navigate through a collection of motivational quotes, aiming to enhance user engagement. The report includes acknowledgments, methodology, programming details, and references related to Android app development.

Uploaded by

masihasilveya
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)
8 views18 pages

MYFINALANDROID

The project report presents a 'Quotes Generator' application developed as part of a diploma in Computer Engineering at Government Polytechnic, Dharashiv. The application features Next and Previous buttons to navigate through a collection of motivational quotes, aiming to enhance user engagement. The report includes acknowledgments, methodology, programming details, and references related to Android app development.

Uploaded by

masihasilveya
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

A

Project Report

On

“ Quotes Generator ”
Submitted In Partial Fulfilment of the Requirement for the award of Diploma
in Computer Engineering of Government Polytechnic, Dharashiv
Affiliated to

Maharashtra Technical Board of Education

Submitted By
Masiha Silviya Santosh

Guided by
Mr. Mangesh Dhaj

Department of Computer Engineering


Government Polytechnic College, Dharashiv

1
Certificate

Government Polytechnic, Dharashiv

This to certify that Ms. Silviya Santosh Masiha Roll No. 32 of 6th Semester of
diploma in Computer engineering has completed the term work satisfactorily in
Mobile Application Development (MAD) For academic year 2024-2025 as
prescribed in the curriculum.

Place: Dharashiv Enrolment No: 2201180234


Date: / /2025 Exam seat no:

Subject Teacher Head of the Department Principle

Mr. M. Dhaj Mr. A. B. Gaikwad Mr. S. L. Andhare

2
ACKNOWLEDGMENT

I take this opportunity to express my profound gratitude and deep regards to my


guide Mr. Mangesh Dhaj sir for his exemplary guidance, monitoring and constant
encouragement throughout the course of this project. The blessing, help and
guidance given by him time to time shall carry me a long way in the journey of life
on which I am about to embark.

I also take this opportunity to express a deep sense of gratitude to Mr. A. B.


Gaikwad for their cordial support, valuable information and guidance which
helped me in completing this task through various stages.

I am obliged to staff members of Government Polytechnic Dharashiv, for the


valuable information provided by them in their respective fields. I am grateful for
their cooperation during the period of my assignment.

Lastly, I thank almighty, my parents and my classmates for their constant


encouragement without which this assignment would not have been possible.

3
INDEX

Sr.
no.
Content Page no.

1 Annexure 1 & 2 5-7

2 Language description 8-9

3 Program 10- 13

4 Output 14-16

5 Conclusion 17

6 References 18

4
Annexure - I

Micro-Project Proposal for Quotes Generator

1.0 Aim of the Micro-Project:

The aim of the project is a simple application which will have the Next and Previous buttons to
change the quotes.

2.0 Intended Course Outcomes:

 Interpret features of Android operating system.


 Configure Android environment and development tools.
 Develop rich user interfaces by using layouts and controls.
 Use user interface components for android application development.

3.0 Proposed Methodology:

This micro project aims to developing a quotes generator app using mobile application
development.

 Study the concept of mobile application development.


 Study to create small programs to understand the concepts.
 Prepare code for app and build an applications and frames.
 Test the application.
 Prepare the final report.

5
Annexure – II
1.0 Rationale:

Quote generators are a popular feature in mobile applications, particularly those focused on
motivation, inspiration, or self-improvement. Quote generators are relatively simple to
implement in mobile applications. Developers can create a database of quotes and display them
randomly using code. This means that even novice developers can create a quote generator
feature for their applications. Quote generators can help increase user engagement with an
application. Users can interact with the application by refreshing the quote or sharing it on
social media, which can lead to increased usage and user retention.

2.0 Aim of the Micro-Project:

The aim of the project is a simple application which will have the Next and Previous buttons to
change the quotes.

3.0 Course Outcomes Achieved:

 Interpret features of Android operating system.


 Configure Android environment and development tools.
 Develop rich user interfaces by using layouts and controls.
 Use user interface components for android application development.

4.0 Literature Review:

A quote generator application is a type of mobile application that randomly displays quotes on a
user's screen. The quotes can be sourced from a database of pre-selected quotes or generated
dynamically based on a specific category or theme. Quote generator applications are typically
designed to provide users with a source of motivation, inspiration, or reflection. They can be used
in a variety of contexts, including self-improvement, mindfulness, meditation, or daily motivation.
Users can interact with the application by refreshing the quote, sharing it on social media, or saving
it for future reference. Quote generator applications are popular due to their simplicity, ease of
development, and potential to increase user engagement and retention.

6
5.0 Actual Methodology Followed:

This micro project aims to developing a quotes generator app using mobile application
development.

 Study the concept of mobile application development.


 Study to create small programs to understand the concepts.
 Prepare code for app and build an applications and frames.
 Test the application.
 Prepare the final report.

7
LANGUAGE DESCRIPTION

 Android:

Java is a key programming language for Android app development, providing a robust ecosystem
and mature tooling. It allows developers to create activities, manage user interactions, and handle
data effectively within Android applications. ### Android App Development with Java

 Overview of Android Development:

 Android applications can be developed using Java, Kotlin, or C++.


 Java is widely used due to its extensive libraries and frameworks that simplify app
development.
 Android Studio is the official IDE for Android development, providing tools for coding,
debugging, and testing.

 Manifest File:
The AndroidManifest.xml file is essential for declaring app components and permissions.

It specifies the app's name, icon, and the minimum API level required

 User Interface Design:

 Android uses XML for layout design, allowing developers to create responsive and
adaptive interfaces.

 UI elements include buttons, text fields, and lists, which can be customized for different
screen sizes and orientations.

8
 Data Management:

 Android provides various options for data storage, including:

 Shared Preferences for simple key-value pairs.

• SQLite for structured data storage.


• Room as an abstraction layer over SQLite for easier database management.

9
PROGRAM

MainActivity.java file:
package com.example.quotesgenerator;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle; import android.view.View;

import android.widget.Button;

import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

private TextView quoteTextView;

private Button previousButton;

private Button nextButton;

private String[] quotes = {"Great things in business are never done by one person, They are done
by a team---Steve Jobs",

"To succeed in your mission, you must have single-minded devotion to your goal---A P J Abdul
Kalam",

"Many people will walk in and out of your life, but only true friends will leave footprints in your
heart-Many people will walk in and out of your life, but only true friends will leave footprints in
your heart---Eleanor Roosevelt",

"Don't worry about being successful but work toward being significant and the success will
naturally follow---Oprah Winfrey",

"Do not go where the path may lead, go instead where there is no path and leave a trail---Ralph
Waldo Emerson"};

10
private int currentQuoteIndex = 0;

@Override

protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

quoteTextView = findViewById(R.id.quoteTextView);

previousButton = findViewById(R.id.previousButton);

nextButton = findViewById(R.id.nextButton);

displayQuote();

previousButton.setOnClickListener(new View.OnClickListener()

@Override

public void onClick(View view)

if (currentQuoteIndex > 0)

{ currentQuoteIndex--; displayQuote(); } } });

nextButton.setOnClickListener(new View.OnClickListener() {

@Override

public void onClick(View view)

{ if (currentQuoteIndex < quotes.length - 1)

{ currentQuoteIndex++; displayQuote();

11
} } });

} private void displayQuote()

{ quoteTextView.setText(quotes[currentQuoteIndex]); } }

 Activity_main.xml:

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

<LinearLayout

xmlns:android="http://schemas.android.com/apk/res/android"

android:orientation="vertical"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:padding="16dp">

<TextView

android:id="@+id/quoteTextView"

android:layout_width="match_parent"

android:layout_height="0dp"

android:layout_weight="1"

android:textSize="24sp"

android:textColor="@color/black"

android:textFontWeight="@integer/material_motion_duration_long_2"

android:gravity="center"/>

12
<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_gravity="center_horizontal">

<Button

android:id="@+id/previousButton"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_marginLeft="65dp"

android:layout_marginBottom="55dp"

android:text="Previous" />

<Space

android:layout_width="16dp"

android:layout_height="wrap_content" />

<Button

android:id="@+id/nextButton"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Next" />

</LinearLayout>

13
OUTPUT OF THE PROGRAM

14
15
16
CONCLUSION

Quote generator applications are a popular feature in mobile application development due to their
simplicity, ease of implementation, and potential to increase user engagement and retention. These
applications provide users with a source of motivation, inspiration, or reflection, and can be
integrated into a wide range of mobile applications, from health and wellness apps to productivity
and motivation tools.

17
REFERENCES

1. Android Development Basics

📌 Official Android Developer Guide (UI & Views)


📌 Handling Button Clicks in Android

2. Java/Kotlin for Android

📌 Java Programming for Android


📌 Kotlin for Android Developers

18

You might also like