Petrola Application using Android Technology

advertisement
International Journal of Engineering Trends and Technology (IJETT) - Volume 35 Number 4 - May 2016
Petrola Application using Android Technology
Sushant Kumar1 Vinay Kumar Sonkar2 Indrajit Chowdhury3 Mallikarjun Mantagi4
1234
8th Semester, Department of ISE, SJB Institute of Technology, Bangalore, Karnataka
Abstract— Petrola is a GPS Based Android App. This
application help users when user’s vehicle Petrol/Diesel gets
over in the middle of the road, in this situation user need to
just open this app then search for nearby petrol pump and
order fuel. Nearby Petrol bunk delivery officer get the request
from this app. Then delivery officer will send a delivery boy
to deliver the required amount of fuel to the desired location.
Keywords— GPS; App; Android.
I. INTRODUCTION
Petrola is an Android app based on GPS. To access this
app, user has to enter their details with Vehicle number and
Driving License number. This application help users when
user’s vehicle Petrol/Diesel gets over in the middle of the
road, in this situation user need to just open this app then
search for nearby petrol pump and order fuel. After ordering
delivery officer will receive the message about the location of
the user with the amount of fuel he requires. Then officer will
send a delivery boy to deliver the required amount of fuel to
the desired location.
The Global Positioning System (GPS) is a space-based
navigation system that provides location and time information
in all weather conditions. So through this we will set up all the
navigation platform i.e. Source and destination with the help
of latitude and longitude for user as well as for delivery
officer. After booking through this module user will get a
notification message of booking details with the information
of a delivery boy i.e. name, contact number and time required
for delivery. For merchant there will be a notification message
of the user details and through map navigation it will notify
with current location of user after booking.
to manipulate on-screen objects, along with a virtual
keyboard for text input. In addition to touchscreen devices,
Google
has
further
developed Android
TV for
televisions, Android Auto for cars and Android Wear for wrist
watches, each with a specialized user interface. Variants of
Android are also used on notebooks, game consoles, digital
cameras, and other electronics.
Initially developed by Android, Inc., which Google bought
in 2005, Android was unveiled in 2007, along with the
founding of the Open Handset Alliance – a consortium
of hardware, software, and telecommunication companies
devoted to advancing open standards for mobile devices. As of
July 2013, the Google Play store has had over one million
Android applications ("apps") published, and over 50 billion
applications downloaded. An April–May 2013 survey of
mobile application developers found that 71% of developers
create applications for Android, and a 2015 survey found that
40% of full-time professional developers see Android as their
priority
target
platform,
which
is
comparable
to Apple's iOS on 37% with both platforms far above
others. At Google I/O 2014, the company revealed that there
were over one billion active monthly Android users, up from
538 million in June 2013.
II. RELATED WORK
Android is a mobile operating system (OS) currently
developed by Google, based on the Linux kernel and designed
primarily for touchscreen mobile devices such as smartphones
and tablets. Android's user interface is mainly based on direct
manipulation, using touch gestures that loosely correspond to
real-world actions, such as swiping, tapping and pinching,
Figure: System Architecture with Internet Access
ISSN: 2231-5381
http://www.ijettjournal.org
Page 169
International Journal of Engineering Trends and Technology (IJETT) - Volume 35 Number 4 - May 2016
This application will contain the most important things
and they are listed below:• The application will be deployed on the User’s and delivery
officer’s android phone.
• The database which will allot id to the user and delivery
officer.
• The central database which will manage other database and
control the activities.
III. EXPERIMENTAL SETUP
 J2EE
The J2EE Connector Architecture defines a standard
architecture for connecting the J2EE platform to
heterogeneous EISs. Examples of EISs include ERP,
mainframe transaction processing, database systems, and
legacy applications not written in the Java programming
language.
The J2EE Connector architecture enables an EIS vendor
to provide a standard resource adapter for its EIS. The
resource adapter plugs into an application server, providing
connectivity between the EIS, the application server, and
the enterprise application. If an application server vendor
has extended its system to support the J2EE Connector
architecture, it is assured of seamless connectivity to
multiple EISs.
 J2EE Component
A J2EE component is one of the self-contained
functional units inside a J2EE application. It functions
independently, bundled and/or when interacting with
various J2EE components written in the Java language and
executed like any other Java program. Combining
respective classes and files facilitates communication
between J2EE components in the same J2EE application.
Client tier components, such as application clients and
applets, run on a client machine. Web and business tier
components, such as Java servlets and Java server pages
(JSP), run on a J2EE server. The EIS tier component runs
on the EIS server.
J2EE component features are different from standard Java
program features, as follows:



They are different parts that must be assembled into a
J2EE application.
They should be compliant with J2EE specifications.
They are managed by the J2EE server after
deployment.
 Android
Android is a mobile operating system developed by
Google. It is used by several smartphones, such as the
Motorola Droid, the Samsung Galaxy, and Google's own
Nexus One.
The Android operating system (OS) is based on the open
Linux kernel. Unlike the iPhone OS, Android is open
source, meaning developers can modify and customize the
OS for each phone. Therefore, different Android-based
phones may have different graphical user interfaces GUIs
even though they use the same OS.
Android phones typically come with several built-in
applications and also support third-party programs.
Developers can create programs for Android using the free
Android SDK (Software Developer Kit). Android
programs are written in Java and run through Google's
"Davlik" virtual machine, which is optimized for mobile
devices. Users can download Android "apps" from the
online Android Market.
Since several manufacturers make Android-based phones,
it is not always easy to tell if a phone is running the
Android operating system. If you are unsure what
operating system a phone uses, you can often find the
system information by selecting "About" in the Settings
menu. The name "Android" comes from the term android,
which refers to a robot designed to look and act like a
human.
We can download version for:
i. Android 6.0
ii. Android 5.1
iii. Android 5.0
iv. Android 4.4
v. Android 4.3
 Apache
Apache is a web server, the most popular in use. As of
June 2013, Apache was estimated to serve 54.2% of all
active websites and 53.3% of the top servers across all
domains. Apache is developed and maintained by an open
community of developers under the auspices of the Apache
Software Foundation. Released under the Apache License,
Apache is open-source software. A wide variety of features
is supported, and many of them are implemented
as compiled modules which extend the core functionality
of Apache. These can range from server-side programming
language support to authentication schemes.
We can download version for:
i. Apache 2.0.x trunk
ii. Apache 2.2.x trunk
iii. Apache 2.4.x trunk
 MYSQL
It is an open-source relational database management
system (RDBMS); in July 2013, it was the world's second
most widely used RDBMS, and the most widely used
open-source client–server model RDBMS. It is named after
Michael Widenius' (who is a co-founder of MySQL)
daughter, My, while "SQL" stands as the abbreviation for
Structured Query Language. The MySQL development
project has made its source code available under the terms
of the GNU General Public License, as well as under a
variety of proprietary agreements. MySQL was owned and
sponsored by a single for-profit firm, the Swedish
company MySQL AB, now owned by Oracle Corporation.
ISSN: 2231-5381
http://www.ijettjournal.org
Page 170
International Journal of Engineering Trends and Technology (IJETT) - Volume 35 Number 4 - May 2016
For proprietary use, several paid editions are available, and
offer additional functionality.
MySQL is a popular choice of database for use in web
applications, and is a central component of the widely used
LAMP open-source web application software stack (and
other "AMP" stacks). LAMP is an acronym for "Linux,
Apache, MySQL, Perl/PHP/Python". Free-software opensource projects that require a full-featured database
management system often use MySQL. Applications that
use the MySQL database include: TYPO3, MODx, Joomla,
WordPress, phpBB, MyBB, Drupal and other software.
MySQL is also used in many high-profile, large-scale
websites, including Google (though not for searches),
Facebook,Twitter,[ Flickr, and YouTube.

PHP
It is a server-side scripting language designed for web
development but also used as a general-purpose
programming language. Originally created by Rasmus
Lerdorf in 1994, the PHP reference implementation is now
produced by The PHP Group. PHP originally stood for
Personal Home Page, but it now stands for the recursive
backronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML code, or it
can be used in combination with various web template
systems, web content management system and web
frameworks. PHP code is usually processed by a PHP
interpreter implemented as a module in the web server or
as a Common Gateway Interface (CGI) executable. The
web server combines the results of the interpreted and
executed PHP code, which may be any type of data,
including images, with the generated web page. PHP code
may also be executed with a command-line interface (CLI)
and can be used to implement standalone graphical
applications.
The standard PHP interpreter, powered by the Zend
Engine, is free software released under the PHP License.
PHP has been widely ported and can be deployed on most
web servers on almost every operating system and
platform, free of charge. PHP is a server-side
scripting language designed for web development but also
used as a general-purpose programming language. PHP
code is interpreted by a web server with a PHP processor
module, which generates the resulting web page: PHP
commands can be embedded directly into an HTML source
document rather than calling an external file to process
data. It has also evolved to include a command-line
interface capability and can be used in standalone graphical
applications.
PHP is free software released under the PHP License,
which is incompatible with the GNU General Public
License (GPL) due to restrictions on the usage of the
term PHP.
We can download version for:
i.
Php 5.3.x trunk
ii. Php 5.4.x trunk and combinations
 Interface
Android's default user interface is based on direct
manipulation, using touch inputs, that loosely correspond
to real-world actions, like swiping, tapping, pinching, and
ISSN: 2231-5381
reverse pinching to manipulate on-screen objects, and
a virtual keyboard. The response to user input is designed
to be immediate and provides a fluid touch interface, often
using the vibration capabilities of the device to
provide haptic feedback to the user. Internal hardware such
as accelerometers, gyroscopes and proximity sensors are
used by some applications to respond to additional user
actions, for example adjusting the screen from portrait to
landscape depending on how the device is oriented, or
allowing the user to steer a vehicle in a racing game by
rotating the device, simulating control of a steering wheel.
 Hardware
The main hardware platform for Android is the 32bit ARMv7 architecture. The Android-x86 project provides
support for the x86 architecture, and Google TV uses a
special x86 version of Android. In 2012, Intel processors
began to appear on more mainstream Android platforms,
such as phones. In 2013, Free scale announced support for
Android on its i.MX processor, specifically the i.MX5X
and i.MX6X series. Android devices incorporate many
optional hardware components, including still or video
cameras, GPS, orientation sensors, dedicated gaming
controls, accelerometers,
gyroscopes,
barometers, magnetometers, and touchscreens.
Some
hardware components are not required, but became
standard in certain classes of devices, such as smartphones,
and additional requirements apply if they are present.
Some other hardware was initially required, but those
requirements have been relaxed or eliminated altogether.
For example, as Android was developed initially as a
phone OS, hardware such as microphones were required,
while over time the phone function became optional.
Android used to require an autofocus camera, which was
relaxed to a fixed-focus camera if it is even present at all,
since the camera was dropped as a requirement entirely
when Android started to be used on set-top boxes.
IV. CONCLUSION
This paper gives an architecture which will help the
people in the emergency using its android smart phones.
People only need to enter their details with vehicle number
and driving license. Using this app they can search nearby
petrol pump and order the fuel. People can take care about
their vehicle parking and security. It also can save the time.
V. ACKNOWLEDGEMENT
We express our deepest gratitude and sincere thanks
to Mr. Ranjith J, Asst. Professor of the Department of
Information Science and Engineering for his valuable
guidance throughout our project work.
VI. REFERENCES
[1] “Learning Android Setup & Design”
https://www.youtube.com/results?search_query=tech+a
cademy+android
[2]“Learning Code”
https://gist.github.com/search?utf8=%E2%9C%93&q=
android+login
http://www.ijettjournal.org
Page 171
International Journal of Engineering Trends and Technology (IJETT) - Volume 35 Number 4 - May 2016
[3]“Book Referring ”
Reto Meier - ‘Professional Android Application
Developmet
[4] “Vehicleticipate: Vehicle pooling with your iPhone
(almost)” http://theappleblog.com/2008/10/22/
Vehicleticipate-Vehicle pooling-with-your-iPhonealmost/
[5] http://www.statemaster.com/graph/lab_per_of_
wor_who_tra_to_wor_by_Vehicle-workerswhotraveled-work-Vehiclepool“state Master - Percent of
Workers Who Travelled to Work by Vehiclepool (most
recent) by state”
[6] http://seattletimes.nwsource.com/html/pacificnw
03122006/coverstory.html“Getting Nowhere”
[7] http://www.appvee.com/t/
Vehicleticipate- “Vehicleticipate Review”
[8] http://www.eia.doe.gov/pub/oil_gas/
petroleum/feature_articles/2004/worldoilsupply/oilsupp
ly04.html Long-Term World oil Supply Scenarios –
The Future Is Neither as Bleak or Roasy as Some
Assert. John H. Wood, Gary R. Long, David F.
Morehouse. Viewed on April 16, 2009.
[9] Android API documentation. (n.d.). Retrieved from
Android Developers: http://developer.
android.com/reference/packages.html
[10] Android Development Community Forum (n.d).
Retrieved
April
2009
from
http://www.anddev.org/index.php
[11] Google Maps API documentation. (n.d.). Retrieved
from
Google
maps:
http://code.google.com/apis/maps/documentation/
[12] Strickland, J. (n.d.). How the Google Phone Works.
Retrieved April 2009, from How Stuff Works:
http://electronics.howstuffworks.com/googlephone5.htm
[13] What is Android. (n.d.). Retrieved April 2009, from
developer.android.com:
http://developer.android.com/guide/basics/what-isandroid.html
ISSN: 2231-5381
http://www.ijettjournal.org
Page 172
Download