0% found this document useful (0 votes)
28 views98 pages

Quote App Edit

The document is a project report submitted in partial fulfillment of the requirements for a Bachelor of Computer Applications degree. It was authored by Kuldeep Singh, Deepali Goyal, and Jashandeep Singh from the Department of Bachelor of Computer Application at Maharaja Ganga Singh University, Bikaner, in 2023. The report includes sections on requirement analysis, design and coding, and a conclusion. It was approved by the project advisor and department head.

Uploaded by

tapish.gumber
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)
28 views98 pages

Quote App Edit

The document is a project report submitted in partial fulfillment of the requirements for a Bachelor of Computer Applications degree. It was authored by Kuldeep Singh, Deepali Goyal, and Jashandeep Singh from the Department of Bachelor of Computer Application at Maharaja Ganga Singh University, Bikaner, in 2023. The report includes sections on requirement analysis, design and coding, and a conclusion. It was approved by the project advisor and department head.

Uploaded by

tapish.gumber
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/ 98

A Project report submitted in partial fulfillment of

The requirement for the degree of

Bachelor of Computer Applications

By

KULDEEP SINGH
DEEPALI GOYAL
JASHANDEEP SINGH

Department of Bachelor Of Computer Application

Maharaja Ganga Singh University, Bikaner

2023
Approved:

Project Advisor:…………….

Head:…………….

Department of Bachelor of Computer Application

Maharaja Ganga Singh University, Bikaner

2023

DECLARATION
I declare that this written submission represents my ideas in my own words

and where others' ideas or words have been included, I have adequately

cited and referenced the original sources. I also declare that I have adhered

to all principles of academic honesty and integrity and have not

misrepresented or fabricated or falsified any idea/data/fact/source in my

submission. I understand that any violation of the above will be cause for

disciplinary action by the Institute and can also evoke penal action from

the sources which have thus not been properly cited or from whom proper

permission has not been taken when needed.

Kuldeep Singh

(Signature)

Deepali Goyal

(Signature)

Jashandeep Singh

(Signature)

Date:
ACKNOWLEDGEMENT
My mentor, Mr. Rajiender Rathi, from the Dept. of Computer at Rayan

College of Higher Education, directed my effort in this project. During this

project, he gave me this interesting idea, and gave me his help, his time

and the tools to make my project properly.


TABLE OF CONTENTS

1. INTRODUCTION 1
2. REQUIREMENT ANALYSIS 2
2.1. THEORETICALCONSIDERATIONS 2
2.1.1. Requirement Gathering 3
2.1.2. Analysis of Gathered Requirement 3
2.2. COLLECTION OF RAWDATA 3
2.3. SYSTEM REQUIREMENT SPECIFICATIONS(SRS) 3
2.3.1. Introduction 3
2.3.2. External Interface Requirements 5
2.3.3. System Features for Admin 7
2.3.4. Software Quality Attributes: 7
3. DESIGN AND CODING 7 - 86
CONCLUSION 87
SUMMERY 87
REFERENCES 88

List Of SYMBOLS

Term Detail

IOS Android

Migrate Migration of pre-defined Database

Model Database Table Connectivity (By Model Name)


SDK Software Development Kit

SRS Software Requirement Specification

SSL Secure Socket Layer

UI User Interface

URL Uniform Resource Locator


1

1. INTRODUCTION

1.1. GENERAL

As part of my BCA, in final year a project is required. So it is in the Ryan

College for Higher Education where I did my project. I was under the

tutelage of Mr.Rajender Rathi.

1.2. SCOPE

DA BLOGs is an web platform or publishing thoughts related to any kind

of topic. Actually, the project focused on implementing thought sharing

platform of an individual to public. So it can be controlled by only one

individual of a team (ADMIN) not by the public.

1.3. OBJECTIVES

Main objective behind developing this application is provide entertainment and relief to user’s

from their day to day life.

2. REQUIREMENT ANALYSIS

2.1. THEORETICALCONSIDERATIONS

Requirement analysis is the process of gathering and interpreting facts, finding problems, and

using the information to design and develop the proposed system.


2

Analysis starts with identifying ‘system of need’ or a high level ‘problem

statement’. During analysis, the problem domain and the environment are

modelled in an effort to understand the system behavior, constraints on the

system, its input and output, etc. The basic purpose of this activity is to

obtain a thorough understanding of what the software needs to provide.

The understanding obtained by problem analysis forms the basis of

second activity system design in which the focus is to plan a solution of

the problem specified by the requirements document.

Requirement analysis involves obtaining a clear and through

understanding of the product to be developed, with a view to removing all

ambiguities and inconsistencies from the initial customer perception of the

problem. The following should first be understood clearly.

• What is the problem? (what to do)

• Why it is important for an organization?

• What to do develop this interface?

• Whatarethevariouspossibilitiestointegratethisinterfaceforanorganizati on?

• Whatexactlyisthedatainputtothesystemandwhatexactlyisthedataoutpu t?
• What are the likely complexities that might arise while solving the problem?

Once we understand the above basic questions, we set out to collect

more detail information regarding our project. During requirement

analysis, we usually carry out the following main activities:

• Problems

• Requirement gathering

• Analysis of gathering requirement

• Performance requirements
3

2.1.1. Requirement Gathering

Information gathering means collecting the information about the

system on which we working. There are various information-gathering

tools, we had used following tools for information gathering:

By meeting we have understood all the requirements and functionality that

they expect from system.

2.1.2. Analysis of Gathered Requirement

After gathering information I analyzed the collected information is to

clearly understand the exact requirement of the customer. I analysed the

existing systems well as proposed system and then I start to systematically

organize the requirement into a SRS document. The SRS document usually

contain all the user requirement in an informal form.

2.2. COLLECTION OF RAWDATA

Data of this application is parsed from youtube videos and google.

2.3. SYSTEM REQUIREMENT SPECIFICATIONS(SRS)

2.3.1. Introduction

Purpose:

The purpose of this document is to present a detailed description of the

Quote App. It will explain the importance and features of application, the
4

interface of the application, what the application will do and the

constraints under which it must operate.

Document Convention:

Main Section Title

• Font: Time New Roman

• Face: Bold

• Size: 14

Subsection Titles

• Font: Time New Roman

• Face: Bold

• Size: 12

Other Text Explanations

• Font: Time New Roman

• Face: Normal

• Size: 12

Intended Audience and Reading Suggestions:

This document is intended for students, developers, project manager, users, testers, documentation writers

etc.

This document is organized as follows:

• Section 1: Introduction (This Section)


5

This section provides a brief introduction to this document,

purpose, document conventions, intended audience, reading

suggestions, product scope and references.

• Section 2: Overall Description

This section provides general descriptions of the product and its

functions, user classes and characteristics, operating environments,

design and implementation constraints, assumptions

and

dependencies.

• Section 3: External Interface Requirements

This section provides detailed information regarding user interfaces, hardware interfaces,

software interfaces and communication interfaces.

• Section 4: System Features

This section provides detailed description of various features of system.

• Section 5: Other Non-Functional Requirements

This section provides information regarding performance

requirements, safety requirements, security requirements, software quality

attributes and business rules.

• Section 6: Other Requirements

This section provides other requirements that are not included in the above section.
6

2.3.2. External Interface Requirements

User Interfaces:

The interface will meet the following requirements to confirm to the


users’ needs:

(i) It will be simple and easy to understand. Controls which allow the user to

interact with the application will be clear and imply their functionality within the

application.

(ii) The interface will include user inputs as well as graphics. The graphics displayed

to the user will provide a visual representation of controls.

Hardware Interface:

The website is intended to be standalone application, single user system.


The website will run on any browser. No further hardware devices or
interfaces will be required.

Resource Minimum Recommended

Any
Processor None

RAM 512 MB 2 GB

Storage 1 GB 2 GB
Table 2. 1: Hardware Requirements

Software Interface

Application is developed in Laravel, is the official Framework of php.


For development version 8.0 of Laravel, version 1.52.1 of Visual Studio.
7

Minimum php server version is 7.3, for running this application is


decided.

Term Minimum Recommended

ANY
Operating System None

A Version 7.3 >7.3


Table 2. 2: Software Requirements

2.3.3. System Features for Admin

DA BLOGs contains following features:

(i) Users:

Multi-user type functionality is developed in this blog function and the perticular

type of user are allowed to perform restricted functions.

(ii) Comments:

Admin can control the comments done by a user on any blog via approving or

dis-approve the comment.

2.3.4. Software Quality Attributes:

(i) Reliability: The application will meet all the functional requirements without any

unexpected behavior. At no time should the gauge output display incorrect or outdated

information without alerting the user to potential errors.

(ii) Availability: The will be available at all times on the user’s any browser, with

internet access.

(iii) Security: The application should never collect personal information without users
permission.
8

(iv) Maintainability: The application can be maintained easily.

3. Design and Coding

3.1. DESIGNASPECTS

3.1.1. General

Designing is the most important phase of application development. It requires a

careful planning and thinking the part of the system designer.

Designing means to plan how the various parts are going to achieve the

desired goal. It should be done with atmost care because if the phase

containsany error then that will affect the performance of the system, as a result

it may take more processing time, more response time, extra coding workload

etc. It is the first of the three technical activities-designing, coding and testing

that are required to build and verify the software.

3.1.1.1. Design Objectives

• Make application user friendly

• Make application compatible

• Make application reliable and understandable.

3.1.2. Design Criteria/Parameters

For the UI of DA Blogs, basic structure is used with is inspired by some

default themes of wordpress and blogger and created with custom html and css

along with bootstrap.

Layout of Architecture
9

All the screenshots of pages are listed below :


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.quoteapp">

<application android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.QuoteApp"
tools:targetApi="31">
<activity
android:name=".last"
android:exported="false" />
<activity
android:name=".MainActivity25"
android:exported="false" />
<activity
android:name=".MainActivity24"
android:exported="false" />
<activity
android:name=".MainActivity23"
android:exported="false" />
<activity
android:name=".MainActivity22"
android:exported="false" />
<activity
android:name=".MainActivity21"
android:exported="false" />
<activity
android:name=".MainActivity20"
33

android:exported="false" /> <activity


android:name=".MainActivity19"
android:exported="false" />
<activity
android:name=".MainActivity18"
android:exported="false" />
<activity
android:name=".MainActivity17"
android:exported="false" />
<activity
android:name=".MainActivity16"
android:exported="false" />
<activity
android:name=".MainActivity15"
android:exported="false" />
<activity
android:name=".MainActivity14"
android:exported="false" />
<activity
android:name=".MainActivity13"
android:exported="false" />
<activity
android:name=".MainActivity12"
android:exported="false" />
<activity
android:name=".MainActivity11"
android:exported="false" />
<activity
android:name=".MainActivity10"
android:exported="false" />
<activity
android:name=".MainActivity9"
android:exported="false" />
34

<activity
android:name=".MainActivity8"
android:exported="false" />
<activity
android:name=".MainActivity7"
android:exported="false" />

<activity
android:name=".MainActivity6"
android:exported="false" />
<activity
android:name=".MainActivity"
android:exported="false" />
<activity
android:name=".MainActivity5"
android:exported="false" />
<activity
android:name=".MainActivity4"
android:exported="false" />
<activity
android:name=".MainActivity3"
android:exported="false" />
<activity
android:name=".MainActivity2"
android:exported="false" />
<activity
android:name=".splash1"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />


</intent-filter>
</activity>

<meta-data
35

android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts" />
</application>

</manifest>

Activities

MainActivity.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity extends AppCompatActivity {


Button btnshare, next;
TextView quote1;
ImageView paste; @Override protected void
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main); btnshare
= findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
36

findViewById(R.id.paste);
getSupportActionBar().hide();

String sharetext = quote1.getText().toString();

btnshare.setOnClickListener(new View.OnClickListener() {
@Override public void
onClick(View view) { Intent i = new
Intent();

i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity.this, MainActivity2.class );
startActivity(i);
}
});

paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

}
37

}
38

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

MainActivity2.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity2 extends AppCompatActivity {


Button btnshare, next;
TextView quote1;
ImageView paste; @Override protected void
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main2); btnshare
= findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next);
getSupportActionBar().hide(); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


39

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity2.this, MainActivity3.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity2.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}
40

MainActivity3.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity3 extends AppCompatActivity {


Button btnshare, next;
TextView quote1;
ImageView paste; @Override protected void
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main3);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste); String sharetext =
quote1.getText().toString();
btnshare.setOnClickListener(new View.OnClickListener() {
@Override public void
onClick(View view) {

Intent i = new Intent();


41

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity3.this, MainActivity4.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity3.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

}
}
42

MainActivity4.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity4 extends AppCompatActivity {


Button btnshare, next;
TextView quote1;
ImageView paste; @Override protected void
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main4);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste); String sharetext =
quote1.getText().toString();

btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
43

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity4.this, MainActivity5.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity4.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}
44

MainActivity5.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity5 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override protected void onCreate(Bundle


savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main5);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);
45
String sharetext = quote1.getText().toString();
btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity5.this, MainActivity6.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity5.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity6.java
package com.example.quoteapp;
46

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity6 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main6);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); paste =
findViewById(R.id.paste);

quote1 = findViewById(R.id.quote1);

String sharetext = quote1.getText().toString(); next =


findViewById(R.id.next); btnshare.setOnClickListener(new
View.OnClickListener() {
@Override
47
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity6.this, MainActivity7.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity6.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity7.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;
48

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity7 extends AppCompatActivity {


Button btnshare, next;
TextView quote1;
ImageView paste; @Override protected void
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main7); btnshare
= findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next);
getSupportActionBar().hide(); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();

btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
49
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity7.this, MainActivity8.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity7.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity8.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
50

android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity8 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override protected void onCreate(Bundle


savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main8);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
51
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity8.this, MainActivity9.class);
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity8.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity9.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;
52

public class MainActivity9 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main9);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity9.this, MainActivity10.class);
startActivity(i);
}
53
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity9.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity10.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity10 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;
54

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main10);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity10.this, MainActivity11.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
55
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity10.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity11.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity11 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override protected void onCreate(Bundle


savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main11);
getSupportActionBar().hide(); btnshare =
56

findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity11.this, MainActivity12.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity11.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
57
}
}
58 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
MainActivity12.java

import

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity12 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main12);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =

}
}
59

package com.example.quoteapp;

androidx.appcompat.app.AppCompatActivity;
findViewById(R.id.next); paste =
findViewById(R.id.paste);

});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity12.this, MainActivity13.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity12.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new


View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
60 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
MainActivity13.java

import

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity13 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main13);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =

}
}
61

package com.example.quoteapp;

androidx.appcompat.app.AppCompatActivity;
findViewById(R.id.next); paste =
findViewById(R.id.paste);

});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity13.this, MainActivity14.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity13.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new


View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
62 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
MainActivity14.java

import

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity14 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main14);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =

}
}
63

package com.example.quoteapp;

androidx.appcompat.app.AppCompatActivity;
findViewById(R.id.next); paste =
findViewById(R.id.paste);

});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity14.this, MainActivity15.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity14.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new


View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
64 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
MainActivity15.java

import

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity15 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main15);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =

}
}
65

package com.example.quoteapp;

androidx.appcompat.app.AppCompatActivity;
findViewById(R.id.next); paste =
findViewById(R.id.paste);

});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity15.this, MainActivity16.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity15.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new


View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
66 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
MainActivity16.java

import

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity16 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main16);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =

}
}
67

package com.example.quoteapp;

androidx.appcompat.app.AppCompatActivity;
findViewById(R.id.next); paste =
findViewById(R.id.paste);

});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity16.this, MainActivity17.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity16.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new


View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
68

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

MainActivity17.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity17 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main17);
getSupportActionBar().hide(); btnshare =
String sharetext = quote1.getText().toString();
btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
69

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity17.this, MainActivity18.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity17.this, "Copied", Toast.LENGTH_SHORT).show();
}
});

View.OnClickListener() {
70 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);

MainActivity18.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity18 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main18);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

}
}
71

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity18.this, MainActivity19.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity18.this, "Copied", Toast.LENGTH_SHORT).show();
}

View.OnClickListener() {
72 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
});

}
}
73

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

MainActivity19.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity19 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main19);
getSupportActionBar().hide(); btnshare =
String sharetext = quote1.getText().toString();
btnshare.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
74 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity19.this, MainActivity20.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity19.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}

}
75

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

MainActivity20.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity20 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main20);
getSupportActionBar().hide(); btnshare =
String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new
View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
76 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity20.this, MainActivity21.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity20.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}

}
77

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

MainActivity21.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity21 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main21);
getSupportActionBar().hide(); btnshare =
String sharetext = quote1.getText().toString(); btnshare.setOnClickListener(new
View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
78 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity21.this, MainActivity22.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity21.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}

}
79

MainActivity22.java
package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity22 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override protected void onCreate(Bundle


savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main22);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new View.OnClickListener() {
@Override
80

public void onClick(View view) {


Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);
}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity22.this, MainActivity23.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity22.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}
}

MainActivity23.java
81

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity23 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main23);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

View.OnClickListener() {
82

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new
@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);
83

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity23.this, MainActivity24.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity23.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}

View.OnClickListener() {
84 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);

MainActivity24.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity24 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main24);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new
@Override
}
85

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

public void onClick(View view) {


Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity24.this, MainActivity25.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity24.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}

View.OnClickListener() {
86 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);

MainActivity25.java

import android.content.ClipData; import


android.content.ClipboardManager;
import android.content.Context; import
android.content.Intent; import
android.os.Bundle; import
android.view.View; import
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;

public class MainActivity25 extends AppCompatActivity {


TextView quote1;
Button btnshare, next;
ImageView paste;

@Override
protected void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main25);
getSupportActionBar().hide(); btnshare =
findViewById(R.id.btnshare); quote1 =
findViewById(R.id.quote1); next =
findViewById(R.id.next); paste =
findViewById(R.id.paste);

String sharetext = quote1.getText().toString();


btnshare.setOnClickListener(new
}
87

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;

@Override
public void onClick(View view) {
Intent i = new Intent();
i.setAction(Intent.ACTION_SEND);

}
});

next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent i = new Intent(MainActivity25.this, last.class );
startActivity(i);
}
});
paste.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ClipboardManager cm = (ClipboardManager)
getSystemService(Context.CLIPBOARD_SERVICE); ClipData cd =
ClipData.newPlainText("String", sharetext); cm.setPrimaryClip(cd); cd.getDescription();
Toast.makeText(MainActivity25.this, "Copied", Toast.LENGTH_SHORT).show();
}
});
}

View.OnClickListener() {
88 i.setType("text/plain");
i.putExtra(Intent.EXTRA_TEXT, sharetext);
startActivity(i);

}
89

package com.example.quoteapp;

import androidx.appcompat.app.AppCompatActivity;
splash1.java

import android.content.Intent;
import android.os.Bundle; import
android.os.Handler; import
android.widget.Button;

public class splash1 extends AppCompatActivity {


Button btn1; @Override protected void
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash1);

new Handler().postDelayed(new Runnable() {


@Override
public void run() {
Intent i =new Intent(splash1.this, MainActivity.class);
startActivity(i);
}
}, 1200);

}
}

last.java
package com.example.quoteapp;
90

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

public class last extends AppCompatActivity {

@Override protected void onCreate(Bundle


savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_last);
getSupportActionBar().hide();

}
}
91

CONCLUSION

This application is useful in saving data and providing the same content as official website of

University of Kota.

Notification feature will be used to inform all the users of application, about any event.

Opening and checking the application is not required, notifications can be

seen on notification trary of the application.

SUMMARY

Quotes can help generate ideas within brainstorming, which can influence the ideas within the piece.
They can send you in new directions by presenting the ideas of others. Finally, quotes can be a
succinct way to fuel a writer as they pull a piece together, which will not distract them from writing
for too long.
92

REFERENCES

a. Oluwafemi Alofe, “Beginning with PHP Laravel”.

b. Rufus Stewart, "The Ultimate Beginner’s guide to learn laravel step by step”, 2nd Edition.

c. Laravel Official Documentation.

d. Wordpress

e. Blogger

You might also like