Quote App Edit
Quote App Edit
By
KULDEEP SINGH
DEEPALI GOYAL
JASHANDEEP SINGH
2023
Approved:
Project Advisor:…………….
Head:…………….
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
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
Kuldeep Singh
(Signature)
Deepali Goyal
(Signature)
Jashandeep Singh
(Signature)
Date:
ACKNOWLEDGEMENT
My mentor, Mr. Rajiender Rathi, from the Dept. of Computer at Rayan
project, he gave me this interesting idea, and gave me his help, his time
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
UI User Interface
1. INTRODUCTION
1.1. GENERAL
College for Higher Education where I did my project. I was under the
1.2. SCOPE
1.3. OBJECTIVES
Main objective behind developing this application is provide entertainment and relief to user’s
2. REQUIREMENT ANALYSIS
2.1. THEORETICALCONSIDERATIONS
Requirement analysis is the process of gathering and interpreting facts, finding problems, and
statement’. During analysis, the problem domain and the environment are
system, its input and output, etc. The basic purpose of this activity is to
• Whatarethevariouspossibilitiestointegratethisinterfaceforanorganizati on?
• Whatexactlyisthedatainputtothesystemandwhatexactlyisthedataoutpu t?
• What are the likely complexities that might arise while solving the problem?
• Problems
• Requirement gathering
• Performance requirements
3
organize the requirement into a SRS document. The SRS document usually
2.3.1. Introduction
Purpose:
Quote App. It will explain the importance and features of application, the
4
Document Convention:
• Face: Bold
• Size: 14
Subsection Titles
• Face: Bold
• Size: 12
• Face: Normal
• Size: 12
This document is intended for students, developers, project manager, users, testers, documentation writers
etc.
and
dependencies.
This section provides detailed information regarding user interfaces, hardware interfaces,
This section provides other requirements that are not included in the above section.
6
User Interfaces:
(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
Hardware Interface:
Any
Processor None
RAM 512 MB 2 GB
Storage 1 GB 2 GB
Table 2. 1: Hardware Requirements
Software Interface
ANY
Operating System None
(i) Users:
Multi-user type functionality is developed in this blog function and the perticular
(ii) Comments:
Admin can control the comments done by a user on any blog via approving or
(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
(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
3.1. DESIGNASPECTS
3.1.1. General
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
default themes of wordpress and blogger and created with custom html and css
Layout of Architecture
9
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
<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" />
<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;
findViewById(R.id.paste);
getSupportActionBar().hide();
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
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
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
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;
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;
@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);
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
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;
android.widget.Button; import
android.widget.ImageView; import
android.widget.TextView; import
android.widget.Toast;
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;
@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);
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;
@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);
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;
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(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
@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();
}
});
import
@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();
}
});
import
@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();
}
});
import
@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();
}
});
import
@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();
}
});
package com.example.quoteapp;
import androidx.appcompat.app.AppCompatActivity;
MainActivity17.java
@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
@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;
}
});
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
@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
@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
@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;
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;
@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
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
@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);
package com.example.quoteapp;
import androidx.appcompat.app.AppCompatActivity;
}
});
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
@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);
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;
}
}
last.java
package com.example.quoteapp;
90
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
}
}
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.
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
b. Rufus Stewart, "The Ultimate Beginner’s guide to learn laravel step by step”, 2nd Edition.
d. Wordpress
e. Blogger