Sunteți pe pagina 1din 21

PROJECT REPORT OF IN-HOUSE TRAINING

Mobile Application Development


in Android

Amity University Uttar Pradesh

Submitted By

Apoorva Srivastava

A2305214162

5CSE 3

Btech CSE (2014-18)

Under the guidance of

Mr Kunal Gupta

CSE-ASET

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

AMITY SCHOOL OF ENGINEERING AND TECHNOLOGY

AMITY UNIVERSITY UTTAR PRADESH

NOIDA (U.P.)

Apoorva Srivastava Page 1


5CSE-3
Roll No: A2305214162
ABSTRACT

Android is a Linux based operating system and has a java development interface. It was
developed initially for devices like mobile phones (touchscreen) and tablets. Now its use
has expanded its realms to android televisions, android cars etc.

Android is developed by Google. Google hosts android applications and the Google Play
applications permits to install fresh android applications on an android device. Google
allows the Google Play services and this service is used to be called the Android Market.

Android application development refers to developing android applications that can be run
on an android platform and provide various user services.

Applications are defined to Android via the android manifest file, located in the root of the
Eclipse project definition (AndroidManifest.xml). An Android application is a collection
of activities; an activity correlates to a screen or form that is presented to the user.

Android applications are written in the Java programming language. The Java source files
are converted to Java class files by using the Java compiler. For each application the
corresponding class files are compressed .dex file and redundant information in the class
files are optimized in the .dex file. The dex files are smaller in size than the corresponding
class files.

Android applications have a wide range of applications from student apps to e-commerce.
We have a large range of personal dairies, scientific calculators, chatting apps etc. Android
apps provide a wide range of services and are very useful as some of them are free and
provide some essential functions which are required in day to day lives.

Android is a free development platform which owes to its popularity, easy availability and
wide reach. They help in providing better services to customers. Having an android app
helps the entrepreneur to be in quick contact with users and provides a handy service to the
customers.
Apoorva Srivastava Page 2
5CSE-3
Roll No: A2305214162
1. INTRODUCTION

1.1Introduction

The project aims at developing an android app for bus service. It allows the user to reserve
a seat in the bus for a trip. So the user needs to sign in and do the needful and get a ticket
for the journey.

The app has five categories of users-

Manager
Supervisor
Booking clerk
Driver
User

The app has following features-

Enables all the users to book one or more seats for a particular route on a
particular date of journey.
It allows the users to select seats by providing graphical interface of the
bus.
It allows users to view their tickets in the My tickets category and
maintains a record of booking history.
It keeps a record of employee information which is accessible to the
manager.
It keeps a record of all the bus routes.
It keeps a record of all the buses and details.
It allows various users to have access to activities relevant to the.

Apoorva Srivastava Page 3


5CSE-3
Roll No: A2305214162
1.2 Purpose

The aim of our application development is to develop and implement an application that is
low maintenance, easy to use and is user friendly.

1.3 Objective

The main goal of the app is to provide an application which eases the process of booking
seats and making reservations for buses.

With various levels of users it helps to ease administration (by manager and supervisor)
and overall management of the system. Admin level can have additional functionality of
viewing database information and adding or deleting entries.

Different users are provided different functionality according to their needs and level of
administration.

Data is accessed through SQLite database which is an inbuilt database of the android and
thus is secure. Since all the users are uniquely identified therefore their data can be
extracted easily from the database.

The interface should be user friendly and easy to use. Users must be able to view booked
history whenever they want to.

It also aims to have an eco-friendly production of tickets by making an e-ticket and


without the use of printed tickets it reduces the problem of user and the user just needs to
login to the app and can have the ticket.

Apoorva Srivastava Page 4


5CSE-3
Roll No: A2305214162
2. MATERIALS AND METHODS

2.1 Technology

Java, XML

SQLite

2.2 Software

Eclipse Juno

JRE 7

Windows10

2.3 Eclipse IDE

Eclipse is an IDE i.e. integrated development environment which has all the features
required for android development embedded in its software. Eclipse is a freeware and can
be easily downloaded.

Eclipse enables the user to make a project in a specified API level. With the help of
activities which are a combination of java file and xml file, we can build the app. The java
file defines the code and working of different widgets and the xml file is used to create a
user interface.

Each java file has its xml defined if it is an activity. For a service only a java file is defined
and for layouts only xml file.

There are various layouts and widgets available in the IDE which we can use to make our
interface according to our needs. To assign each widget an id we define its working using
this id in the corresponding java file.

It provides with a virtual machine (dalvik) which runs on an emulator and helps us to run
the app within the IDE. This helps to identify and remove any error in the code if present.
Apoorva Srivastava Page 5
5CSE-3
Roll No: A2305214162
2.4 Corel Draw
It is used for designing and creating various logos, backgrounds, themes etc. It contains
tools for designing background and custom logos for various uses.

Apoorva Srivastava Page 6


5CSE-3
Roll No: A2305214162
2.5 Method

The methodology applied is simple and as follows-

1. To identify various users and their hierarchical order.


The app has three levels:
Administrative Employees: Manager , Supervisor
Other Employees: Driver, Booking clerk
Users

2. Construct various activities according to the requirements of various users.

The construction of app was done in Eclipse juno which has java and xml files for each
activity. The xml file was used for construction of the user interface.

3. To make database according to the need.

Database tables were created in accordance to the need and separated databases
were created for buses, routes, employees, seats and ticket.
Using MySQLite database which is in built in android construction of database was
done.

4. To enter data.

Data is entered at the time of registration and other data is entered by the manager.

5. To test the app on android virtual device emulator.

The app is tested for any errors on emulator on the system itself.

Apoorva Srivastava Page 7


5CSE-3
Roll No: A2305214162
3. RESULTS AND DISCUSSION

Administrative employees have the access to the database of operational routes and buses.

Also the manager has special functionality of adding or deleting information like bus info,
route info and has a view of all the employees and their contact information. While
supervisor, can only view this information and has no access to employee data.

Other employees like driver can view his schedule for the day and booking clerk can do
group bookings.

Users can have their own account and login to reserve seats in the bus.

1. On the apps list the app button shows up.

Apoorva Srivastava Page 8


5CSE-3
Roll No: A2305214162
2. At the launch the first page open ups which gets automatically redirected to second
screen.

3. Then the login screen opens up. If not a user, it will ask to register.

Apoorva Srivastava Page 9


5CSE-3
Roll No: A2305214162
On forgot password click credentials are checked and the user is provided with the
password.

If the credentials are invalid user is denied access to password.

Apoorva Srivastava Page 10


5CSE-3
Roll No: A2305214162
4. On registration the user has to fill the necessary details including the type of user.

5. For a manager login following screen opens up.

Apoorva Srivastava Page 11


5CSE-3
Roll No: A2305214162
6. On clicking Employee info, manager can access employee data and can either delete an
entry or make a call to the employee.

Apoorva Srivastava Page 12


5CSE-3
Roll No: A2305214162
7. On clicking BusInfo bus data is available and manager can add, delete a bus.

The manager can view additional information by clicking on more info.

Apoorva Srivastava Page 13


5CSE-3
Roll No: A2305214162
8. On clicking RouteInfo the manager can view route information and add or delete routes.

Apoorva Srivastava Page 14


5CSE-3
Roll No: A2305214162
9. On clicking BookTicket, this screen will appear where we can enter the route to
travel using a dropdown list.

Next is to select the date of travel and on clicking buses a list of available buses will
appear.

Apoorva Srivastava Page 15


5CSE-3
Roll No: A2305214162
On selecting a bus id, seat booking screen will open for seat selection. Then passengers
information is filled.

And finally ticket is generated.

Apoorva Srivastava Page 16


5CSE-3
Roll No: A2305214162
10. On clicking MyTickets a list of booked tickets will appear. On clicking any particular
item in list the corresponding ticket will open.

11. For supervisor login following screen will open up.

Apoorva Srivastava Page 17


5CSE-3
Roll No: A2305214162
12. For user and booking clerk login following screen will show up.

And finally there is a rating where user can share their experience.

Apoorva Srivastava Page 18


5CSE-3
Roll No: A2305214162
4. CONCLUSION

The app provides a user friendly interface that provides easy booking of tickets for
a trip.

The app has database that can be accessed by various users and can be also
manipulated according to the needs.

Ease to use and maintain it is useful for providing a complete environment for
booking ticket from selecting route, date, bus and seats with the tickets produced
authentic with guarantee of on time service and safe journey.

Ticket booking on the go saves time and money.

These are the essentials provided by bus booking mobile app:

Users can choose their seat window or aisle.


Be sure about the station and time of boarding.
Choose date and the time of your travel according to your need.
You can choose according to the budget to book a seat in AC or NON-AC bus.

Apoorva Srivastava Page 19


5CSE-3
Roll No: A2305214162
5. FUTURE IMPLICATION

Bus is the second best option for long travel after trains. Thus people prefer buses
to travel specially when travelling in groups and because it is cheap mode of
transport people prefer it over taxi services.

The Bus booking app has a future implication of being able to cater to the growing
needs of the population to travel from one place to another.

With increase in day to day travel for many purposes like business, work and
holiday bus app can make the whole process of booking a seat very easy and
simpler for the users.

An easy and efficient bus booking app can help many users to book buses at urgent
basis.

The user friendly graphics make the app attractive and interesting and helps to book
and reserve seats without the use of complex and lengthy web sites and systems.

The app can be further bettered for more wide reach to users so that more and more
people can get connected to it and get the benefits of easy travel.

Apoorva Srivastava Page 20


5CSE-3
Roll No: A2305214162
6. REFRENCES

[1] (2016) Tutorial on Android development

OnlineAvailable: www.tutorialspoint.com/android

[2](2016) Android Tutorial

OnlineAvailable: www.javatpoint.com/android-tutorial

[3] (2016) Android

OnlineAvailable: https://developer.android.com/training/basics

[4] (2016) Android Programming tutorial

OnlineAvailable: www.coreservlets.com/android-tutorial

[5](2016) Working on Eclipse

OnlineAvailable:code.tutsplus.com/tutorials/android-sdk-working-with-eclipse

Apoorva Srivastava Page 21


5CSE-3
Roll No: A2305214162

S-ar putea să vă placă și