A project report on “Keep Clean” – Based Android Studio Platform By Mazhar Ul Alam ID

A project report on
“Keep Clean” – Based Android Studio Platform
Mazhar Ul Alam
ID: 152-15-6285.

MD. Shahan Sha Anik
ID: 152-15-6266.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!

order now

This Report Presented in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Computer Science and Engineering.

Supervised By
Mr. Soumik Das Bibon
Designation Lecturer
Department of CSE
Daffodil International University
Co-Supervised By
Department of CSE
Daffodil International University

September 2018.

The project titled “Keep Clean”, submitted by MAZHAR UL ALAM, ID No: 152- 15-6285 and MD. SHAHAN SHA ANIK, ID No: 152-15-6266 to the department of Computer Science and Engineering. Daffodil International University has been accepted as satisfactory for the partial fulfillment of the requirements for the degree of B.Sc. in Computer Science and Engineering and approved as to its style and contents.

Dr. Syed Akther Hossain Chairman
Head & Professor
Department of CSE
Faculty of Science & Information Technology
Daffodil International University
Dr. Sheak Rashed Haider Noori Internal Examiner
Associate Professor
Department of CSE
Faculty of Science & Information Technology
Daffodil International University
Md. Zahid Hassan Internal Examiner
Assistant Professor& Associate Head
Department of CSE
Faculty of Science & Information Technology
Daffodil International University
Dr. Muhammad Shorif Uddin External Examiner
Department Of CSE
Jahangirnagar University

©Daffodil International University i
We hereby declare that, this project by us under the supervision Mr. Soumik Das Bibon, Lecture Department of CSE Daffodil International University. We also declare that neither this project nor any part of this project has been submitted elsewhere for award of any degree or diploma.

Supervised by:
Mr. Soumik Das Bibon
Department of CSE
Daffodil International University
Submitted by:
Mazhar Ul Alam
Department of Computer Science & Engineering
Daffodil International University
Submitted by:
Md. Shan Sha Anik
Department of Computer Science & Engineering
Daffodil International University
©Daffodil International University ii
First we express our heartiest thanks and gratefulness to almighty ALLAH for his divine blessing makes us possible to complete the final year project successfully.
We really grateful and wish our profound our supervisor Mr. Soumik Das Bibon, Designation Lecturer Department of CSE Daffodil International University, Dhaka. Deep knowledge & keen interest of our supervisor in the field of impact of usability design influenced us to carry out this project. Their endless patience, scholarly guidance, continual encouragement, constant and energetic supervision, constructive criticism, valuable advice, reading many inferior draft and correcting them at all stage have made it possible to complete this project.

We would like to express our hearties gratitude to Mr. Soumik Das Bibon, Designation Lecture Department of CSE Daffodil International University, and Dhaka-1207.

We would like to thank our entire course mate in Daffodil International University, who took part in this discuss while completing the course work.

Finally, we must acknowledge with due respect the constant support and patience of our parents.

©Daffodil International University iii
There are many mobile Applications about on tourism of Bangladesh. But our android application is different at any other application for its some extra features.

We are going to develop a project named “Keep Clean” Android application that will help people to take better environment. Here either NGO Representative or people will workers schedule. After users done, Representative can send prescription information including status or posts with GPS. Workers can see his/her today’s work schedule after he/she logged in. Workers would be able to see the history by GPS (Global Positioning System) locations.

If this is not enough then user gives feedback and after that we will try to our best to give them proper support.

©Daffodil International University iv

Board of examiners i
Declaration ii
Acknowledgements iii
Abstract iv


1.1 Introduction 01
1.2 Motivation 01
1.3 Objectives 02
1.4 Expected Outcome 02
1.5 Report Layout 2-3
2.0 Feasibility study04
2.0.1 Legal feasibility05
2.0.2 Operational feasibility 05
2.0.3 Schedule feasibility05
2.1 Application Architecture5-6
©Daffodil International University v
3.0 Project Requirement 07
3.1 Languages ;Tools 8-9
3.2 Database 10
3.3 Project management 10
4.1 Front-end Design specification11
4.2 Back-end Design specification 11
4.3 Interaction Design and UX11
4.4 Implementation Requirements 12

5.1 Implementation of Database 13
5.2 Implementation of Front-end Design 13-22
5.3 Implementation of Interactions 22
5.4 Testing Implementation 23
5.5 Test Results and Reports 23
6.1 Discussion and Conclusion 24
6.2 Scope for Further Developments 24
©Daffodil International University vi
Table 3.1: Narrative of manage User Log in 13        
Table 3.2: Narrative of manage User Registration                         14         
Table 3.3: Narrative of manage Keep Clean Home Page                            15
Table 3.4: Narrative of add Users                                                            15
Table 3.5: Narrative of generate a prescription 16
Figure 2.1:  Application architecture 06 
Figure 3.1:  Project management 10 
Figure 5.1:  User Log In of application                                                        13             
Figure 5.2:  User Registration of application                                              14        
Figure 5.3:  Home page of application                                                        15       
Figure 5.4:  Post page of application                                                            16              
Figure 5.5: User Account Setting of application                                         17             
Figure 5.6: Menu items With Logout of application                               18             
Figure 5.7: User Authentications List in Firebase                                       19              
Figure 5.8: Users Post in Firebase Database                                            20                 
Figure 5.9: Users Information in Firebase Database                                    21             
Figure 5.10: Users Image and Posted Image in Firebase Storage               22          
©Daffodil International University                                                                             vii
1.1 Introduction:
An environment is a place in which people live their lives, so its cleanliness and good weather would be considered a huge advantage for people since they are busy in different walks of life and a healthy environment can make sure the safety of their lives not only physically but also mentally. Besides, when the surrounding is tidy the child’s attitude, mindset and brain will be outstanding. Our environment plays an important role in our health. In order to have good health, we need to have safe, clean environments to live, work and play in. Many diseases can be prevented by eliminating environment-related risk factors. By taking care of our environments, we take care of ourselves. People choose to live in urban areas so they can have a better quality of life. They want to be at the heart of economic activity, and to have more job opportunities and other social and economic advantage. However, city living brings a range of challenges. When the surrounding is not good and clean then life becomes hard and lots of physical and mental illnesses will rise and people will not be able to work properly. As a result, the number of disease increases and people has to spend most of their earnings on curing and treating these dangerous diseases that are brought up by a bad and polluted environment.
The main aim of the Keep Clean project to communicate with city people to redefine and tracking all dumping areas records for clean up our city digitally.

1.2 Motivation of work:
Dhaka is a capital of Bangladesh. Day by day the numbers of vehicles are increasing and more than populations are increasing causes largest industries are in Dhaka so people are moved into the city, In this case, after a few years later Dhaka are not in living places. Largest populations are not educated so that’s a fact of things to garbage. There are many organizations worked but workers are not able to clean into the Dhaka city. 
These things we are motivated; to think that make application to cleaning our city Dhaka, the name of our application is “Keep Clean”.

©Daffodil International University 1
1.3 Objective of the application:
Basically Keep Clean up our city continuously.

To computerize all details about user posts ; user information details.

Easy to see user all posts.

User easily feedback.

To notified all workers when anyone uploaded posts.

Team members are managing observations to the workers.

To develop user-friendly environment.

1.4 Expected Out Come:
This application will help the android users to get information about clean up our city to make healthy environments. The need of peoples or workers and all the queries related to that. We had focused on the productivity of the application by maintaining a firebase database of the user lists. We have designed the application in such a way that helps the user in all possible ways when he or she needs help. If time will permit we will add more features and improve the productivity of the tools of the application.

1.5 Application Features or layout:
Typically an application has some features. These are generally applicable to both basic and advanced application.

The Content:
The substance and information on the site should be relevant to the site and should target the area of the public that the application concerned with.
©Daffodil International University 2
The Usability:
The site should be user_ friendly, with the interface and navigation simple and reliable.

The Appearance:
The graphically, image and text should include a single style that flows throughout, to show consistency. The style should be professional, appealing and relevant.

An Application typically consists of text and image. The first page of an application as the sign in page and connected to social account.

©Daffodil International University 3
Feasibility Study
2.0 Feasibility study:
Feasibility Studies aim to objectively and rationally uncover the strengths and weaknesses of the existing proposed venture, opportunities and threats as presented by the environment the resources required to carry through, and ultimately the prospects for success In its simplest term, the two criteria to judge feasibility are cost required and value to be attained. As such, a will-designed feasibility study should provide a historical background of the project, description of the service, accounting statements, details of the operation and management, research and policies, financial data and legal requirements. Generally, feasibility studies precede technical development and project implementation.

The assessment is based on and outlines design of system requirements in terms of Input, Processes, Output, Fields, Program and Procedures. This can be quantified in terms of volumes of data, tends, frequency of updating, etc. In order to estimate whether the new system will perform dedicatedly or not. Technological feasibility is carried out to determine whether the project as the capability, in terms of personal and expertise, to handle the completion of the project.

In the twenty-one century, one country can develop without the help of information Technology. Every sector now heavily uses IT for providing exhaustive and value added informational services. Value addition to information essentially requires subject understanding and good expertise in informational processing and retrieval method and techniques. Depending on the result of the initial investigation, it was found that presently will – qualified IT person is very low rate in our man power.

©Daffodil International University 4
2.0.1 Legal feasibility
Determines whether the proposed systems conflicts with legal requirements, e.g. a data processing system must comply with the local data protection Acts.

2.0.2 Operational feasibility
Operational feasibility is a measure of how wills a proposed application solve the problems, and takes advantage of the opportunities identified during scope determine and how it satisfies the requirements identified in the requirements analysis phase of application development.

2.0.3 Schedule feasibility
A project will fail if it takes too long to be completed before it is useful. Typically this means estimating how long the systems will take to develop, and if it can be completed in a given time period using some methods like payback period. Schedule feasibility is a measure of how reasonable the project time table. Given our technical expertise, are the project datelines reasonable? Some projects are initiated with specific deadlines. You need to determine whether the deadlines are mandatory or desirable.

2.1 Application Architecture
The android dev ecosystem moves very quickly. Every week new tools are created, libraries are updated, blog posts are written and talks are given. If you go on holiday for a month, by the time you come back there will be a new version of the support library and /or play services. I’ve been making android apps with the robot team for over three years. During this time, the architecture and technologies we’ve use to build android apps have been continuously evolving. This article will take you through this journey by explaining our learning’s, mistakes and the reasoning behind these architectural changes.
©Daffodil International University 5

Figure 2.1: Application Architecture.

The code was structured in two layers: the data layer that was in charge of retrieving/saving data from REST APIs and persistent data stores; and the view layer, whose responsibility was handling and displaying the data on the UL.

The API Provider provides methods to enable Activities and Fragments to easily interact with the REST API. These methods use URL Connection and A sync Tasks to perform network calls in a separate thread and retune the result to the activates via callbacks.
In a similar way, the Cache Provider contains methods that retrieve and store data from Shared Preferences or a SQL it database. It also uses callback to pass the result back to the Activates.

©Daffodil International University 6
3.0 Project Requirement
In engineering, a requirement is a singular documented need of what a particular duct or service should be or perform. It is most commonly used in a formal sense in system engineering, software engineering or enterprise engineering. It is a statement that identifies a necessary attribute, capability, characteristic, or quality of a system in order for it to have value and utility to a user.

In the classical engineering approach, sets of requirements are used as inputs into the design stages of product development. Requirements are also and important input into the verification process, since tests should tract back to specific requirements. Requirements show what elements and functions are necessary for the particular project.

The requirement development phase may have been preceded by a feasibility study, or a conceptual analysis phase of the project. The requirement phase may be broken down into requirement elicitation, analysis, specification and validation.

Requirement stands for the need or want of an individual or a company. Requirement in human lives in a never ending procedure. Every individual will remain only satisfied till the time something new or better is not available in the market, thus this demands never in and his requirements for something remains endless.

In the field of engineers, the term requirement is known as singular documented need of what a certain service or product should be. The term is very commonly known as requirement phase.

©Daffodil International University 7
3.1 Languages &Tools
The language and tools that we use to develop our project “Keep Clean” are as follows:
3.1.1 Language
Android Platform
Android is a mobile operating system developed by Google, based on a modified version of the Linux kernel and other open source software and designed primarily for touch screen mobile devices such as smart phones and tablets.

Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.

©Daffodil International University 8
3.1.2 Tools
A software tool is a program or application that software developers use to create, debug, maintain, or otherwise support other programs and applications. The term usually refers to relatively simple programs that can be combined together to accomplish a task, much as one might use multiple hand tools to fixed a physical object accomplish a task, much as one might use multiple hand tools to fix a physical object.

We develop our application using of this following tools:
Android studio.

Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA. On top of IntelliJ’s powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps, such as:
A flexible Griddle-based build system
A fast and feature-rich emulator
A unified environment where you can develop for all Android devices
Instant Run to push changes to your running app without building a new APK
Code templates and GitHub integration to help you build common app features and import sample code
Extensive testing tools and frameworks
Lint tools to catch performance, usability, version compatibility, and other problems
C++ and NDK support
Built-in support for Google Cloud firebase Platform, making it easy to integrate Google Cloud Messaging and App Engine.

©Daffodil International University 9
3.2 Database
A database is an integrated collection of logically related records or files consolidated into a common pool that provided data for one or more multiple uses. A number of data base architectures exist. Many database used a combination of strategies.

We used the Google Firebase Authentication, Database , Storage etc for develop our application.

3.3 Project management
The iterative model is the classical waterfall model with some necessary changes so that it becomes applicable to practical software development projects.The main change made being the feedback paths from every phases to its proceeding phases to allow correction of the errors.

Figure 3.1: Project management.

©Daffodil International University 10
4.1 Front-end Design Specification:
There will be few types of users, those Point Representative, User, Peoples ; workers.
Every user will login using simple login form. Login field are email address and password.
Will include forgot password option for recovery or generate new password.

4.2 Back-end Design Specification:
System admin will manage the software Application using default settings of the software.
System admin will add the Keep Clean admin.
Keep Clean admin will add the Representative worker’s.
Keep Clean admin will add the Users.
Keep Clean admin will manage the whole system.
Keep Clean admin will manage Representative worker’s schedule.
Workers will get the warning message when users posted.

Users will get notification message.
Users will see his/her profile information and updated.
User will see all users list.

Users also will see the previous posted and can delete post.

4.3 Interaction Design:
Interaction design essential for any project, what is specially a perfect rule between an application and user. This is incorporated design what will help user to interact with system easily. There have some dimensions of representation of a system or software to users, what will make better user experience. Such as Button Labels, Images, Typography, Icons that aid in user interaction.

©Daffodil International University 11
4.4 Implementation of Requirements:
The design needed to implement in Android studio software, JAVA based programming language (Preferred framework).
Preferred Database in Firebase.
Hosting platform should be Firebase consol server.
Schedule wise locations backup from firebase server (Both source code and Database).

Needed to show log in each user sensitive action.
Failed log in needed to store in database.
Needed to verify.
©Daffodil International University 12
5.1 Implementation of Database:
Cloud Firestone Database of Google Firebase fully security.

Needed to create users authentication.
According to role of all users’ information and user posts, Cloud Firestone Database will assign the permission for tables individually (If needed).
Users post image and profile image stores into Firebase Storage using code cache.
Users authentication successfully then user can stores data.

After that transaction being start.
Until finish the transaction respected table’s into cloud firestone in database.
Once transaction done, the updated information of table being stores in cloud firestorm database.

5.2 Implementation of Front-end Design:
Login: This is the home page of our developed system. In our system have users and every user can login using this login form. And after login they can perform action based on the defined role and user type.

Figure 5.1: Login.

©Daffodil International University 13
Either regestration user can’t sign up or login.


Figure 5.2: Registration.

©Daffodil International University 14
Home Page:
First need to be Login the home page, otherwise registration and Login. After login this application your homepage screenshot below.


Figure 5.3: Home Page.

©Daffodil International University 15
Post Page:
Users upload his/her status images, current locations, descriptions.


Figure 5.4: Post Page.

©Daffodil International University 16
Account Setting:
Update or modified user profile. Users can uploaded their profile picture, name and phone number. Account will verified by Google (Little Limited Company) LLC.

Figure 5.5: Account Setting.

©Daffodil International University 17
Menu items With Logout:
Users are checks other users lists with their valuable information’s with their status or posts. User also can see their follower’s lists also. After used current users or peoples are logout from this application, using logout button.

Figure 5.6: Menu items With Logout.

©Daffodil International University 18
Manage Schedule:
Keep clean representative can add registered users in a schedule. He also sees how many people already Registrations.
Figure 5.7: Users List.

©Daffodil International University 19

Figure 5.8: Database (Users Posts).

Firebase database contains for this applications any users id, followers lists, uploaded images (URL), current locations etc. The developers of this application as ‘Keep clean’ can access it.
©Daffodil International University 20

Figure 5.9: Database (User Profile Information).

Contains user information’s for using the application.
©Daffodil International University 21

Figure 5.10: Storage (Users Profile Image ; Post Images).

5.3 Implementation of Interactions:
To make our application (Keep Clean) we have implemented interactive UI for better user experience. In many cases we have used interactive icon rather than text link or button. The system design designed with sequence of consecutive steps to help city people. Keep Clean Representative will create Users Profile. After that Representative will assign users to specific users and submit of the users.

©Daffodil International University 22
5.4 Testing Implementation:
Testing implementation is process of testing upcoming implementation of a system, where tester or system architect will see cases and specification, is it implementable or have limitations.

Implementation testing requires following parameters:
Technologies, Example: JAVA, Android platform JDK, JVM, SDK, android studio version 3.0, HTML, CSS, images etc.

Type of a site: Android App / applications.

Language of a site: English.

Needed to check core point, is the application will help to do all core functionalities. Content support and firebase admin consol issues also needed to be considered.

5.5 Test Results and Reports:
We performed required test cases according to development criteria. Different test cases have made for a specific process and stored all test case results accordingly to interpret all result. This will help to make decision with better level of accuracy.
We have made cycle wise and automated testing to make better decision. Once test results are deliverable, then it has been released. A test result should be evaluate according to DOD (Definition of done) of specific part of a project.

©Daffodil International University 23
6.1 Discussion and Conclusion:
Above all this material of this application for the city life if Bangladeshi people. Users will have been motivated after using an application. Keep Clean App are the first Android app/application, this application users increasing once upon a time our city will be a good city life as western culture environments. Clean road, pure oxygen as per as fully change our city if people’s conscious and work together.

A different person may think in a different way. We developed the application from our point of views. Users will decide whether the application is effective or not. And anything can be changed any time as per user requirement.

The whole procedure that has done as- first of all, we made a sketch of the overall procedure into our mind. Then we divided the whole task into different parts to make it simple and easy. After that, we selected the suitable platform including languages and tools. Finally, we designed the database and application activity and tested the android apps with the help of a firebase server. It is ready to work in real life.

6.2 Scope for Further Developments:
We will use the newer features with the changing communication technology. We will implement video conference etc.
©Daffodil International University 24
1 www.google.com2 https://console.firebase.google.com
3 https://console.firebase.google.com/u/0/project/dekeepcleanbd/authentication/users4 https://console.firebase.google.com/u/0/project/dekeepcleanbd/database5 https://console.firebase.google.com/u/0/project/dekeepcleanbd/storage/dekeepcleanbd.appspot.com/files6 https://console.firebase.google.com/u/0/project/dekeepcleanbd/hosting7 https://console.firebase.google.com/u/0/project/dekeepcleanbd/functions/list8https://console.firebase.google.com/u/0/project/dekeepcleanbd/growth/app/android:com.example.decreative.dekeepcleanbd9 SHA certificate fingerprints help_outlineTypehelp_outline
10 Web API Key: AIzaSyCFceWSMxbtTMeq-h-GefIlF3LaKz_8ShA
11 https://console.firebase.google.com/u/0/project/dekeepcleanbd/experiments/list©Daffodil International University 25
Appendices: Project Reflection: From Fall-2016 semester we had started our journey to make a platform, where Users, workers, and our city environments can communicate easily. We followed the model for improvement to implement and monitor our interventions and were able to reach our aim.

We believe that “Keep Clean” will have a positive impact on people. And we will continue to update our project.

©Daffodil International University 26