You are on page 1of 55

BETAIL HUB

(Android Application)
By

Saad bin Sajid Hassan Shahid


2016- GCUF-017077 2016-GCUF-017094

Project submitted in partial fulfillment of


the requirements for the degree of

BACHELOR OF SCIENCE
IN
COMPUTER SCIENCE

DEPARTMENT OF COMPUTER SCIENCES


GOVERNMENT COLLEGE UNIVERSITY, FAISALABAD
SAHIWAL CAMPUS

June 2020

1
DECLARATION
We hereby declare that this software, neither whole nor as a part has been copied out from
any source. It is further declared that we have developed this software and accompanied
report entirely on the basis of our personal efforts. If any part of this project is proved to be
copied out from any source or found to be reproduction of some other. We will stand by the
consequences. No Portion of the work presented has been submitted of any application for
any other degree or qualification of this or any other university or institute of learning.

Saad bin Sajid Hassan Shahid

--------------------------- ------------------------

2
CERTIFICATE OF APPROVAL
It is to certify that the final year project of BS(CS) “Betail Hub” was developed by M Saad
bin Sajid Registration number 2016-GCUF-017077 and Hassan Shahid Registration number
2016-GCUF-017094 the supervision of “Mr. Naveed” that in his opinion; it is fully adequate,
in scope and quality for the degree of Bachelors of Science in Computer Sciences.

Signature of Supervisor ………………….


Name: ……………………………………..
Designation with Stamp……………………….

Co-Supervisor (if any)


Signature ………………………………….
Name: ……………………………………..
Designation with Stamp……………………….

Member of Supervisory Committee


Signature ………………………………….
Name: ……………………………………..
Designation with Stamp……………………….

Member of Supervisory Committee


Signature ………………………………….
Name: ……………………………………..
Designation with Stamp……………………….

Chairperson
Signature with Stamp……………………………

Dean / Academic Coordinator


Signature with Stamp……………………………

3
Acknowledgement
All praise is to Almighty Allah who bestowed upon us a minute portion of His boundless
knowledge by virtue of which we were able to accomplish this challenging task. We are
greatly indebted to our project supervisor “Mr. Naveed”. Without their personal supervision,
advice and valuable guidance, completion of this project would have been doubtful. We are
deeply indebted to them for their encouragement and continual help during this work.

And we are also thankful to our parents and family who have been a constant source of
encouragement for us and brought us the values of honesty & hard work.

M Saad bin Sajid


Hassan Shahid

4
Abstract
Domesticated animals cultivating have for quite some time been a significant segment of
many cultivating and reproducing frameworks. They are utilized for the creation of milk,
dairy items like cheddar, spread, ghee, cream, meat, and so forth and furthermore with the
end goal of Qurbani. which is a significant wellspring of good wellbeing just as great pay for
various families. As the population is developing quickly, this business is additionally
developing at a fast rate. Along these lines, understanding the necessities of both the dairy
cattle purchaser and the vender we have structured an Android-based Application that can
assume an indispensable job in their business, and the individuals can undoubtedly sell and
buy the creatures online by without going into the "Cattle Markets". As in 2020 COVID 19
has made everything terrible and there's lockdown wherever everywhere throughout the
world and these days particularly in Pakistan so assembling individuals and group isn't
permitted these days and individuals can't be accepting purchase from the open places so this
application will assume a significant job in the managing for creatures. It's an Android
application project that allows the administrator to deal with all the exercises about the
criticism and reports from the clients about phony profiles and not god wellbeing creatures.
By utilizing this application User can do sale purchase of animals online like selling and
buying different things by the needful individuals rapidly and securely. Utilizing this, the
executive doesn't need to sit and deal with the whole exercises on paper and simultaneously,
the head will feel great to keep check of the entire framework just with the accessibility of the
web. This project will give this business the force and adaptability to deal with the whole
system from the single online application entrance. There are multi kinds of cows. The
creatures that are reproducing for the deals of the items like eggs or fleece and so on are
called business steers. The framework is extremely helpful for the individuals of dairy or the
individual who is identified with the matter of animals as sitting under one rooftop they can
see, break down, purchase or sell the cows as per their prerequisites. They don't have to go
entryway to entryway for a similar reason. The helpline number is additionally given to the
purchasers to a wide range of help. we are additionally giving the Food data like which food
is better for more milk and for more meat and by utilizing that feed creatures keep sound and
dynamic. An individual who needs to sell their creature can post the ads about the creature by
transfer their image and give the total insights concerning the cost of selling, stature, shading
and kind of creatures and furthermore share his contact details so the purchaser can
legitimately reach him by means of cellphone or this framework have likewise a live visit
choice where client can text and start a discussion utilizing this application without sharing
his contact subtleties. It's a safe correspondence source to communication with the customers

5
and purchasers in the event that you need to sell out your creature. It's an incredible
development in this area and help out the individuals much in true issues.

DEDICATION

This project is dedicated to our loving parents, siblings and our beloved teachers
who give us their full morale support to work hard day and night

6
Table of Contents

1. INTRODUCTION..............................................................................................................2
1.1. Introduction..................................................................................................................3
1.2. Relevance to Course Modules.....................................................................................4
1.2.1. Introduction to Computer Programming (CSC103).............................................4
1.2.2. Object Oriented Programming (CSC241)............................................................4
1.2.3. Advance OOP (CSC446)......................................................................................4
1.2.4. Software Engineering (CSC291 & CSC392).......................................................4
1.3. Project Background.....................................................................................................4
1.4. Purpose........................................................................................................................5
1.5. Functionalities..............................................................................................................5
1.6. History.........................................................................................................................5
1.7. Benefits........................................................................................................................6
1.8. Objectives....................................................................................................................6
1.9. Tools and Technology.................................................................................................6
2. STATE OF THE ART........................................................................................................8
2.1. STATE OF THE ART.................................................................................................9
2.2. Related Work...............................................................................................................9
2.3. Limitations of System..................................................................................................9
2.3.1. Internet Availability.............................................................................................9
2.3.2. Account Registrations..........................................................................................9
2.3.3. Android Cellphone.............................................................................................10
2.3.4. Clients Trust.......................................................................................................10
3. METHODOLOGY & WORKPLAN...............................................................................11
3.1. Methodology and Work plan.....................................................................................12
3.2. Application Architecture...........................................................................................12
3.3. Existing Methodology...............................................................................................12
3.4. Comparison of the models.........................................................................................13
3.5. Adopted Methodology...............................................................................................14
3.6. Qualities of an Incremental module incorporates......................................................14
3.7. When to use Incremental models?.............................................................................15
3.8. Advantages and Disadvantages of Incremental Model.............................................16
3.9. Roles & Responsibilities............................................................................................16
4. SYSTEM ANALYSIS & DESIGN..................................................................................17
4.1. SYSTEM ANALYSIS & DESIGN...........................................................................18
4.2. Requirement Analysis................................................................................................18
4.3. Functional Requirements...........................................................................................19
7
4.4. Non-Functional Requirements:..................................................................................20
4.5. Database Requirements.............................................................................................21
4.6. Use Case....................................................................................................................21
4.7. Data Representation...................................................................................................28
4.8. Process Flow/Representation.....................................................................................28
4.9. Design Models [along with descriptions]..................................................................28
4.10. Sequence Diagram.................................................................................................28
4.11. Activity Diagram....................................................................................................29
5. SYSTEM IMPLEMENTATION.....................................................................................31
5.1. SYSTEM IMPLEMENTATION...............................................................................32
5.2. Introduction................................................................................................................32
5.3. User Interface.............................................................................................................32
6. TESTING AND EVALUATION.....................................................................................37
6.1. Testing and Evaluation..............................................................................................38
6.2. Manual Testing..........................................................................................................38
6.3. System Testing...........................................................................................................39
6.4. Objective Testing.......................................................................................................39
6.5. Usability Testing........................................................................................................39
6.6. Software Performance Testing..................................................................................39
6.7. Compatibility Testing................................................................................................40
6.8. Load Testing..............................................................................................................40
6.9. Security Testing.........................................................................................................40
6.10. Installation Testing.................................................................................................40
6.11. Unit Testing............................................................................................................40
6.12. Functional Testing..................................................................................................41
6.13. Automated Testing:................................................................................................42
7. CONCLUSION AND FUTURE WORK.........................................................................43
7.1. Conclusion and Future Work.....................................................................................44
7.2. Advantages................................................................................................................44
8. REFERENCES.................................................................................................................46
8.1. Reference...................................................................................................................47

8
List of Figures
Figure 1:Requirement Gathering..............................................................................................18
Figure 2: System Level Use Case.............................................................................................21
Figure 3: Sign Up Use Case.....................................................................................................22
Figure 4: Sign in.......................................................................................................................23
Figure 5: Post Ad Use Case......................................................................................................24
Figure 6: Admin Sign up..........................................................................................................25
Figure 7: Admin Sign in...........................................................................................................26
Figure 8: Admin view...............................................................................................................27
Figure 9: Sequence Diagram....................................................................................................29
Figure 10: Activity diagram.....................................................................................................30
Figure 11: Splash Screen..........................................................................................................32
Figure 12: Welcome Screen.....................................................................................................33
Figure 13: Sign Up Screen.......................................................................................................33
Figure 14: Sign In Screen.........................................................................................................34
Figure 15: Ad post Screen........................................................................................................34
Figure 16: User Account Screen..............................................................................................36

9
CHAPTER 1

1. INTRODUCTION

10
1.1. Introduction
Livestock farming have for quite some time been a significant segment of many farming and
reproducing system. They are utilized for the creation of milk, dairy items like cheddar,
spread, ghee, cream, meat, and so forth and furthermore with the end goal of Qurbani. which
is a significant wellspring of good wellbeing just as great pay for various families. As the
populace is developing quickly, this business is additionally developing at a fast rate. Along
these lines, understanding the necessities of both the dairy cattle purchaser and the vender we
have structured an Android-based Application that can assume an indispensable job in their
business, and the individuals can undoubtedly sell and buy the creatures online by without
going into the "Mandi". As in 2020 COVID 19 has made everything terrible and there's
lockdown wherever everywhere throughout the world and these days particularly in Pakistan
so assembling individuals and group isn't permitted these days and individuals can't be
accepting creatures through the "Mandi" or from the open places so this application will
assume a significant job in the managing for creatures. It's an Android application venture
that permits the administrator to deal with all the exercises about the criticism and reports
from the clients about phony profiles and not god wellbeing creatures. By utilizing this
application User can do bargain online like selling and buying different creatures by the
needful individuals rapidly and securely. Utilizing Interactive Graphical User Interface
anybody can rapidly figure out how to utilize the total framework. Utilizing this, the
executive doesn't need to sit and deal with the whole exercises on paper and simultaneously,
the head will feel great to keep check of the entire framework just with the accessibility of the
web. This framework will give this business the force and adaptability to deal with the whole
framework from the single online application entrance. The point of the undertaking is to
offer different types of assistance to purchasers like they can choose their preferred dairy
cattle to purchase and can think about the shading, tallness, and sort of creatures, or
additionally they can sell any of their steers on the android application at the ideal selling and
buying cost. There are multi kinds of cows. The creatures that are reproducing for the deals of
the items like eggs or fleece and so on are called business steers. The framework is extremely
helpful for the individuals of dairy or the individual who is identified with the matter of
animals as sitting under one rooftop they can see, break down, purchase or sell the cows as
per their prerequisites. They don't have to go entryway to entryway for a similar reason. The
helpline number is additionally given to the purchasers to a wide range of help. we are
additionally giving the Food data like which food is better for more milk and for more meat
and by utilizing that feed creatures keep sound and dynamic. An individual who needs to sell
their creature can post the promotions about the creature by transfer their image and give the
total insights concerning the cost of selling, stature, shading and kind of creatures and

11
furthermore share his contact subtleties so the purchaser can legitimately reach him by means
of cellphone or this framework have likewise a live visit choice where client can text and start
a discussion utilizing this application without sharing his contact subtleties. It's a safe
correspondence channel to speak with the customers and purchasers in the event that you
need to sell out your creature. Every client has its own record that will be produced by
information exchange yourself. you can likewise give the input about the merchant and
purchaser that will be looked into by the Admin. Clients can likewise report the other client
on the off chance that they are deluding the individuals by posting counterfeit promotions or
some other issue. So It's an incredible development in this area and help out the individuals
much in real issues. Both the user like seller and buyer have need to sign up first before
anything post to sale. It’s a great platform to deal with this cattle sale purchase farming
system.

1.2. Relevance to Course Modules


1.2.1. Introduction to Computer Programming (CSC103)
We have studied the basics of programming in this course. Using the concepts of C++, we
implemented this project.

1.2.2. Object Oriented Programming (CSC241)


Using the concepts of OOP approach in programming pattern and coding design we
implemented our project.

1.2.3. Advance OOP (CSC446)


Using the concepts of Advance OOP, application will be developed using JAVA.

1.2.4. Software Engineering (CSC291 & CSC392)


This course helped us to evaluate our development methodologies which are used in our
project.
1.2.5. Database Systems (CSC271)
In this project, we develop relational database system for efficient working of the project by
using the concepts of database systems.

1.3. Project Background


The project is related to farming System. Steers have for quite some time been a significant
part of many cultivating and rearing frameworks. They are utilized for the creation of milk,
dairy items like cheddar, spread, ghee, cream, meat, and so forth and furthermore with the
end goal of Qurbani. which is a significant wellspring of good wellbeing just as great pay for
various families. As the populace is developing quick, this business is likewise developing at
an extremely fast rate. In this way, understanding the requirements of both the steers
purchaser and the vender we have planned an Android-based Application that can assume a

12
crucial job in their business, and the individuals can undoubtedly sell and buy the creatures
online by without going into the "Creature Market". There is no such an application to
explicitly managing steers cultivating creatures so we are going to structure such an
application, that is extremely useful in this area.

1.4. Purpose
Plenty of exploration work has been done to increase the performance of livestock field. The
main purpose of this Application is to provide the platform to both seller and buyer and other
people to sell and purchase the high quality, pure cows, buffaloes and bulls etc. For the
purpose of farming and for the purpose of Qurbani in both ways people can get the desired
animals from this application with the good price range that can be affordable under his
budget. User can view all the details about the animal height, color, size, weight etc. all thing
and attributes by just sitting at home. This System will push them to appropriately deal with
the necessities of both, for example the dealer and the purchaser and help being developed
without making any unsettling influence. This System is totally secure since each client is
given their extraordinary client ID and client Password, so there is no way of any unapproved
get to. to this application.

1.5. Functionalities
 User / Admin Authentication
 User Sign up & Login
 User can view all the animal details
 Clients can do a live chat using android application built-in chat option
 User can contact with each other via cellphone number getting from the ad
 User can post the ads about the selling of his animal
 User can View information about the cow feed
 User can give the feedback about the user
 User can report the other user on fake ad or inappropriate behavior
 Admin can view all the feedback and respond to the reports
 Admin have the access to view and manage all things
 Logout used to get exit from this application

1.6. History
Cattles have for quite some time been a significant segment of many cultivating farms. They
are utilized for the creation of milk, dairy items like cheddar, spread, ghee, cream, meat and
so on which is significant wellspring of good wellbeing just as great pay for various families.
As the populace is developing quick, this business is likewise developing at an extremely fast
rate. The proposed system aims at providing the cattle domain a better way to buy or sell an

13
animal online by without going to the sell places. Before this application people go at the
place or “Animal Markets “where people came from different areas to sell or purchase the
animals If they didn’t find a good animal the whole day and fare waste that they spend to
purchase the animal. There are some websites related to this work has done but not a specific
android application designed for this work yet. As normally people used to go t the Animal
Markets for selling a purchasing of the animals and check out animals there. people came
from multiple areas and have no surety about the animal health and you can not report the
seller if they gave you an unhealthy animal so now people can use this application to buy the
cattle and animals online for Qurbani.

1.7. Benefits
 This android application will help out the people to appropriately achieve the
necessities for the both, i.e. the vender who want to sell his animal and the buyer and
the profit in growth.
 This application is totally secure since each client is given client ID and Password, so
there is zero chance of any unlawful access. People can get all info about the current
market rates of animals by sitting at their homes
 This application save the time and money that waste to find out the animal in the
animal market
 By using this application, you can get the pictures, size, weight, height and even also
know about the color and type of animal like it’s a breeding animal or milking animal
etc.
 In the Eid Ul Azha Days people can also busy Qurbani from this application by
viewing all details here on the application and just go check and purchase the animal
without wasting the time and money

1.8. Objectives
The goal of this project is to application all the details related to the animal that you want to
sell or purchase at your place in your android phone. Our application provides the complete
information about the animal as well as the food that is good for the health of animals can
also be describe in this application. It's additionally point of the venture is to offer different
types of assistance to the purchasers like they can choose their preferred cows to purchase or
likewise they can sell any of their Animal on the android application at the ideal deal cost
with no additional commission or charges.

1.9. Tools and Technology


Operating System: Windows 10 / 8 or Mac
Technology: Java, Android Virtual Device, XML
Database: Firebase
14
Tool: Android Studio 4.0
Operating System:
Operating system used to run the software and hardware installed on it for our working and
we cannot go further if your operating system is not working.
Technology:
Java: we used java programming language to build the logic of the application working and
add functionalities using this programming language by using the concepts of OOP,
inheritance and many others
Android Virtual Device: It’s used to run the application on the laptop without attaching the
any external android device
XML: Extensible Markup Language is a markup language used for the front end means
interface designing, it has tags and we can use that tags for creating the layouts
Database:
Firebase Real-time Database
Firebase gives a real time data storage. It’s a real time database and have very easy to use and
get rid of the sql tables etc.
Tools
Android Studio: Android Studio is the authority Integrated Development Environment (IDE)
for Android application. We use it to build applications by the use of Java for backend
programming and XML for the front end designing

15
CHAPTER 2

2. STATE OF THE ART

2.1. STATE OF THE ART


In this chapter, we will discuss what is “Betail Hub” providing?

16
2.2. Related Work
Cowlar: It's a site that is identify with our work smidgen. Overseeing dairy ranches can be
truly testing. We help dairy ranches remove the mystery from tasks. Our savvy neck collars
screen dairy cows every minute of every day, 365 days per year. The Installation is consistent
and takes a couple of moments. Cowlar was planned with care to guarantee no interruption in
any ranch activities. Our tough, waterproof and non-obtrusive observing framework is
agreeable for dairy animals to wear and expects almost no support. All cowlars run propelled
exclusive calculations consolidating dairy science, master information and AI to convey
noteworthy data at your doorstep. Our application gives the total data about the creature just
as the food that is useful for the wellbeing of creatures can likewise be portray in this
application. It's likewise point of the undertaking is to offer different types of assistance to the
purchasers like they can choose their preferred dairy cattle to purchase or additionally they
can sell any of their Animal on the android application at the ideal deal cost with no
additional commission or duties. To cultivate and with the end goal of Qurbani in the two
different ways individuals can get the ideal creatures from this application with the great
value extend that can be moderate under his financial plan. Client can see all the insights
regarding the creature stature, shading, size, weight and so on all thing and qualities by
simply sitting at home. This System will push them to appropriately deal with the necessities
of both, for example the vender and the purchaser and help being developed without making
any unsettling influence. This System is totally secure since each client is given their one of a
kind client ID and client Password, so there is no possibility of any unapproved get to. to this
application.

2.3. Limitations of System


Limitations of this systems are as follows:

2.3.1. Internet Availability


As you know to use this Application, the internet connection is very important. Without internet
this android application will never run and will not work. Mostly android applications that have
dealing with real life problem scenarios are not accessible without the internet and they need
continues connection to continue their work.

2.3.2. Account Registrations


User must need to be registered himself before using this system. If it’s not done the registration
phase user will never go further for the sale or purchase of the animals.

2.3.3. Android Cellphone


Android applications can only be executing on the android cellphones so user must have the
android smart phone for installation of this application

17
2.3.4. Clients Trust
Buyers have to adjust to using a computer and not viewing live animals

18
CHAPTER 3

3. METHODOLOGY & WORKPLAN

3.1. Methodology and Work plan


In this section, we will examine that what are the current approachs and which one we have
decided for execution of this venture in a viable manner, additionally we will talk about focal
points of received procedure. At whatever point a little or huge undertaking have begun to
grow, first thing all of software engineers required is strategy. Technique is a method of
building up an undertaking, where the entirety of the software engineers accumulate the
19
client's prerequisites, plan the venture, execute it, and after such a lot of testing and support of
the task, in a fulfillment of client and as indicated by the task necessities. There are a few
existing techniques that can be utilized to build up this application utilizing programming
advancement forms like Waterfall Model, Agile Methodology, Spiral Model and so on. In
any case, we utilize gradual technique in our venture

3.2. Application Architecture


The problems which are occurred in the existing applications are that they are used to sell the
animals but not interact the direct clients to client deal and take their taxes from each deal as
commission, will be overcome in proposed application. By using this application, a person
can directly contact with the buyer or can be the buyer of the animal. It’s a secure and digital
way of market. In this application in this project we give the live chat option means people ca
chat by using this application own chat option and also can get the mobile number of the
client to call to him.

3.3. Existing Methodology


These are the existing methodologies that our industry is using to develop industrial and
commercial software’s:
 Waterfall Model
 Agile Software model
 Incremental Model
 Spiral Model

20
3.4. Comparison of the models

21
3.5. Adopted Methodology
Incremental Model
Incremental Model is a procedure of programming improvement where necessities are
separated into various independent modules of the product advancement cycle. Gradual
advancement is done in ventures from investigation plan, usage, testing/check, upkeep. Every
emphasis goes through the prerequisites, structure, coding and testing stages. Furthermore,
each ensuing arrival of the framework adds capacity to the past discharge until all planned
usefulness has been executed. The framework is placed into creation when the principal
augmentation is conveyed. The main augmentation is regularly a center item where the
essential prerequisites are tended to, and valuable highlights are included the following
additions. When the center item is dissected by the customer, there is plan advancement for
the following addition

3.6. Characteristics of an Incremental module


 Framework improvement is separated into numerous smaller than expected
advancement ventures
 Fractional frameworks are progressively worked to deliver a last complete framework

 Most elevated need prerequisite is handled first

22
 When the prerequisite is created, necessity for that addition are solidified

23
Incremental Phases Activities performed in incremental phases

Requirement Analysis  Requirement and specification of the software


are collected

Design  Some high-end function are designed during this


stage

Code  Coding of software is done during this stage

Test  Once the system is deployed, it goes through the


testing phase

3.7. When to use Incremental models?


 Requirements of the system are clearly understood
 When demand for an early release of a product arises
 When software engineering team are not very well skilled or trained
 When high-risk features and goals are involved
 Such methodology is more in use for web application and product based companies

3.8. Advantages and Disadvantages of Incremental Model


Advantages Disadvantages
 By using this model our software  High level of planning required for
can be developed more quickly this model

 It is very simple and does not take  All requirements cannot get by the
much cost to work architecture

 Throughout the development stages  Iteration does not overlap n


anywhere the change comes will be
welcomed

 Low cost as compared to the other  It takes much time


models

 A customer can respond to each  


building

 We can identify errors easily  

24
3.9. Roles & Responsibilities
Android application development Project development team is consisting of two members. In
order to complete our goal, documentation and development of project is equally distributed
among both of us and each member work on parallel to avoid wastage of time. So we are able
to complete this project on time.

CHAPTER 4

4. SYSTEM ANALYSIS & DESIGN

25
4.1. SYSTEM ANALYSIS & DESIGN
In this section prerequisites examination, achievability study, arranging, gauging,
demonstrating, booking and structure of the task is talked about. For building up any task, the
serious issue is necessity gathering. Posing inquiries from customers is clear than gathering
necessities. We will likewise concentrate on utilitarian and non-useful prerequisites. The
strategy for social event necessities has its own characterized methodology as per the
unpredictability of the application. To characterize venture timetable and handling, various
models and methods additionally centered around this part A requirement can be known as a
condition that must be handled by a product or an application. Techniques that can be used
for collecting requirements are as follows:
• By study and meetings
• By perceptions
• Using programming devices
• Using procedures for dynamic
• Use of model
The techniques we have used to collect requirements are Figure 1:Requirement Gathering
observations and conduct meetings with the gasoline station
managers.
A significant piece of the investigation stage is to drawing the charts of Use cases. They are
utilized through the period of investigation of an undertaking to discover and separate
usefulness of the application. Application is isolated into entertainers and use cases. On-
screen characters assume the job that are played by the application clients. Use cases
characterize the application conduct when one of the entertainers sends a specific inspiration.
This sort of conduct can be portrayed by text. It depicts the inspiration nature that actuates
use case, the data sources and yields to some different entertainers and the conduct of
26
transformation of contributions to the yields. Generally, the utilization case depicts
everything that can turn out badly during the point by point conduct and what will be useful
activity taken by the application. A portion of the utilization cases are as per the following:

4.2. Requirement Analysis


Requirement Analysis is the way toward arranging, determining and considering the general
previous needs of the application prerequisites. Prerequisites investigation is additionally
partitioned into three sections: Functional Requirements
 Non-Functional Requirements
 Database Requirements

4.3. Functional Requirements


Functional requirements are the requirements that the system must have to provide after the
successful installation of the project. Functional requirements are basically the need of the
users. Functional requirements tell the behavior of the applications in different situations and
in different environments with different types of input values. Functional requirements
explain the essential activities that system must accomplish. The practical requirements for
the System are divided into the two parts, one is software part and second is hardware part.
FR-1 User Sign up
 The user should be registered in the system. When he opened it will be show user
name and password.
 In this system user can insert his username
 In this system user can insert his password
 In this system user can insert the email address
 The application allows the user to sign up to the system by ticking on the ‘Sign up
button.
FR-2 User Sign in
 The user should be registered in the system. When he opened it will be show user
name and password.
 In this system user can insert his username
 In this system user can insert the password
 The system give access the user to enter in to the system by ticking on the ‘Sign in
button.
FR-3 Post Ads
 The user should be registered in the system.

27
 In this system user can insert the price of the animal
 In this system user can insert the height of the animal
 In this system user can insert the weight of the animal
 In this system user can insert the color of the animal
 In this system user can insert the Age of the animal
 In this system user can insert the location of his address.
 The system shall give access to the user to post ad by clicking on the post ad button.
FR-4 Admin Sign up
 The Admin should be registered in the system. When he opened it will be show user
name and password.
 In this system admin can insert to insert his username
 In this system admin can his password
 In this system admin can insert the email address
 The app shall give access the Admin to sign up to the system by ticking on the ‘Sign
up button.
FR-5 Admin Sign in
 In this system admin can his username
 In this system admin can his password
 The android application allows the admin to insert to the system by connecting on the
‘Sign in button.
FR-6 Admin View
 The android application allows the admin to view the feedbacks provided by the users
 The android application allows the admin to check out the report users by other user
due to fake posting

4.4. Non-Functional Requirements:


Non Functional Requirements characterize the requirements as far as execution, plan
imperatives, measures consistence, unwavering quality, accessibility, security, viability, and
convey ability.
Availability
 The Application must be receptive and will be available each time.
 Availability with Bluetooth connection is the major requirement of the application.
 Application must be work on time efficiently.
 Application connectivity time must be good.
Maintainability

28
Making changes or upgradeability in the site won't be that much troublesome. By having
some information on programming, a few highlights of the application may be changed over
to another adaptation.
Performance
 This application must perform the action on time without any long delay.
 Over Application through an output in time.
 This Application perform efficiently.
Security
Portability
 This is android-based application that is why there is no problem in portability
process.

Supportability
 This Application support and provide Information helpful for identifying and
resolving issues when it fails to work correctly.

4.5. Database Requirements


We have utilized Firebase Real time database for this application. The Firebase Realtime
Database is a cloud-encouraged database. Data is taken care of as JSON and synchronized in
realtime to each related client. Right when you build cross-stage applications with our iOS,
Android, and JavaScript SDKs, the sum of your clients share one Realtime Database event
and therefore get invigorates with the most current data.

29
4.6. Use Case
System Level

Figure 2: System Level Use Case

Actors:
 Actor must be a User /Admin
Basic Path:
 The system shall allow the Actor to get themselves registered by Signing up
 The application give access to the Actor to enter into the system by Signing in
 The application give access to Actor to post an ad for selling his animal
 The application give access to view all the available ads
 The application give access to Actor to view the all animal foods
 The app shall allow the admin to view and check reports
 The android app allows the Actor to get exit by logout button

Non Functional Requirements:


 Availability of application

30
 Reliability
 Robustness
 Good Response time
User Sign up

Figure 3: Sign Up Use Case

Actors:
 Actor must be a User
Basic Path:
 The application give access the user to insert his username
 The application give access the user to insert his password
 The application give access the user to insert the email address
 Application give access to sign up to the system by clicking on the ‘Sign up button.
Non Functional Requirements:
 Availability of application
 Reliability
 Robustness
 Good Response time

Sign in
31
Figure 4: Sign in

Actors:
 Actor must be a User
Basic Path:
 The user should be registered in the system. When he opened it will be show user
name and password.
 The application give access the user to insert his username
 The application give access the user to insert password
 The application give access the user to insert system by clicking on the ‘Sign in
button.
Non Functional Requirements:
 Availability of application
 Reliability
 Robustness
 Good Response time
Post Ads

32
Figure 5: Post Ad Use Case
Actors:
 Actor must be a User
Basic Path:
 The user should be registered in the system. When he opened it will be show user
name and password.
 The application give access the user to insert his username
 The application give access the user to insert his password

33
 The application give access the user to insert to the system by clicking on the ‘Sign in
button.
Non Functional Requirements:
 Availability of application
 Reliability
 Robustness
 Good Response time

Admin Sign up

Figure 6: Admin Sign up

Actors:
 Actor must be an Admin

Basic Path:
 The application give access to the user to insert the price of the animal
 The application give access to the user to insert the height of the animal
34
 The application give access to the user to insert the weight of the animal
 The application give access to the user to insert the color of the animal
 The application give access to the user to insert the Age of the animal
 The application give access to the user to insert the location of his address.
 The application give access to the user to post ad by clicking on the post ad button.
Non Functional Requirements:
 Availability of application
 Reliability
 Robustness
 Good Response time

Admin Login

Figure 7: Admin Sign in

Actors:
 Actor must be an Admin
Basic Path:
 The user should be registered in the system. When he opened it will be show user
name and password.
 The application give access the admin to insert his username
 The application give access the admin to insert the password
 The application give access the admin to insert to the system by clicking on the ‘Sign
in button.
Non Functional Requirements:
 Availability of application
 Reliability
 Robustness

35
Admin View

Figure 8: Admin view

Actors:
 Actor must be a Admin
Basic Path:
 The application give access the admin to view the feedbacks provided by the users
 The application give access the admin to check out the report users by other user due
to fake posting
Non Functional Requirements:
 Availability of application
 Reliability
 Robustness
 Good Response time

4.7. Data Representation


Information alludes to the images that speak to individuals, occasions, things, and thoughts.
Information can be a name, a number, the hues in a photo, or the notes in a melodic synthesis.
• Data Representation alludes to the structure where information is put away, handled, and

36
transmitted. • Devices, for example, cell phones, iPods, and PCs store information in
advanced configurations that can be taken care of by electronic hardware.

4.8. Process Flow/Representation

A Process Flow Diagram (PFD) is a kind of flowchart that represents the connections
between significant parts at a mechanical plant. It's frequently utilized in synthetic designing
and procedure building, however its ideas are in some cases applied to different procedures
too. It's utilized to archive a procedure, improve a procedure or model another one.
Contingent upon its utilization and substance, it might likewise be known as a Process Flow
Chart, Flowsheet, Block Flow Diagram, Schematic Flow Diagram, Macro Flowchart, Top-
down Flowchart, Piping and Instrument Diagram, System Flow Diagram or System Diagram.
They utilize a progression of images and documentations to portray a procedure. The images
fluctuate in better places, and the charts may run from straightforward, hand-drawn scribbles
or clingy notes to proficient looking graphs with expandable detail, delivered with
programming.

4.9. Design Models [along with descriptions]


A plan model in Software Engineering is an article based picture or pictures that speak to the
utilization cases for a framework. Or then again to put it another way, it is the way to depict a
framework's execution and source code in a diagrammatic manner. This sort of portrayal has
two or three focal points. In the first place, it is a more straightforward portrayal than words
alone. Second, a gathering of individuals can take a gander at these straightforward graphs
and rapidly get the general thought behind a framework. At long last, it comes down to the
familiar aphorism, 'words usually can't do a picture justice
The applicable models may include:

 Sequence Diagram
 Activity Diagram

4.10. Sequence Diagram


A sequence diagram shows object interactions arranged in time sequence. It delineates the
items and classes associated with the situation and the arrangement of messages traded
between the articles expected to complete the usefulness of the situation.

37
4.11. Acti
v
i
t
y

Figure 9: Sequence Diagram

Diagram
Activity diagram is another important diagram in UML to describe the dynamic aspects of the
system. Movement graph is essentially a flowchart to speak to the stream starting with one
action then onto the next action. It shows the control of work flow .

38
Figure 10: Activity diagram

CHAPTER 5

39
5. SYSTEM IMPLEMENTATION

5.1. SYSTEM IMPLEMENTATION


In this chapter, we are going to focus on an implementation of our android application. In this
chapter we are going to discuss about the interface and visual contact of application. Where
user can perform many activities on web application and Admin can control all others.

5.2. Introduction
The most significant objective of this stage is to build up the application. The work in this
stage ought to be significantly more clear because of the work done in the arranging and
configuration stages. This stage
includes changing plan particulars
into executable projects. At the point
when the plan is there, designers can have
a thought of the vibes of the application.
All that is required by designers is
to placed them in one spot to comprehend
the expected venture.

5.3. User Interface


All of these Screenshot Represent the
Project.
Splash Screen

40
Welcome Screen

Figure 12: Welcome Screen


Sign Up Screen

41
 The application give access the user to insert his username
 The application give access the user to insert his password
 The application give access the user to insert the email address
 Application give access to sign up to the system by clicking on the ‘Sign up button.

Sign in Screen

Figure 14: Sign In Screen


Ads Post

42
 The user should be registered in the system. When he opened it will be show user
name and password.
 The application give access the user to insert his username
 The application give access the user to insert his password
 The application give access the user to insert to the system by clicking on the ‘Sign in
button.
43
User Account View

Figure 16: User Account Screen

44
CHAPTER 6

6. TESTING AND EVALUATION

6.1. Testing and Evaluation


Testing of the product guarantees that either the necessary usefulness is created or not?
Testing has been finished in various stages at culmination of each unit before propelling the
following stage. A procedure of proceeding as application or program with the expectation of
discovering blunders and whether the application is satisfying client needs. It can likewise be
characterized as the capacity of a program in meeting the required or wanted outcomes. In
numerous strategies of programming designing, a different stage is called period of testing
which is performed after the culmination of the execution. There is an advantage in utilizing
this methodology that it is difficult to see one's own slip-ups, and an open-minded perspective
can discover perceptible blunders a lot quicker than the individual who has perused the
material ordinarily.

45
6.2. Manual Testing

6.3. System Testing


When the framework has been effectively evolved, testing must be performed to guarantee
that the framework filling in as proposed. This is additionally to watch that the framework
meets the necessities expressed before. Other than that, framework testing will help in finding
the blunders that might be escaped the client. There are hardly any sorts of testing which
incorporates the unit testing, practical testing and mix testing. The testing must be finished
before it is being send for client to utilize.

6.4. Objective Testing


The principle objective of target testing is to guarantee the nature of programming conveyed.
The significant objective of target testing is to test whether all the parts of the framework
usefulness effectively?
We have successfully done objective testing. All the components of the project or system are
working efficiently.

46
6.5. Usability Testing
This testing is done to quantify how much the framework is easy to understand and simple to
utilize. Our framework has effectively passed the convenience testing stage. Its Graphical
User Interface is effectively reasonable. All the clients comprehend the usefulness of
framework without any problem.

6.6. Software Performance Testing


Programming execution testing is execution to check the proficiency and unwavering quality
of the framework. In programming quality confirmation, execution testing is when all is said
in done a testing practice performed to decide how a framework acts regarding
responsiveness and security under a specific remaining task at hand

6.7. Co
m
pa
tib
ilit
y

Figure 21: Performance Testing

Testing
Compatibility testing is supported out to check the compatibility of the system software on
multiple platform. So this project has successfully passed this test it runs on latest browsers
and work efficiently

6.8. Load Testing


Burden testing is completed to know the conduct of the framework under the particular
anticipated burden. The product is tried in heap of numerous clients getting to assets
simultaneously; the framework reaction time was acceptable.

6.9. Security Testing


This testing is carried out to disclose the weakness in the software. This system is secure all
the accounts managed by admin.

47
6.10. Installation Testing
Installation testing is conceded out to install the software. We have effectively installed this
project on our system and run on our windows, it works perfectly.

6.11. Unit Testing


Unit Testing 1: Login as a User and admin
Testing goals: To make sure that the login form and signup form is working perfectly

No Test Case Attribute and Value Expected Result


Result
01 User Login by Username: User Pass
entering the test@gmail.com Successfully
username and Password: test1234 logged in to the
password system
02 Admin Login by Username: Admin Pass
entering the admin@gmail.com Successfully
username and Password: 123456 logged in to the
password system
03 If the User has not Enter Name Successfully Pass
registered himself Enter Password Registered as a
he needs to be Confirm Password new user
registered first by Enter Email Address
signup

Unit Testing 2: Post Ads


 Testing Objective:
The purpose of this test is to ensure that the ads are posting successfully or not so for it The
user should be registered in the system.
 The application give access to the user to insert the price of the animal
 The application give access to the user to insert the height of the animal
 The application give access to the user to insert the weight of the animal
 The application give access to the user to insert the color of the animal
 The application give access to the user to insert the Age of the animal
 The application give access to the user to insert the location of his address.
 The application give access to the user to post ad by clicking on the post ad button.

6.12. Functional Testing


The functional testing will take place after the unit testing. In this utilitarian testing, the
usefulness of every one of the module is tried. This is to guarantee that the framework
delivered meets the determinations and prerequisites.

48
Functional Testing 1: Login with multiple accounts
Objective: To ensure that the correct page with the correct navigation bar is loaded.

No. Test case/Test script Attribute and Expected result Result


value

Username:
1. Login as a User test@gmail.com Main page for the Pass
Applic
Password: test1234 ation
is loaded
Categories
And of the
show services that
the we offer in
animal the
s ads tapplication

navigation bar

6.13. Automated Testing:

Tools used:
Tool Name Tool Description Applied on [list of Results
related test cases / FR /
NFR]
Sign Up
Android Studio is the tool
that we have used for the Login
development of this Ads Posting
application. We use it as a
platform or tool where we View Feedback
can use XML and java Live Chat
language for backend and
xml for the designing View Contact Number
Android Studio purpose Log Out Pass

49
CHAPTER 7

7. CONCLUSION AND FUTURE WORK

7.1. Conclusion and Future Work


Finally, we have developed an innovative system for the industry and market. We have built
up a safe, easy to use steers Management System. This System can deal with every part
whether it is an Administrator or Buyer or the vender. This System will push them to

50
appropriately deal with the necessities of both, for example the merchant and the purchaser,
and help in development without making any issue. This Android Application is totally
secure since each client is given client ID and Password, so there is no possibility of any
unapproved get to. Enlistment and advertisements posting modules make it simpler to utilize.
Thus, utilizing this framework will help in lessening the work and give more offices to
Buyer/Seller to like the administrations. It additionally gives different sorts of data to the
haven of cows as we realize that the conventional lodging frameworks for the cows have been
outdated these days. So our site gives different sorts of data to the dairy covers for keeping
the cows securely in the houses.

As we realize that compositional plans and the material utilized for the development of safe
houses additionally influence the warm solace conditions for animals a great deal, so different
sorts of data are given to the dairy safe houses to deal with the cows as well. Deliberately
planned sheds can decrease the inward temperature, subsequently, expanding the food
consumption by steers just as expanding the milk creation, so different supportive things are
presented from time on time on the site which is very valuable for the individuals identified
with dairy. Along these lines, to put it plainly, it tends to be demonstrated a supportive
Android Application for the individuals.\

7.2. Advantages
 This System will help the people to properly manage the necessities of both, i.e. the
seller who want to sell his animal and the buyer and aid in growth without creating
any difficulty.
 This System is completely secure since every user is provided with user ID and
Password, so there is no chance of any illegal access.
 People can get all info about the current market rates of animals by sitting at their
homes
 This application save the time and money that waste to find out the animal in the
animal market
 By using this application, you can get the pictures, size, weight, height and even also
know about the color and type of animal like it’s a breeding animal or milking animal
etc.
 In the Eid Ul Azha Days people can also busy Qurbani from this application by
viewing all details here on the application and just go check and purchase the animal
without wasting the time and money

Future Work

 Publish the application on play store

51
 Designed this application also for IOS Operating System
 Generalize it for multiple purposes like for all type of animal’s sale point and also
added categories for bird’s lover so they can also get this opportunity to buy or sell
their birds directly

52
CHAPTER 8

8. REFERENCES

8.1. Reference

1) Salamony, S. M., Muchlis, D., & Prahesti, K. I. (2019, October). System application
of artificial insemination technology to the welfare level of cattle breeders in
Merauke. In IOP Conference Series: Earth and Environmental Science (Vol. 343, No.
1, p. 012169). IOP Publishing.
2) Meng, Q., Ma, X., Zhang, J., & Yu, Z. (2019). The long-term effects of cattle manure
application to agricultural soils as a natural-based solution to combat salinization.
Catena, 175, 193-202.
3) Ghoke, S. S., Singh, V. K., Raghuvaran, R., & Thorat, K. S. (2017). Therapeutic and
Persistent Efficacy of Long Acting Ivermectin against Tick Infestation in Cattle. Intas
Polivet, 18(1), 78-80.

53
4) Thangadurai, R., Venilla, M. A., & Shanmugam, P. S. (2017). Management of
mastitis in dairy cattle using herbal combination. Journal of Krishi Vigyan, 5(2), 164-
167.
5) Mumba, C., Skjerve, E., Rich, M., & Rich, K. M. (2017). Application of system
dynamics and participatory spatial group model building in animal health: A case
study of East Coast Fever interventions in Lundazi and Monze districts of Zambia.
PLoS One, 12(12), e0189878.
6) Onono, J. O., Wieland, B., & Rushton, J. (2013). Productivity in different cattle
production systems in Kenya. Tropical animal health and production, 45(2), 423-430.
7) Williams, G. S., Raper, K. C., DeVuyst, E. A., Peel, D., & McKinney, D. (2012).
Determinants of price differentials in Oklahoma value-added feeder cattle auctions.
Journal of Agricultural and Resource Economics, 114-127
8) Chymis, A. G., James Jr, H. S., Konduru, S., Pierce, V. L., & Larson, R. L. (2007).
Asymmetric information in cattle auctions: the problem of revaccinations.
Agricultural Economics, 36(1), 79-88.
9) Hamilton IV, G. B., & Hamilton, J. G. (2010). U.S. Patent Application No.
12/787,760.
10) Chymis, A. G., James Jr, H. S., Konduru, S., Pierce, V. L., & Larson, R. L. (2007).
Asymmetric information in cattle auctions: the problem of
revaccinations. Agricultural Economics, 36(1), 79-88.
11) Shuler, R. O., Godbersen, L., Norwood, J., Young, J., Fleck, W., Lind, D., ... &
Sarzen, M. J. (2009). U.S. Patent No. 7,584,136. Washington, DC: U.S. Patent and
Trademark Office.
12) Hamilton, G., & Clinton, R. (2007). U.S. Patent Application No. 11/507,022.
13) Onono, J. O., Amimo, J. O., & Rushton, J. (2015). Constraints and efficiency of cattle
marketing in semiarid pastoral system in Kenya. Tropical animal health and
production, 47(4), 691-697.
14) Cook, N. B. (Ed.). (2019). Housing to Optimize Comfort, Health and Productivity of
Dairy Cattles, an Issue of Veterinary Clinics of North America: Food Animal Practice,
E-Book (Vol. 35, No. 1). Elsevier.
15) Nagasawa, S. (1967). Seasonal prevalence of horse-flies attacking cattles. Japanese
Journal of SanitaryZoology, 18(4).
16) Arshad, S., Muhammad, S., Randhawa, M. A., Ashraf, I., & Chuadhry, K. M. (2010).
Rural women’s involvement in decision-making regarding livestock
management. Pakistan Journal of Agricultural Sciences, 47(2), 1-4.

54
17) Sheehy, J., Taylor, C. M., & Norris, D. R. (2011). The importance of stopover habitat
for developing effective conservation strategies for migratory animals. Journal of
Ornithology, 152(1), 161-168.
18) Lepo, I. A., Setiadi, A., & Sudjadmogo, S. (2013). Factors Affecting Milk Price in
Getasan District, Semarang Regency, Central Java Province, Indonesia (Number of
Cattles, Cost of Production, Quality of Milk) at the Farmer Level. Animal Agriculture
Journal, 2(1), 277-287.
19) Kumaran, P., Hephzibah, D., Sivasankari, R., Saifuddin, N., & Shamsuddin, A. H.
(2016). A review on industrial scale anaerobic digestion systems deployment in
Malaysia: Opportunities and challenges. Renewable and Sustainable Energy
Reviews, 56, 929-940.
20) Lead, C., Sandhu, H., Gemmill-Herren, B., De Blaeij, A., & VanDis, R. Online
Annexure Chapter 8 Applications of the TEEBAgriFood Framework: Case Studies for
Decision-makers.

55

You might also like