0% found this document useful (0 votes)
222 views

FYP Complete Update

This document is a project report submitted by Abdul Razaq with student ID 051-17-127228 to partially fulfill the requirements for a Bachelor of Science degree in Computer Science from the Department of Computing & Technology at Iqra University. The report describes the development of a mobile application called "Police Alert" which allows users to alert the nearest police station in case of an emergency by sending their location, photos, voice notes, or calling a helpline number directly from the app. The objectives, features, user classes, and technical details of the app are provided.

Uploaded by

Kanwal Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
222 views

FYP Complete Update

This document is a project report submitted by Abdul Razaq with student ID 051-17-127228 to partially fulfill the requirements for a Bachelor of Science degree in Computer Science from the Department of Computing & Technology at Iqra University. The report describes the development of a mobile application called "Police Alert" which allows users to alert the nearest police station in case of an emergency by sending their location, photos, voice notes, or calling a helpline number directly from the app. The objectives, features, user classes, and technical details of the app are provided.

Uploaded by

Kanwal Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 160

Abdul Razaq

051-17-127228

Ms. Faria sajjad

A Final Year Project Report is

Submitted in Partial Fulfilment of the

Requirements for the Degree of

Bachelor of Science in Computer Science

Department of Computing & Technology

Iqra University

2021

Certificate
We hereby accept the work contained in this report titled: Police Alert, as a confirmation to the required
standards for the partial fulfillment of the degree of Bachelors of Science in Computer Science.

Internal Examiner External Examiner

Project Supervisor Head of Department


Abstract
21st Century where versatile and data innovation have become a vital piece of our lives. Shrewd urban
areas have a blend of innovation and HR to improve personal satisfaction. This permits us to make strides
towards carrying out keen, safe urban areas, by utilizing the individual cell phones and informal
organizations to make individuals ready and mindful of their environmental factors. Henceforth we are
building up an android application that gives a sign of the wrongdoing to the client through an android
application. This application will upgrade the wrongdoing detailing and permit clients to report
wrongdoing just by call as well as give them the freedom to take a snap, add a voice note and message
and make the report and send it to the closest police headquarters for additional activity. This application
can alert the closest police headquarters through the visit, snap, voice note, current area and approach the
police helpline and announcing a wrongdoing episode (record wrongdoing) and wrongdoing places
coordinated, SOS alongside crisis numbers.

iii
Chapter 1 Introduction
Everyone needs to have a sense of safety in the city. In this application, you'll have the option to
alert the nearest police watch vehicle and any dubious development around you. Using this
application, you'll alert the police with an alert catch that would exhort the police concerning
your present territory using GPS, and a call alternative is additionally accessible to contact on the
police helpline. After introducing this application you'll have to enroll yourself by entering your
accreditations which incorporate the name, number, email, and place of residence. If you are a
casualty or observer of a dangerous circumstance, you may contact the police through talk, send
photographs, send a voice note, and your present area to the closest police headquarters and you
see the red zone territory which has more danger. You will stand out enough to be noticed from
the closest police headquarters. S.O.S is added, where the client can amount to five telephone
numbers to a rundown of companions, relatives, or guardians, they will be reported using SMS
and your present GPS location with the crisis message will be dispatched off them through
message once the S.O.S button is squeezed.

1.1 Overall Description


My application is a police alert application. With this application, clients can caution the police
available to come into work as well as through the web. Clients can simplify effective mediums
and speediest way, utilizing their web and cell phone. Clients will have the alternative to send
Snap, voice notes, chat, and the current area through GPS to the closest police headquarters.
Police Alert application additionally contains a rundown of red zone regions, which will be
shown inside the application. The red zone zones will be distinguished depending on the crime
percentage. There is likewise an S.O.S include in which you can enter your 5 quantities of your
general loved ones and in the event of a crisis, you can send them SMS and your present area All

v
these highlights were not accessible previously. With the police alert application, the client will
utilize all the above notices include free and without any problem. I have coordinated a sing up
page to stay away from the abuse of the application.
1.1.1. Objectives

1. Objectives are as following:


2. To caution the closest police headquarters for any crisis with simply a press of a catch. If
you are in a tough situation or see dubious movement around you.
3. To give clients effective medium this incorporates call alternatives, sharing snap, live
area and contact number of closest police headquarters to report wrongdoing and you see
the red zone region which has more danger.
4. To empower people in general to report any occurrence closes to them and assist police
with recognizing hoodlums without any problem.
5. To assistance organizations and give measure capable proof of the incident scene.
6. To empower clients to send an S.O.S to their guardians with the area and in a split second
alarm the closest police power for earnest consideration 
7. To remind the client to tell closest police headquarters or vehicle badly designed, simpler
and quickest way.

1.1.2. Problem Description

I'm making this application since individuals everywhere in the world face various wellbeing
issues. Individuals face difficulty when a crisis emerges. At the point when they call the nearest
police headquarters for help, they are generally met with a stand-by. At the point when the
telephone line is occupied, the police don't react. I will make an Android application for police
and resident assurance called the police Alert App. Since wrongdoing or crisis needs support
from individuals as quick as could be expected
1.1.3. Methodology

The proposed system will help and figure out which citizens are in a trouble situation. The user
will launch Police Alert App on the android phone, take a snap of the trouble situation and attach
a voice note or text. The app will get the current location via phone GPS (Global Positioning
System) and send the report to the nearest police station for help. Our Android app will give
users the freedom to call directly from the listed police helpline. I will adopt the incremental
model for this Application and MVC Architecture.
1.1.4. Product Scope

Police Alert application SOS administrations could help all residents of a specific region that
incorporate particularly ladies and youngsters who are confronting badgering or whatever other
issue which require police aide. This application will tell and send the report to the closest police
headquarters. Essentially press the Alert Button on this application to send a report to the closest
police headquarters. Everybody needs to have a sense of security out and about. This application
is useful to resident security. It won't waste your time. You may contact the police through talk,
send snaps, send a voice note and your present area to the closest police headquarters and you
see the red zone region which has more danger. You will stand out enough to be noticed from the
closest police headquarters. Call choice is likewise accessible to contact on the police helpline.
Clients can contact straightforwardly to the closest police headquarters through the devoted
police number recorded inside the application. S.O.S highlight is added, where the client can
amount to five telephone numbers to a rundown of companions, relatives, or gatekeepers, they
will be told through SMS and your present area with the crisis message will be shipped off them
through message once the S.O.S button is squeezed. We trust that this APP makes more security
for ladies and residents and makes the crime percentage less.

1.1.5. User Classes and Characteristics

The client should have fundamental information on utilizing the internet. This product needs two
sorts of clients. Public and police. The client can do the accompanying capacity

User:
 Sign up or log in
 Alert the closest police headquarters through Alert catch
 Contact the police through helpline number and through given recorded number of
closest police headquarters and send voice note, snap and instant message.

Police:

 Sign up and Login


 Received the Report
1.1.6. Operating Environment

This product will be working on Android Phone.

1.1.7. Assumptions and Dependencies

 The User and Police will have a functioning web association


 Both client and Police will follow Terms and Conditions

1.1. External Interface Requirements

1.1.1. User Interfaces

 Frontend: XML
 Backend: Java

1.1.2. Hardware Interfaces

 Android device

1.1.3. Software Interfaces

 Android studio
 Firebase

1.2. System Features

1.2.1. Registration

As this is the underlying phase of the application the client should enroll in the wake of

Opening the application.

1.3.1.1 Description and Priority

After launching the application users has to register. The priority of this feature

Is high because to file a report or crime to police, the credentials of the

User will also be Share the police.

1.3.1.2 Stimulus/Response Sequences

3
The clients need to fill in the essential data

1.3.1.3 Functional Requirements

REQ-1: The phone number and email will be checked

REQ-2: An Internet association is vital


1.3.1.4 Account Security/Password retries

If the client fails to remember the secret password, the old secret password

can be recovered.
1.3.2.1 Response Sequence

Record secret key recovery is conceivable through phone number or Email.

1.3.2.2 Functional Requirements:

REQ1: The information will be checked.

REQ 2: The User should have a record for utilizing this component.

REQ 3: The information should be Email (XYZ123@XYZ com)

Or then again Phone number (03XX-XXXXXXX) design


REQ4: The User needs to enter OTP send by Police Alert. Check

1.3.2.3 Account Verification

Police Alert gives a solid secure climate to managing so every

Singleclient should be confirmed before utilizing the application.

Confirmation either be finished by Phone number or Email

1.3.2.4 Response Sequence


Record confirmation is done through a legitimate phone number or email account.

1.4.2.4Functional Requirements

REQ1: The information will be checked.

REQ 2: The User should have a record for utilizing this component.

REQ 3: The information should be Email (XYZ123@XYZ com)

Or then again Phone number (03XX-XXXXXXX) design


REQ4: The User needs to enter OTP send by Police Alert. Check

1.4 Nonfunctional Requirements

1.4.1Performance Requirements

The latest techniques and android recommended way of code will be used to store and

retrieve data when required. Data will be populated within the app with the latest techniques

to avoid delays and bugs.

1.4.2 Safety Requirements

An online database will be maintained to store and fetch user data when required.

For safety measures, data will be store on secure servers for example firebase

(A product of Google). User data will be stored and fetch with

end-to-end encryption.

1.4.3 Security Requirements

To forestall abuse of the application we have made a login prerequisite, so just approved clients
can sign in and report to the police. The protection of the client will be protected thusly.

1.4.3 Software Quality Attributes

The phone ought to have working web access (either data or Wi-Fi) just as the framework ought
to have an Android framework.
1.5 Scenarios

 Register
 Login
 Available options: call helpline, S.O.S, call the nearest police station, red zone area, and
report a crime.
 Click report a crime
 Select the type of crime from a drop-down menu.
 Add location to the message.

5
 Add snap, text, or voice note to the message
 Generate report and send to the nearest police station.
 For S.O.S click the S.O.S feature
 Add five phone numbers (guardians, relatives, friends)   
 In emergency launch S.O.S.
 An emergency message with the current location will be sent to listed numbers via SMS.
 To identify the red zone launch the red zone feature.
 A list of red zone areas will be displayed within the app, based on the crime rate.
.

1.6 Report Structure

This was "Chapter:1 Introduction" of our Final Year Project Report. In this part, we discussed
our task, what it will be, what features it would offer, what are its objectives, what is the reason
for this endeavor picking and the wide scope of different fundamental experiences about our
endeavors for instance Police Alert
Chapter 2 Literature Review

7
2.1. Introduction.

In this part, we will break down different applications and check what are flaws, limitations, and
how we can dispatch an application without absconds which are existing in various applications,
and how we can improve the highlights and can offer more sorts of administrations and make it
all the more simple to utilize

2.2. Related Works.

Following are the Application which is providing safety for the citizen. They are discussed for
the sake of analysis and comparison.

 Rawalpindi Police
 Zainab Alert
 SOS Alert
2.2.1. Terminology
 Android based: Android is a portable working framework dependent on a changed form
of the Linux part and other open source programming, planned fundamentally for touch
screen cell phones, for example, cell phones and tablets.
 Java language: Java is a class-based, object-oriented programming language. It is
utilized to create desktop and mobile applications
 Front end: The front end is the visual piece of the application that the client interfaces
with, the front end is composed utilizing XML.
 Firebase: The Firebase Realtime Database is a cloud-facilitated data set. Information is
put away as JSON and synchronized in real-time to each associated customer.
I will make this app in java language in android studio. For the front end of my app, I will use
XML and for maintaining the database I will use firebase

2.2.2. Categorization of Existing Techniques/Works/Research

As all the functionalities of the below application are discussed we get to know that Rawalpindi
police give you online reporting facilities. Zainab Alert gives you online reporting facilities like
child found reporting and missing child reporting facilities. SOS Alert featured to alert to your
guardian through SMS and via current location in a risk situation. After research, there is no

8
contender exist of Police Alert App. As a matter of first importance no specific application
accessible in the market to tackle this ongoing issue which this item is addressing. These
Applications are giving some little highlights however not that accommodating to take care of
the issue. Like red zone region, Alert closest police headquarters, current area, Chat, SOS, and so
on there isn't anything that can draw in us to add as an element in the Police Alert Application
since we have effectively covered a large portion of the highlights which must be in Police Alert
Application

2.2.2.1 Rawalpindi Police


The Rawalpindi police app is designed for the facilitation of the citizens of Rawalpindi through
which users can report the crime. The app allows users to report online crimes such as Child
abuse, Road traffic incidents, Law and order advisory, kidnapping, and a phone call to 15. Users
need to log in then select the nature of the crime they want to report. User will have to provide
details such as date of occurrence, time of occurrence, location of occurrence, subject, and
description and submit it

9
Figure 1- Rawalpindi Police
2.2.2.2 Zainab Alert
This App was a joint venture of Invent Lab and Law Enforcement Agencies the application will
ensure timely reporting of rape cases and help the police reporting and recovering missing
children. For announcing missing youngsters and was officially initiated episode report should
be documented. You give them definite data about the case. How and when did you discover the
kid was missing? What were the conditions that prompted the incident? When was the kid seen
once and for all? The application will alarm all specialists, and a cross-country look for the
youngster will follow.

Figure 2-Zainab Alert

11
2.2.2.3 SOS Alert
SOS Alert is a crisis application that assists you with the trip at whatever point your security is in
danger by connecting with your crisis contacts and giving them your present area. If there should
arise an occurrence of crisis, you need to press the SOS gadget, a connection of your present area
on Google maps is shipped off the crisis contact that you have enlisted in the application so they
can find you precisely. Register numbers will get S.O.S in the type of SMS which was sent from
the application to enrolled portable numbers.

Figure 3-SOS Alert


2.2.3. Limitations/Gaps within Existing Techniques/Works

After the comparative study, the limitations of existing applications are as follows:

 Rawalpindi Police app is limited to one city only. This app does not work out site
Rawalpindi.
 Zainab Alert gives you child missing and found child facilities. There are no options to
report other crimes.
 SOS alert gives you facilities to alert your guardian through SMS and current location in
a risk situation.

2.3. Proposed Improvements in Existing Works

The aim of the police Alert app is to facilities the user and provides them ease and relaxation in
the manner of safety, risks, and time. As the other application isn't like this however some little
highlights and has a few issues and restrictions. The app is intended for a large audience not
limited to one city. As the application similar to this has some problems Police app overcomes
all the problems and will provide the user with worry less procedure will the safety.

2.4. Comparative Analysis


Featured of the Police Alert app is listed and the existing application described in the documents
for the sake of analysis and comparison is shown in Table 1.1.

Application Enlist SOS helpline Works Contact Send Contact Red


Name yourself by feature Call everywher the your the zone
entering user option is e in police current through area
your can add available Pakistan through Location voice
accreditation five chat note
phone send
number snap
Rawalpindi Yes No Yes No No No Yes No
Police

Zainab Yes No No Yes No No Yes No


Alert

SOS Alert No Yes No Yes No Yes No No


Police Alert Yes Yes Yes Yes Yes Yes Yes Yes

13
Table 1.1 illustrates the comparative analysis of existing Application with Police Alert

2.5. Summary
This document aims to provide the detail, analysis, and comparison studies between Police Alert
App and existing applications. Features and Specification are discussed for sake of compression.
The focusing and unique feature of the Police Alert App is also described which makes it unique
from other applications mentioned in the documents.

References

1. Play.google.com. 2021. [online] Available at: https://play.google.com/store/apps/details?


id=com.rghvsapp.android.sosalert
2. Play.google.com. 2021. [online] Available at: https://play.google.com/store/apps/details?
id=com.bytedesk.rawalpindipolice
3. Play.google.com. 2021. [online] Available at: https://play.google.com/store/apps/details?
id=secret.theinventlabs.missingchildalert
Chapter 3 System Design

15
3.1. Introduction
The principal prerequisite for this venture was the sign-up module. The sign-up module is
prepared. Presently every individual who utilizes this task should join. For this, he/she should be
joined through his/her authority name, sex, email address, and cell phone. When the portable
number is checked he/she will want to utilize this App. The sign-in account page is prepared.
This section is the itemized configuration used to assemble a Police Alert Application. The
Application is utilized to make the capacities and tasks of a great deal of the social affair
prerequisites exhaustively including screen format, Report Crime rules, measure chart, and the
greater part of the other element documentation. The yield of this part portrays the online Police
Alert Application framework as another report wrongdoing and check red zone region
framework which is planned as the assortment of modules and subsystems. This planned stage
takes every single introductory prerequisite. A bunch of more planned components utilizing
various models is created. These plan components show the necessary programming highlights
exhaustively including screen format, class chart, and practical chain of command outline, and
use case graph. These graphs are for depicting the framework exhaustively.

3.1.1. Purpose
Application, Police Alert App clients who need to report the wrongdoing in the most ideal
manner like they can send a picture, voice note, text, and current area. Clients can likewise check
the red zone region and call to helpline through this Application. It gives a stage to residents to
report wrongdoings to police all the more effectively utilizing the most recent tech. Residents
and police with aggregate exertion will diminish the wrongdoing activity through this application
and aiding one another. The application's center reason for existing is to lessen the time taken
while revealing and become a scaffold between resident and law authorization offices. This
Application gives a free-cost plate structure for all residents. The principle motivation behind
this section is to show the underlying plan of the application and how I will plan this application.
How I will plan distinctive significant components of this application. The primary motivation
behind this application is to.

1. To alert the nearest police station for any emergency with just a press of a button. If you
are in trouble or see suspicious activity around you.
2. To provide users efficient medium which includes call options, sharing snap, live
location, and contact number of the nearest police station to report a crime.
3. To enable the public to report any incident near them and help police to identify criminals
easily. . 
4. To help agencies and provide process able evidence of the incident scene.
5. To enable users to send an S.O.S to their guardians with location and instantly alerts the nearest
police force for urgent attention.
6. To remind the user to notify the nearest police station or vehicle inconvenient, easier and
fastest way.

3.1.2. System Overview


In this part, we will give a nitty-gritty framework outline of how this application will function.
What might be the design of this application, who will be the clients of this application, how the
information base will be organized, how the application will take information from the client and
save the information in the data set and send it to the police headquarters. This is an Android-
based task. This application gives an advanced method of wrongdoing answering anyplace as per
the resident's decisions. Everything clients can speak with the closest police headquarters using
an application for getting data after login into the application. Initially, the client ought to have
joined with Name, telephone, email locations, and sex. The android application is for each sort of
client.

3.1.3. Designed Map.


There will be two kinds of customers one is client-side and the other is the police side the client
will join/login then will want to get to all application highlights. The client can report
wrongdoing anyplace if the web association is accessible. at the point when the client reports the
wrongdoing, they select the wrongdoing nature after that add picture, voice note, text, at that
point the framework naturally chooses the current area of the client and chooses the closest
police headquarters, when the client read the report and press affirm the report is then shipped
off the closest police headquarters. The client can likewise check the red zone region and close
by police headquarters and the client can straightforwardly call the helpline through this
application

17
3.1.4 Designed module

3.1.4.1 User Activity Diagram


3.1.4.2 Police Activity Diagram

19
3.1.4.3 Design Map
Characterize all significant plan ancient rarities and additionally significant areas of this report
and if suitable, give a synopsis of each. Talk about any critical connections between plan relics
and other task ancient rarities.

3.2. Design consideration


For planning the UI of the entire task there are some significant focuses which should be thought
of, similar to an easy to understand interface isn't excessively mind-boggling, however rather is
clear, giving speedy admittance to regular highlights or orders. A decent UI is efficient, making
it simple to find various highlights and alternatives. The application should be solid since it is
basic to our prosperity and because clients anticipate a decent encounter.

3.2.1. Assumptions

1. User can report more than one crime at a time


2. User will not use SOS feature without credit.
3. The major features of Police Alert app do not work without Wi-Fi/mobile data.
4. When there is no internet connection, the crime report will not be send to the police
station.
5. .When a user reports crime but no crime is committed there.He/She himself will be
responsible for this.

3.2.2. Constraints

1. So you’re above assumptions true.

3.2.3 Design Methodology

We utilize the incremental module way to deal with isolates the undertaking into pieces and
afterward start plan parts of tasks individually. I will utilize the incremental module as a
programming system. I will utilize XML, for front-end improvement, and for backend, I will
utilize JAVA and PHP will be utilized as a worker-side inspecting language. Additionally, I will
utilize Firebase, for keeping up the information base.

3.2.4. Risks and Volatile Areas


1. If you have an emergency occurs but don't have an internet connection at the moment,
2. If user forget password
3. User can report more than one crime at a time

3.2.5. Risk Mitigation


1. If you do not have an internet connection and you have an emergency occurs, you can
call through this app right away police station.
2. By entering his email address user can change his/her password.
3. We will provide a user-friendly and flexible environment so the user can easily report
more than one crime.

3.3. Architecture
There are numerous practical deteriorations of the projection. First was the plan which is
finished. The second is execution which is in progress. There is much sub-practical decay of the
execution. First is the sign-up page. After the sign-up page, there is a sign-in page. Disregard the
secret word page connect on the sign-in page. And afterward, a dashboard where the client will
report the wrongdoing. What's more, information base tables are associated with applications that
performing capacities like putting away information, getting information, and keeping up profile
information.

The Police Alert application is an Android-put together Application based on the multi-levels.
The engineering incorporated the three sorts of utilization layers. These three application layers
are as per the following

1. User-side
2. Server-side
3. Police-side

This application will follow three structures tires. The principal tire is on the client's side. On the
User-side the client enrolls their self then the login and opens the Police Alert application and
reports the wrongdoing. To report wrongdoing they need to initially choose the classification of
wrongdoing at that point add required information like appending screen capture, adding text and
voice note, client area will be joined, and afterward squeezing affirm report will send the report
to the worker. This Android-based application will be gotten to by each client with the assistance

21
of a web association. The second is the worker side" where all the information base is kept up
like client profiles and red zone region subtleties. The worker side likewise gets the wrongdoing
report and stores all data from the client-side in the information base and afterward this report
push to the police side. The third one is the police side. The police side got the message pop-up
from the worker side. Message pop-up contains wrongdoing reports created by clients. Police at
that point make the move against the revealing wrongdoing. These three levels make the entire
design of this Application.

3.3.1 Overview

There are numerous utilitarian disintegrations of the projection. First was the plan which is
finished. The second is execution which is in progress. There is many sub utilitarian decay of the
execution. First is the sign-up page. After the sign-up page, there is a sign-in page. Disregard the
secret phrase page interface on the sign-in page. And afterward, a dashboard where the client
will report the crime.SOS include, helpline, Red zone region, close by police headquarters, when
a client reports wrongdoing the and select the class of the wrongdoing at that point is creator
screen which adds a picture, voice note, current area, close by police headquarters and afterward
ship off the closest police headquarters. Furthermore, information base tables are associated with
applications that performing capacities like putting away information.

3.3.2. Subsystem, Component, or Module 1 …N

In this application, the principal part is enlistment which has a name, phone email address, sexual
orientation, and secret word field with login, information exchange, and neglects catches. After
entering these qualifications framework saves that individual and confirms for login into the
framework and if the client fails to remember the secret key so he can recuperate by entering his
email address. The first segment is wrongdoing revealing and when the client reports the
wrongdoing, chooses the wrongdoing type at that point adds a picture, voice note, add text,
current area and afterward ship off the closest police headquarters. The subsequent segment is
SOS include, where clients enroll any five numbers of their family if any crisis builds client can
press the SOS button, A SOS will be sent with the current area and message to enlist the number
with crisis message. The third segment is the red zone region, the client can check the red zone
region by rundown or guide see. The forward part is clients can likewise check close by police
headquarters in list view and guide see. The fifth part is a helpline where the client can call to
police helpline through this application. I will share the component and capacity underneath in
this record.

1. Registration Module

3.3.2.1. Registration Module


On this application, I will make an enrollment module. The enlistment is for both police and
user. The user enters the Name, phone number, email address, and sexual orientation. Each user
of this application should fill the enlistment structure to open the application.

3.3.3. Strategy 1…N

I partition the undertaking into modules. First I have planned the information exchange and login
and afterward, I planned the fundamental screen. After that, I made associations with the data set
for the enrollment. Furthermore, rest will be done in execution. I took help from YouTube,

23
GitHub, Stack Overflow, and numerous different sites which control the android developers in
making any application and association with the worker.

.3.4 Database Schema

3.4.1. Data Flow Diagram

1. Level zero
Here is the Data flow diagram of level zero for Police Alert

2. Level 1
Helpline

Nearbypolice
stations

Send SOS

Red zone area

Report
vandalismdamage

Crime report
View report Dashboard

Sign up sign up

User
Police
Login
Login

Display report Display


dashboard

Display crime categories

Report vandalism send

Red zonearea
display

SOS send

Displaynearby
policestations
25

Helpline dialed
3.4.2. Process Flow Diagram
Process flow diagram of the Police Alert

.
3.4.3. Tables, Fields, and Relationships

These task tables contain text and pictures, voice notes current area. Text information contains an
email address and, secret phrase, message; fail to remember the secret key, wrongdoing report.
Relationship will be required for my undertaking yet that will be for the back end. Like if a client
enters an invalid email address or invalid password for log-in and sign-Up.

3.4.3.1 Databases

As our venture is Online based application so after research we discovered that the Firebase data
set will be appropriate for our application. We will associate this information base with the
models of the applications and utilize this by applying various capacities.

3.4.3.2. New Tables

 User
 Police
 Crime report

Allow
Table Name Field Name Data Type Field Description
Nulls
This table will contain name,phone
Varchar
User user
(50)
No number, email address, gender and
password
This table contain phone number,
Varchar
Police police
(50)
No police station name, police station
location, password
This table will contain crime report
type,image,voicenote,text,current
Varchar
Crime report Crime report
(50)
Yes location,phonenumber,nearby police
station number, police station
locationphone number is (foreign key)

27
3.4.3.3 Fields Change(s)

Table Name Field Name What to change?


User Varchar No change

Police Varchar No change

Crime report Varchar No change

Table 3.2 Another table to be filled as per the demand of project

3.4.3.4 All Other Changes


For the time being, there could be no different changes required except for it will be the point at
which we make the entire Database on Firebase.

3.5. High Level Design


3.5.1 ERD Diagram
3.5.1. View / Model Element 1…N

Sing-up Login Forgot Password Description


User Name email Click on forgot Mail will be
password sent, client can
change the secret
key after
confirmation

Table 3.4

3.6. Low Level Design

3.6.1Class Diagram

3.6.1. Use case diagram

1. User
Here is the utilization case for Police Alert
29
2. Police
Here is the utilization case for Police Alert
3.6.2. Sequence Diagram

31
1. Sequence diagram for User

2. Police
Here is the use case for Police Alert

33
3.7. User Interface Design

Figure3.1
Figure 3.2

35
Figure 3.3
Figure 3.4

37
3.7.1. Application Controls

Each screen doesn't have a typical factor between them. I put a vital picture that first and
foremost comes in the front-end plan. However, every one of the photos is very different from
others. I show distinctive usefulness in this screen capture. I put all the underlying essential
screen captures that have all underlying control capacities.

3.7.2. Screenshots 1… N [do either these or the ones in chapter 1 from SRS]

Figure 3.5
Figure 3.6

39
Figure 3.7
Figure3.8

3.8. Summary

Police Alert App is tied in with making wrongdoing detailing more effective through appropriate
utilization of innovation. Give residents the chance to partake adequately to bring down the
crime percentage and ready law authorization offices on schedule. The fundamental reason for
this section is to make various plans and guides to make the Application simpler and easy to use.
This section will help a great deal while carrying out various cycles. This section covers
practically the whole task.

41
Chapter 4 Implementation
4.1. Development Methodologies

I have utilized incremental methodology as a software engineering model. In this incremental


model, that entire prerequisite is isolated into different forms. Different improvement cycles
occur here making the existence cycle a multi-waterfall cycle. Cycles are separated into more
limited; all the more immediately oversaw modules. An incremental model is a sort of software
improvement model comparative V-model, Agile model, and so forth in that model, every
module moves into the details, design, execution, and preliminary stages. A useful form of the
product is given during the main module; thusly you have activity software almost immediately
through the product development cycle. Each ensuing declaration of the module adds capacity to
the early freedom. The cycle continues till the whole framework is finished.

4.2. Implementation Tools and Technologies

4.2.1. Database modeling tools

Firebase and SQLite for Database

4.2.2. Implementation tools

Java on Android Studio

4.2.3. Testing tools

Android Phone

43
45
47
49
51
53
55
57
59
4.3. Summary

In this part, I will characterize the approach and execution of the Android-based Application. All
clients will discover and effectively handle crises in this Android-based Application. The
Application clients will handily communicate with each Police station. Likewise, clients report
wrongdoing effectively and proficiently.

Chapter 4 Implementation
4.1. Development Methodologies

I have utilized incremental methodology as a software engineering model. In this incremental


model, that entire prerequisite is isolated into different forms. Different improvement cycles
occur here making the existence cycle a multi-waterfall cycle. Cycles are separated into more
limited; all the more immediately oversaw modules. An incremental model is a sort of software
improvement model comparative V-model, Agile model, and so forth in that model, every
module moves into the details, design, execution, and preliminary stages. A useful form of the
product is given during the main module; thusly you have activity software almost immediately
through the product development cycle. Each ensuing declaration of the module adds capacity to
the early freedom. The cycle continues till the whole framework is finished.

4.2. Implementation Tools and Technologies

4.2.1. Database modeling tools

Firebase and SQLite for Database

4.2.2. Implementation tools

Java on Android Studio

61
4.2.3. Testing tools

Android Phone
63
65
67
69
71
73
75
77
4.3. Summary

In this part, I will characterize the approach and execution of the Android-based Application. All
clients will discover and effectively handle crises in this Android-based Application. The
Application clients will handily communicate with each Police station. Likewise, clients report
wrongdoing effectively and proficiently.

Chapter 4 Implementation

79
4.1. Development Methodologies

I have utilized incremental methodology as a software engineering model. In this incremental


model, that entire prerequisite is isolated into different forms. Different improvement cycles
occur here making the existence cycle a multi-waterfall cycle. Cycles are separated into more
limited; all the more immediately oversaw modules. An incremental model is a sort of software
improvement model comparative V-model, Agile model, and so forth in that model, every
module moves into the details, design, execution, and preliminary stages. A useful form of the
product is given during the main module; thusly you have activity software almost immediately
through the product development cycle. Each ensuing declaration of the module adds capacity to
the early freedom. The cycle continues till the whole framework is finished.

4.2. Implementation Tools and Technologies

4.2.1. Database modeling tools

Firebase and SQLite for Database

4.2.2. Implementation tools

Java on Android Studio


4.2.3. Testing tools

Android Phone

81
83
85
87
89
91
93
95
97
4.3. Summary

In this part, I will characterize the approach and execution of the Android-based Application. All
clients will discover and effectively handle crises in this Android-based Application. The
Application clients will handily communicate with each Police station. Likewise, clients report
wrongdoing effectively and proficiently.

Chapter 4 Implementation
4.1. Development Methodologies

I have utilized incremental methodology as a software engineering model. In this incremental


model, that entire prerequisite is isolated into different forms. Different improvement cycles
occur here making the existence cycle a multi-waterfall cycle. Cycles are separated into more
limited; all the more immediately oversaw modules. An incremental model is a sort of software
improvement model comparative V-model, Agile model, and so forth in that model, every
module moves into the details, design, execution, and preliminary stages. A useful form of the
product is given during the main module; thusly you have activity software almost immediately
through the product development cycle. Each ensuing declaration of the module adds capacity to
the early freedom. The cycle continues till the whole framework is finished.

4.2. Implementation Tools and Technologies

4.2.1. Database modeling tools

Firebase and SQLite for Database

4.2.2. Implementation tools

Java on Android Studio

99
4.2.3. Testing tools

Android Phone
101
103
105
107
109
111
113
115
4.3. Summary

In this part, I will characterize the approach and execution of the Android-based Application. All
clients will discover and effectively handle crises in this Android-based Application. The
Application clients will handily communicate with each Police station. Likewise, clients report
wrongdoing effectively and proficiently.

117
Chapter 4 Implementation
4.1. Development Methodologies

I have utilized incremental methodology as a software engineering model. In this incremental


model, that entire prerequisite is isolated into different forms. Different improvement cycles
occur here making the existence cycle a multi-waterfall cycle. Cycles are separated into more
limited; all the more immediately oversaw modules. An incremental model is a sort of software
improvement model comparative V-model, Agile model, and so forth in that model, every
module moves into the details, design, execution, and preliminary stages. A useful form of the
product is given during the main module; thusly you have activity software almost immediately
through the product development cycle. Each ensuing declaration of the module adds capacity to
the early freedom. The cycle continues till the whole framework is finished.

4.2. Implementation Tools and Technologies

4.2.1. Database modeling tools

Firebase and SQLite for Database

4.2.2. Implementation tools

Java on Android Studio

4.2.3. Testing tools

Android Phone

119
121
123
125
127
129
131
133
135
4.3. Summary

In this part, I will characterize the approach and execution of the Android-based Application. All
clients will discover and effectively handle crises in this Android-based Application. The
Application clients will handily communicate with each Police station. Likewise, clients report
wrongdoing effectively and proficiently.
Chapter 4 Implementation

137
4.1. Development Methodologies
I have utilized incremental methodology as a software engineering model. In this incremental
model, that entire prerequisite is isolated into different forms. Different improvement cycles
occur here making the existence cycle a multi-waterfall cycle. Cycles are separated into more
limited; all the more immediately oversaw modules. An incremental model is a sort of software
improvement model comparative V-model, Agile model, and so forth in that model, every
module moves into the details, design, execution, and preliminary stages. A useful form of the
product is given during the main module; thusly you have activity software almost immediately
through the product development cycle. Each ensuing declaration of the module adds capacity to
the early freedom. The cycle continues till the whole framework is finished.

4.2. Implementation Tools and Technologies

4.2.1. Database modeling tools


Firebase and SQLite for Database

4.2.2. Implementation tools


Java on Android Studio

4.2.3. Testing tools


Android Phone
139
141
143
145
147
149
151
153
4.3. Summary
In this part, I will characterize the approach and execution of the Android-based Application. All
clients will discover and effectively handle crises in this Android-based Application. The
Application clients will handily communicate with each Police station. Likewise, clients report
wrongdoing effectively and proficiently.

You might also like