Professional Documents
Culture Documents
Leorid
Leorid
CHAPTER 1
PROJECT FEASIBILITY REPORT
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 1
Leoroid
1. Introduction
Android Application for Leoroid deals with real time reminding daily routine activities and
instant messages to device via Wi-Fi. Leoroid device will read the message coming from
application.
a. Project Feasibility
b. Project Scope
c. Project Costing
d. Critical Path Method Analysis (CPM Analysis)
e. Gantt Chart
f. Introduction to team members
g. Tools and Technologies
h. Vision Document
i. Risk List
Technical
Operational
Economic
Schedule
Specification
Information
Motivational
Legal and Ethical
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 2
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 3
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 4
Leoroid
CHAPTER 2
PROJECT SCOPE
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 5
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 6
Leoroid
CHAPTER 3
PROJECT COSTING
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 7
Leoroid
External Inputs:
Sign Up
sign In
Voice Input
Schedule Setting
Message Sending
External Outputs:
Sign Up
sign In
Show Live Stream
Voice Output
External Inquiries:
Sign Up
sign In
Wi-Fi Connectivity
Live Video Streaming
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 8
Leoroid
Scale:
0- Not applicable
1- Incidental
2- Moderate
3- Average
4- Significant
5- Very Critical
Calculation of (Fi):
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 9
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 10
Leoroid
Duration of Project
Duration of Project = Effort month / No. of persons
Duration of Project = 15.1/ 4
Duration of Project = 7 months.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 11
Leoroid
CHAPTER 4
PROJECT PLANNING
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 12
Leoroid
Requirement Gathering A
Analysis B
Designing C
Coding D
Testing E
Implementation F
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 13
Leoroid
Once the activities and their sequence have been defined, the CPM diagram can be drawn.
Start A B C End
D E F
Paths
PATH 1 A B C D E F 20+15+30+60+15+15=155
PATH 2 A B C E F 20+15+30+15+15=95
Activity Duration ES EF LS LF TS \ FS
A 20 0 20 0 20 0 0
B 15 20 35 20 35 0 0
C 30 35 65 35 65 0 0
D 60 65 125 65 125 0 0
E 15 125 140 125 140 0 0
F 15 140 155 140 155 0 0
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 14
Leoroid
Sufayya Fatima
Miss. Sufayya Fatima is group leader and responsible for all the programming related to the
Application being developed. She has knowledge about java and android languages. She is
also responsible to perform basic level validations, testing and debugging.
Rabia Naeem
She has basics information about application development. She has knowledge about java and
Android languages and responsible for all as programming in Android Studio for the project.
Aysha Javed
She has fair knowledge of ANDROID in application development and designing. She gathered the
required information for the project and also responsible for documentation.
Komal Murtaza
She is responsible for designing and managing all design activities of the Leoroid”. And also
responsible for documentation.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 15
Leoroid
Tools:
Android studio:
Android Studio is the official integrated development environment (IDE) for Android
platform development. Android Studio is designed specifically for Android development. It
is available for download on Windows, Mac OS X and Linux, and replaced Eclipse Android
Development Tools (ADT) as Google's primary IDE for native Android application
development.
ESP 8266
The ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller
capability produced by manufacturer Espressif Systems. This small module allows
microcontrollers to connect to a Wi-Fi network and make simple TCP/IP connections
using Hayes-style commands. The very low price and the fact that there were very few
external components on the module, which suggested that it could eventually be very
inexpensive in volume, attracted many hackers to explore the module, chip, and the software
on it. The ESP8285 is an ESP8266 with 1 MiB of built-in flash, allowing for single-chip
devices capable of connecting to Wi-Fi.
NodeMCU
NodeMCU is an open source IoT platform. It includes firmware which runs on the ESP8266
Wi-Fi SoC from Epressif Systems, and hardware which is b on the ESP-12 module. The
term “NodeMCU” by default refers to the firmware rather than the development kits. The
firmware uses the Lua scripting language. It is based on the eLua project and built on the
Epressif NON-OS SDK for ESP8266. It uses many open source projects, such as Lua-cjson
and SPIFFS.
NodeMCU-ESP8266
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 16
Leoroid
Technologies:
JAVA:
Java is an object oriented programming language that is concurrent, class based, it is intended
to let application developers “Write once, Run anywhere” meaning that compiled java code
can run on all platforms that support java without the need for recompilation.
Java Scripting:
It is an object-oriented and scripting language commonly used to create interactive effects
within the application.
XML:
Stands for Extensible Markup language. It provides the features of user define
queries as well as built in queries.
Firebase:
The Firebase real-time Database is a cloud-hosted database. Data is stored and synchronized
in real-time to every connected client. When you build cross-platform apps with iOS,
Android, and JavaScript SDKs, all of your clients share one real-time Database instance and
automatically receive updates with the newest data.
Arduino
Arduino IDE is a special software running on your system that allows you to write sketches
(synonym for program in Arduino language) for different Arduino boards. The Arduino
programming language is based on a very simple hardware programming language called
processing, which is similar to the C language.
4.7.1 CASE Tool(s):
Gantt Project:
Web server and JAVA is used to fetch data from the database. Our application will
communicate with the JAVA page with necessary parameters and JAVA will contact
MySQL database and will fetch the result and return the results to us.
MS Word 2016:
MS Word is used for documentation of the project. It is easy to use and provides professional
tools for layout, formatting and file protection.
Edraw Max:
Edraw Max is widely used software for creating UML diagrams.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 17
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 18
Leoroid
CHAPTER 5
REQUIREMENT ENGINEERING
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 19
Leoroid
5.1 Introduction
The purpose behind implementing “Leoroid” is to help the busy and especially old people in
reminding their routine and activities. In the present days with the new emerging
technologies there arise problems for old people in using this technology. We are here with a
solution that is our Leoriod. The name LEOROID’ suggests a new era to remind our daily
routine activities. User can also see the live streaming of his home from phone through Wi-Fi
to see the activities performed at home. The user can also give voice commands to the device
to perform different tasks, for example: turn on the light.
Figure 5.1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 20
Leoroid
The scope of the system is defined on the basis of various functionalities provided by the
system. The scope can be explained as:-
Purpose of the Leoroid is to make you listen to your daily routine and incoming messages.
In the present days with the new emerging technologies there arise problems for old people
in using this technology. We are here with a solution that is our Leoriod. LEOROID’ the
name itself suggests a new era to remind our daily routine activities. User can also see the
live streaming of his home from phone through Wi-Fi to see the activities performed at
home.
a) Sing Up
User must register first to use the services of App
b) Sign In
User must sign in first to use the services of App.
c) Connect to Wi-Fi
App must be connect to Wi-Fi.
Following are the external entities or actors that interact directly with the app.
1. Registered Users (Clients)
The Identification of External Entities is done in two phases.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 21
Leoroid
Figure 5. 2
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 22
Leoroid
Sign In
1.0 The user “shall” able to sign in into app.
1.0 User “shall” connect to the Wi-Fi to view the live stream Connect to Wi-Fi
Create Schedule
1.0 User “shall” set schedules.
Message processing
1.0 User “shall “send messages.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 23
Leoroid
Sign In B1 Business
1.0 The user “shall” able to sign in into app.
1.0 User “shall” view the live stream. Live Streaming B3 Functional
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 24
Leoroid
Figure 5.3
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 25
Leoroid
CHAPTER 6
USE CASE DESCRIPTIONS
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 26
Leoroid
6.1 Introduction
We have completed analysis of the system. So we understand the current situation of the
problem domain. Now we are ready to strive for a solution for the problem domain by using
object-oriented approach. Following artifacts are discussed.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 27
Leoroid
Use case:
Figure 6. 1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 28
Leoroid
Following are the use cases that we have used in our project:
Alternate flows:
1. If app is not installed correctly then reinstall the app.
2. If app is not installed and load correctly then reload the app to browse
accurately.
Post conditions:
User install the app successfully and start performing the tasks.
Table 6.2.1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 29
Leoroid
Brief description:
User will connect to Wi-Fi
Scope:
Leoroid
Level: User
Primary actor: User
Precondition:
User must connect to the Wi-Fi.
Main success scenario:
1. User open the App.
2. User views the App interface.
3. App display the main activity.
Alternate flows:
Wi-Fi module may not show in available devices.
a. Disconnect the Wi-Fi and connect again.
Post conditions:
User is connected to Wi-Fi and installed app successfully and start
performing the tasks.
Table 6.2.2
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 30
Leoroid
UC_3 Sign Up
Brief description:
User will register into the app
Scope:
Leoroid
Level: User
Primary actor: User
Precondition:
User must register to login and to perform required activities.
Main success scenario:
3. User open the App.
4. User views the App interface.
5. App request to Sign In.
6. If he is not register than go to register
7. Enter user name and password.
8. Click on Sign Up button.
Alternate flows:
5.1 User may be already register.
a. Move back to step 3 for Sign In.
Post conditions:
User register successfully and start performing the tasks.
Table 6.2.3
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 31
Leoroid
UC_4 Sign In
Brief description:
User will log in into the system
Scope:
Leoroid
Level: User
Primary actor: User
Precondition:
User must login into the system.
User must have name and password to login into the system.
Main success scenario:
4. User open the App.
5. User views the App interface.
6. App request to login.
7. User will give name and password.
8. Click on login.
9. App verifies and authenticates the Login details of User.
10. App display the main activity.
Alternate flows:
6.1 Login Information is not verified.
a. Move back to step 3.
Post conditions:
User login successfully and start performing the tasks.
Table 6.2.4
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 32
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 33
Leoroid
Table 6.2.6
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 34
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 35
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 36
Leoroid
Figure 6.2
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 37
Leoroid
CHAPTER 7
SEQUENCE DIAGRAMS
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 38
Leoroid
Figure 7.1.1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 39
Leoroid
Figure 7.1.2
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 40
Leoroid
Figure 7.1.3
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 41
Leoroid
7.1.4. Messages:
Figure7.1.4
Figure7.1.5
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 42
Leoroid
Figure7.1.6
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 43
Leoroid
Figure 7.1.7
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 44
Leoroid
CHAPTER 8
COLLABORATION DIAGRAMS
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 45
Leoroid
Figure 8.1.1
Figure 8.1.2
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 46
Leoroid
Figure 8.1.3
8.1.4 Messages:
Figure8.1.4
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 47
Leoroid
Figure 8.1.5
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 48
Leoroid
Figure8.1.6
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 49
Leoroid
Figure 8.1.7
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 50
Leoroid
CHAPTER 9
OPERATION CONTARCTS
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 51
Leoroid
Contract 2: Sign Up
Operation: Registration (Username, Password, ID)
Cross Reference: Use Cases: Sign Up
Pre-condition: None
Post condition: User give all required information.
Contract 3: Sign In
Operation: Sign In (Username, Password)
Cross Reference: Use Cases: Sign In
Pre-condition: The user has been registered to the system.
Post condition: User sign in successfully and perform the desirable
Functions.
Contract 4: Messages
Operation: Message processing.
Cross Reference: Use Cases: Messages.
Pre-condition: User must connect to Wi-Fi.
Post condition: User can successfully send the messages.
to robot.
Contract 3: Live Streaming
Operation: Live Streaming.
Cross Reference: Use Cases: Live streaming.
Pre-condition: .User must connect to Wi-Fi.
Post condition: User can successfully broadcast the stream.
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 52
Leoroid
CHAPTER 10
DOMAIN MODEL
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 53
Leoroid
Figure 10.1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 54
Leoroid
CHAPTER 11
DESIGN CLASS DIAGRAM
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 55
Leoroid
Figure 11.1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 56
Leoroid
CHAPTER 12
DATA MODEL
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 57
Leoroid
Figure12.1
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 58
Leoroid
CHAPTER 13
PROJECT INTERFACES
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 59
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 60
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 61
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 62
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 63
Leoroid
13.1.5. Reminders
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 64
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 65
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 66
Leoroid
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 67
Leoroid
13.1.9 About
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 68
Leoroid
13.2.1 Normal
13.2.2 Listening
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 69
Leoroid
13.2.3 Sad
13.2.4 Happy
Department of IT, Govt. Post Graduate College (w) Satellite Town, Gujranwala 70