Sie sind auf Seite 1von 30

INDUSTRIAL TRAINING PROJECT REPORT

ENTITLED AS
EXPENSE MANAGER
SUBMITTED TO

MIET, MEERUT
In Partial Fulfillment of the Requirements for
The Bachelor of Technology in Information Technology.
(2013-2017)
On the basis of work done
At
RITUSHA CONSULTANTS PVT LIMITED.

Prepared By:
Nishant Goel
B.Tech (Information Technology)
Roll No: 1306813038

ACKNOWLEDGEMENT

This project report is a result of endless effort & immense degree of toil. I
would like to thank all those people who graciously helped me by sharing
their valuable time, experience and knowledge. I would like to express
heartiest thanks to our company guide Mr. Jeetendra Singh for his
constructive guidance, constructive encouragement and proper criticism with
affection.
I would like to express my sincere gratitude to Mr. Sudhir Goswami (Asst.
Professor), Department of CSE, MIET, MEERUT for providing me chance
to explore my skills in Android App Development and encouragement which
resulted as a successful completion of one month project as a part of training
organized at MIET, MEERUT by RITUSHA CONSULTANTS PVT LIMITED.
I would like to dedicate this work to my reserved institute, Meerut Institute
of Engineering and Technology, Meerut where I am getting the shape of
future Information Technologist.
Lastly, I express my gratitude to my parents and GOD who gave their
blessings and support to me during this project.

Contents
1.

Abstract................................................................................................................ 1

2.

Company Profile................................................................................................... 2

3.

Introduction.......................................................................................................... 3
3.1 History............................................................................................................... 3
3.2 Architecture of Android...................................................................................... 4
3.3 Goal of Proposed System...................................................................................5

4.

Technology Used.................................................................................................. 6
4.1 Android Studio................................................................................................... 6
4.2 Android SDK...................................................................................................... 7
4.3 JAVA Development Kit (JDK)...............................................................................8

5. Software and Hardware Specification.....................................................................9


5.1 Software Requirements..................................................................................... 9
5.2 Hardware Requirements.................................................................................... 9
6. Project Design and Implementation......................................................................10
6.1 Entity Relationship Diagram............................................................................ 10
6.2 Use Case Diagram........................................................................................... 11
6.3 Database Schema........................................................................................... 12
6.4 Snapshots of Application.................................................................................13
7. Test Cases............................................................................................................. 23
8. Future Scope........................................................................................................ 24
9. References............................................................................................................ 25

1. Abstract
Expense Manager is simple, intuitive, stable and feature-rich app that is just
designed to manage your daily expenses while you are on a trip. Manage
your expenses directly on your smartphone. Easily keep track of your
finances. This app allows you to record your expenses easily. Optionally you
can assign a category to your expense in order to get detailed statistics and
helpful insights.
Key Features:

Most relevant information on dashboard at a glance


Organizing bills trip, date as well as by categories
Daily, Monthly, trip wise and category wise summary
All data save on your phone. Nobody but you can access your account.
No registration and internet access are required.
PIN protection

With Expense Manager:

Manage your trip expenses.


Know your up to date account balance.
Know your monthly category wise expenses.
Add any number of expense or income categories as desired.
Get a reminder to fill in your daily transactions.
Know how much you spent on a particular date.

2. Company Profile
RCPL is the largest training company in India with over 20 years of
experience in the field of education. RCPL has a dedicated team of 80 team
members which provides the quality training across the country. RCPL
conducts trainings for students from best of the institutions of the country,
training over 25000 students every year.
Founded in 2001 by Mukesh Kumar and his team of 10 members, it was a
leap towards unmatched IT Education and services. At Present RCPL partners
to some of the biggest IT companies of the world, bringing together good
quality man-power IT training and Manpower consultancy. RCPL today is a
name to reckon with. RCPL now has expanded to serve more than 1 lac
regular users, they have done this by focusing on what matters most to
them. Quality education & Mentoring Leaders For life.
They are a big team of Professionals with a strong backend team who carry
robust experience backed by that innate vision to excel in areas including IT
training, IT consulting, creating and maintaining almost everything that
comes on your IT solution wish list.

3. Introduction
3.1 History
Android, Inc. was founded in October 2003 California by the efforts of Andy
Rubin who was co-founder of Danger, Rich Miner who was co-founder of
Wildfire Communications, Inc., Nick Sears was once VP at T-Mobile, and Chris
White which headed design & interface development of WebTV.
The motive of the company was to develop an advanced operating system
which can be used digital cameras, but when they realized that the market
required for that was not large enough to capture, and they diverted their
efforts in producing the operating system which to rival Symbian and others.
Despite the founders past accomplishments, Android Inc. secretly operated,
revealing it was working on mobile phones software. Google buys out
Android Inc. on 17 August 2005. Android Inc. key employees- Rubin Miner
and White stayed in the company after the Google acquisition.
Many assumed that android Inc. at that time was planned to enter the
market of mobile phone. At Android team led by Rubin developed Linux
kernel powered mobile phone operating system.
Google demonstrated the operating system to handset makers and carriers
with the vision of providing a flexible & upgradable system. The Google has
taken a series of h/w component and s/w partners and signaled to carriers
that they are open up more co-operations.
On 5 November 2007 Androids powered mobile device platform built on the
Linux kernel version 2.6.25 is launched. HTC Dream was first commercially
available android powered Smartphone released on October 22, 2008. In
2010 Google launched series of devices named-Nexus.

3.2 Architecture of Android

Figure 1: Android Architecture

3.3 Goal of Proposed System


The primary goal of the project is to design, develop and test an Android
Application Expense Manager. The proposed system is to enables people
who work for some organization and are on frequent business trips as a part
of their job. The aim of the project is to provide such an application that lets
you manage all your expenses of the trips with the given budget and lets you
make your plan accordingly. You can create new trips, add new expenses,
view your balanced budget, etc. as a part of managing the expenses.
Our goals in developing the proposed Android Application are:
Accuracy: The level of accuracy in the proposed system will be higher.
All operation would be done correctly and it ensures that whatever
information is coming from the center is accurate.
Access: The Expense Manager has a specially designed interface that
will let you do operation easily & effectively.
Immediate retrieval of information: The main objective of
proposed. System would be to provide quick and easy retrieval.
Easy to Operate: The system should be easy to operate and should
be such that it can be developed within a short period of time and fit in
the limited budget of the user.

4. Technology Used
4.1 Android Studio
Android Studio is the official integrated development environment (IDE)
for Android platform development. It was announced on May 16, 2013 at
the Google I/O conference. Android Studio is freely available under
the Apache License 2.0.
Android Studio was in early access preview stage starting from version 0.1 in
May 2013, then entered beta stage starting from version 0.8 which was
released in June 2014. The first stable build was released in December 2014,
starting from version 1.0.
Based on JetBrains' IntelliJ IDEA software, 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.

A flexible Gradle-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 Platform, making it easy to integrate


Google Cloud Messaging and App Engine

4.2 Android SDK


The android software development kit consist of many packages. It is
extensively used for development of android application. The SDK get linked
with the eclipse & provide the whole integrated development environment
for the application development which will run on the android operating
system powered smartphone.
Software development kit consist of debugger, libraries, documentation,
sample code, tutorials, emulator which run similar like a handset devices & it
has some default handset devices profiles.
Until around the end of 2014, the officially supported integrated
development
environment (IDE)
was Eclipse using
the Android
Development Tools (ADT) Plugin, though IntelliJ IDEA IDE (all editions) fully
supports Android development out of the box,and NetBeans IDE also
supports Android development via a plugin. As of 2015, Android Studio, made
by Google and powered by IntelliJ, is the official IDE; however, developers are
free to use others.
Additionally, developers may use any text editor to edit Java and XML files,
then use command line tools (Java Development Kit and Apache Ant are
required) to create, build and debug Android applications as well as control
attached Android devices (e.g., triggering a reboot, installing software
package(s) remotely).

4.3 JAVA Development Kit (JDK)


The Java Development Kit (JDK) is an implementation of either one of
the Java Platform, Standard Edition; Java Platform, Enterprise Edition or Java
Platform, Micro Edition platforms released by Oracle Corporation in the form
of a binary product aimed at Java developers on Solaris, Linux, Mac OS
X or Windows. The JDK includes a private JVM and a few other resources to
finish the development of a Java Application. Since the introduction of
the Java platform, it has been by far the most widely used Software
Development Kit (SDK). On 17 November 2006, Sun announced that they
would release it under the GNU General Public License (GPL), thus making
it free software. This happened in large part on 8 May 2007, when Sun
contributed the source code to the OpenJDK.
The JDK also comes with a complete Java Runtime Environment, usually
called a private runtime, due to the fact that it is separated from the
"regular" JRE and has extra contents. It consists of a Java Virtual Machine and
all of the class libraries present in the production environment, as well as
additional
libraries
only
useful
to
developers,
such
as
the internationalization libraries and the IDL libraries.
Copies of the JDK also include a wide selection of example programs
demonstrating the use of almost all portions of the Java API.

5. Software and Hardware Specification


5.1 Software Requirements
The applications has been designed in keeping some software requirements
which needs to be fulfilled by the smartphones, it is being installed in.
Android Operating System (Version 4.2 Jellybean or higher)
The application will not be supported by the lower version of Android which
are below 4.2.

5.2 Hardware Requirements


The application also comes with some hardware requirements which are
minimum required by any device it runs on.

256 MB RAM minimum.


Storage space of 6 MB.

10

6. Project Design and Implementation


6.1 Entity Relationship Diagram

Figure 2: ER Diagram

11

6.2 Use Case Diagram

Figure 3: Use Case Diagram

12

6.3 Database Schema


1. For storing TRIP Details

Attributes
Trip_ID
FROM_CITY
TO_CITY
Date_of_Start
Date_of_End
Approved_Budget
Balanced_Budget

Data Type
TEXT
TEXT
TEXT
TEXT
TEXT
REAL
REAL
Table 6.1 trip_table

2. For storing Expense Details


Attributes
Expense_ID
Category
Particular
Amount_Spent
Date
Trip_ID

Data Type
TEXT
TEXT
TEXT
REAL
TEXT
TEXT
Table 6.2 expense_table

13

6.4 Snapshots of Application


1. Home Screen

The Home Screen is used to display the Current Trip, on which the user is,
and the available balance for that particular trip. Also, there are four options
to add a new trip, to view a trip and its details, add a new expense and
reports which displays a detailed analysis of all the trips the users has
registered.

14

2. Adding a New Trip

The Add New Trip screen lets the user to register a new trip and its details
like ID of the trip, the place it starts from, the place the trip is destined for,
starting date of trip, ending date of the trip and approved budget which is
allocated to the user by the company for this trip.
No entry can be left blank and any invalid input will not be accepted.

15

3. Invalid Inputs

While adding a new trip, no entry can be left blank or invalid. If a user tries to
do so then a message Trip ID cannot remain blank will be displayed on the
screen , alerting the user for the error.
Hence, all the fields are mandatory to fill with valid inputs

16

4. View all Trips

In case, the user wants to view all the registered trips in the database, view
trip option performs the action. A complete list of all the trips is displayed
along with their respective Trip IDs. The user can click on any trip ID to view
details of the selected trip.
Only registered trips will appear to user.

17

5. Modify Trip Details

At any instant of time, if there are some changes in a trip and its details
then, the app provides the facility to make modifications. Users can modify
any attribute which has changed and the modified details will be updated.
Moreover, on long press a trip ID, the options of updating and deleting are
also provided. The trip may be deleted if it is cancelled due to any reason.

18

6. Adding a new Expense

When, a business employee is on a trip, there are many expenses which is to


be done. Whenever, some amount of money is spent as a part of the trip, it
needs to be provided to the app. There are some categories like travel, food,
lodging, miscellaneous, which are to be selected while adding the expense
details. The amount spent and dates are also added and the balance on
home screen is updated with each expense added.

19

7. Reports

This option gives the users a detailed analysis of all the information about all
the trips. It offers three different types of views, day wise, trip wise and
category wise report.
Users can choose any view as per their choice to view a detailed report of
the trips based on the category selected.

20

8. Day Wise Report

The first view is day wise view of reports where the screen displays the dates
on which expenses were made, and the total expense made on that date. If
the users want to view more detailed report like what category the expenses
were made on, they can do so by selecting any date.
Another screen will offer a more detailed report along with categories.

21

9. Trip Wise Report

The trip wise report option is similar to day wise but instead of displaying
dates, it shows all the trips with their trip IDs and the total expense made on
that trip.

22

10.

Category Wise Report

The last type of view option is category wise report that shows all the
categories and the total expense made on them of all trips and all dates
combined.
The user has the option is choose any view option according to the
requirement.

23

7. Test Cases

Ref. No.

Test Data
Install the Android
Application on the
Android Operating
System (4.2 or higher)
Start the Application by
clicking its icon

Application is
started

Home Screen Of the


Application

Home Screen is
coming after the
starting of
Application

Selecting one of the four


options on home screen.

Adding a new trip.

Leaving one entry of add


trip blank.

Viewing trip details.

10

Expected
Outcome
Install the
Android
Application on
the Android
Operating System
(2.3.3 4.4.4)

Selected screen
comes
successfully.
New trip added
successfully.
Invalid input and
error message.
Display trips by
trip IDs.

Final Result

Pass

Pass

Pass

Pass
Pass
Pass
Pass

Adding a new expense.

New expense
added and home
screen balance
updated.

Pass

Day wise report.

Expenses made
on the dates are
displayed.

Pass

Trip wise report.

Expenses made
on a particular
trip are
displayed.

Pass

24

11

Catefory wise report.

Expenses made
on a particular
category are
displayed.

Pass

25

8. Future Scope
Applications in Android platform are growing at unimaginably high pace.
Android has rapidly become the fastest-growing mobile OS with largest
installed base. Every day more than 900,000 new Android devices are
activated worldwide. Androids openness has made it a favorite for
consumers and developers alike, driving strong growth in app consumption.
Android users download more than 1 billion apps and games from Google
Play each month. With its partners, Android is continuously pushing the
boundaries of hardware and software forward to bring new capabilities to
users and developers. For developers, Android innovation lets us build
powerful, differentiated applications that use the latest mobile technologies.
Google Play is the premier marketplace for distributing Android apps
The future of such mobile applications is very bright. We are entering the
time of Big Data analytics which can be combined with Android application.
This integration will help in utilizing the terabytes of wasted data every day.
Advances technologies such as pattern recognition, machines learning,
computer-aided decision support system will help in great advancement in
such mobile applications. The applications will optimize your expenses based
on the analyzed data and select the best options for you. Thus , making the
expense manager more effective and user friendly.
A typical scenario, you are having lunch in a restaurant and after you get the
bill, you are required to enter the amount in your application. Take the
picture of the bill with your smartphone and the expense request is
automatically generated and added to the account.

26

9. References
[1] Getting Started with Android referred from http://developer.android.com/.
[2]K.K.Aggarwal & Yogesh Singh, Software Engineering, 2013, New Age
International Publication.
[3] Referred the book written by Roger Pressman, titled Software
Engineering - a practitioner's approach
[4] www.tutorialpoint.com
[5] www.youtube.com
[6] www.wikipedia.com
[7] www.stackoverflow.com

27