Sei sulla pagina 1di 32

PROJECT ON

PARK THIS – PARK ANYWHERE


(ANDROID APP)

Android App & External API's 1


A Presentation
on
“Android App (parkThis)”
Presented By

Sakil Akhtar – 407183 - BE II


Vishal Pandey – 407083 - BE I
Varun Upadhyay– 407081 - BE I

Guided By
Prof. S.P. Potdar

Android App & External API's 2


TABLE OF CONTENTS
• Title Description
• Domain/Area
• Literature Survey ( Project Related)
• Key Terms
• Modules
• Android App & External API’s
• Android OS
• App Development
• Rest Web Services
• Architecture
• Working
• Methods & Usability
• Location & Camera
• Location
• GPS Architecture
• GPS Working
• Camera
• Architecture
• Conclusion
• References

3 Android App & External API's 3


PARK THIS – PARK ANYWHERE

• LBS (Location Based Service) type Android App which will be used to
park vehicle and navigate to its parked location based on GPS. Client -
Server interchange - exchange is processed using RESTful Web
Service. Google Maps API is used to show different parking locations
and navigation to it.

Android App & External API's 4


DOMAIN/AREA

Android - Domain
Software - Area

Android App & External API's 5


LITERATURE SURVEY
• An empirical study of configuration changes and adoption in
Android apps
This paper, gives us idea to implement android activity configuration and
changes which can occur anytime. It also cleared out doubts of android activity
lifecycle and management of activity when android app is launched. It can be
used to adopt new activity if not started.

• Intelligent LBS using Android with GPS and Geo-Tagging


Applications
As our app is also Location Based Service (LBS), from this paper it has cleared
us to use the way of Geo-Tagging from Latitude and Longitude. Android GPS
inbuilt inside is very useful , when LBS project come in picture then can be used
to show user a service located in that area.

Android App & External API's 6


LITERATURE SURVEY
• Developing Android Application for Precise Geo tagging using RTK
GPS Module
This paper evaluates knowledge of implementing geo tagging application on android
using GPS module provided in android hardware. Our LBS app which is based on
geo tagging system, not only precise location but also accurate location with the help
of GPS, WiFi, Mobile Network can be achieved for better response of service.

• The Research and Implementation of GPS Intelligent Transmission


Strategy Based on on-board Android Smart phones
This paper evaluates implementation on GPS service in app for storing, retrieving
and later on modifying the desired data. From data based on GPS it can be used to
calculate strategy for finding nearby parking locations.

Android App & External API's 7


LITERATURE SURVEY
• Design and Describe REST API without Violating REST: A
Petri Net Based Approach
This paper, includes the most important part of our app for information
interchange/exchange from server within app with REST API. In REST API data
is communicated with XML language. This data will be directly called within app
with retrofit http client service.

• Design and Implementation of Web Service Integration Tool


From this paper, we came to know how to design and implement web service
integration tool. This tool is used to extract the information provided in URL with
POST/GET method called on url.

Android App & External API's 8


KEY TERMS
• Android – Mobile Operating System
• Google Maps – Google service for integrating Maps
• API – Application Program Interface
• GPS – Global Positioning System
• Camera – Android built in camera
• Navigate – Route from new location to parked location
• Social Login – Login through social sites
• Retrofit – HTTP client
• Android Studio – Official IDE for android development
• Web Service – Services provided in app using web server
• pHp – Hypertext Pre-Processor (pHp) is scripting language
• Java – Java is OOPS programming language.
• Web Server – Hosted on remote server/pc.

Android App & External API's 9


MODULES
Android App & External API’s
Rest Web Services
Location & Camera

Android App & External API's 10


MODULE - I
ANDROID OS

• Android is open source operating system developed in October 2003


by Andy Rubin, Rich Miner, Nick Sears, and Chris White.
•Now android operating system is maintained and developed by
Google Inc since 2005 but called Android in 2007.
•Android works on MVC framework. MVC is short form of Model View
Controller.
•Android view is created using XML language and Java is used as
core programming language.
•Energy efficient as it is designed to manage processes to keep low
power consumption

Android App & External API's 11


ANDROID ACTIVITY LIFE CYCLE

Android App & External API's 12


APP DEVELOPMENT
(ANDROID STUDIO)

• Android studio is official Integrated Development Environment (IDE)


from intellij platform.
•Android studio is used to develop app for android platform. Java and
Kotlin languages can be used as core programming language and
XML is used as View for android.
•Android studio eliminates direct installing of libraries in form of Jar
and it has been updated to gradle for better and fast communication
between application ad libraries.
•Android studio provides all facilities related to android development.

Android App & External API's 13


APP DEVELOPMENT
(GOOGLE SERVICES & API)

• Google provides every types of API for developer.


•In this project we will be using different types of Google API.
•Google API uses JSON format for end users response.
•Firebase will be used for user notification purpose.
•Some of them are
•Google Maps API
•Google Analytics API
•Google Login API
•Firebase

Android App & External API's 14


GOOGLE API

Android App & External API's 15


APP DEVELOPMENT
(WEB INTEGRATION)

• If application interchange and exchange information from server then


only it is stable app.
•So in order to achieve the necessity of web service inside our app
then communication from app to server is required.
•Communication from app to server will be by using Open Source
HTTP client name Retrofit.
•Retrofit is HTTP client for communicating between android java with
server.
•Retrofit uses OkHttp3 on top of its main layer for communication.
•Different types of http clients are available but retrofit is fast then any
other http client

Android App & External API's 16


RETROFIT

Android App & External API's 17


MODULE - II
REST WEB SERVICES
• Web service is service provided with the help of web servers and
standardized XML messaging system.
• This services are self-contained, dynamic-distributed, modular
applications that can be described, published , invoked or located over
network to create products or supply chains.
•Web services are built on top of open standards such as TCP/IP, HTTP,
Java, HTML, and XML.
• Web services can be used on private network or public network and
because network can be accessed in any platform so web service is
cross-platform.
• It is self-describing service/software which is checked using common
XML Grammar.

Android App & External API's 18


REST WEB SERVICE ARCHITECTURE

Android App & External API's 19


REST WEB SERVICE WORKING

Android App & External API's 20


REST WEB SERVICES
(METHODS)
• POST.
• It is a method used to get data from web server using web service which
will be sent to server with form data.
• It is used to insert / retrieve data from database with secured layer.
•It is best to used for logging users with secured values.
•Eg: http://abc.com/login/login.php
• GET
• It is a method to get data from database in url appended value.
• It is not used for many aspects as it has vulnerability of leaking string
data.
•It is best used in getting data with user id.
•Eg: http://abc.com/login/login.php?user=‘username’&pwd=‘password’

Android App & External API's 21


REST WEB SERVICES
(WHY WE USED?)
• We used this due to many reasons. They are
• Understandability
• Both the Server and the Client should be able to understand and utilize the
representation format of the resource.
• So our app is acting as client which is using retrofit http client in android to
communicate with web service and our web server is acting as server which
provides reliability of storing / retrieving data in / from web server.
• Completeness
• Format should be able to represent a resource completely.
• We have used JSON format to retrieve data from server and it is in simple
format so that it provides completeness form of nature.
• Linkablity
• A resource can have a linkage to another resource, a format should be able
to handle such situations.
• Every resource like database and storage of server is linked with each other
so that the format we are using can be represented flawlessly.

Android App & External API's 22


MODULE - III
LOCATION & CAMERA
LOCATION

• Location is service provided by android operating system and


combination of hardware like GPS module.
• GPS is short form of Global Positioning System which is used to locate
any location with the help of longitude and latitude.
• Location service provide features of knowing real-time location based on
wifi, gps, mobile signal.
• Global Navigation Satellite System (GNSS), modules are receive-only
devices that triangulate signals from remote satellites in order to
determine an accurate physical location. Once the module collects enough
satellite data to calculate an accurate position, it has a valid location
(a fix ) that it can report.

Android App & External API's 23


GPS ARCHITECTURE

Android App & External API's 24


GPS WORKING

Android App & External API's 25


GPS SATELLITE POSITIONS

A visual example of a 24 satellite GPS


constellation in motion with the Earth
rotating. Notice how the number
of satellites in view from a given point on
the Earth's surface changes with time.
The point in this example is in Golden,
Colorado, USA (39.7469° N, 105.2108°
W).

Source: wikipwdia

Android App & External API's 26


CAMERA

• Android is equipped with camera module which is responsible of


capturing images.
• In this project android camera is used to take real time image of vehicle
when someone is desired t park their vehicle.
• Image take from camera will be used to store in server for security
purpose so that if stolen then can be found with the help of traffic
department.

Android App & External API's 27


CAMERA ARCHITECTURE

Android App & External API's 28


CONCLUSION

• Android development is the best for future purpose and is highly


growing market worldwide.
•Google is best open source platform for using API services.
•Learned how to communicate from app to server using Retrofit
HTTP client library.
• Android studio is best IDE for development of android app

Android App & External API's 29


REFERENCES

• Andreas Kalaitzakis, Harris Papadakis, Paraskevi Fragopoulou,


“Evolution of User Activity and Community Formation in an Online
Social Network” published at 2012 IEEE/ACM International
Conference on Advances in Social Networks Analysis and Mining.

• Moutaz Alazab, Veelasha Moonsamy, Lynn Batten, Patrik Lantz,


Ronghua Tian, “Analysis of malicious and benign android
applications” presented at IEEE 2012 32nd International Conference
on Distributed Computing Systems Workshops.

Android App & External API's 30


REFERENCES

• Fu-Chiung Cheng, Tai-Chang Hung, Young-Jang Chiou, Te-Chun


Chang, “Design and Implementation of Web Service Integration
Tool” presented at 2005 IEEE International Workshop on Service-
Oriented System Engineering (SOSE’05).

• Dedi Atunggal, Nuaim Hamad Ausi, Catur Aries Rohkmana,


“Developing Android Application for Precise Geotagging using RTK
GPS Module” presented at 2018 4th International Conference on
Science and Technology (ICST), Yogyakarta, Indonesia.

Android App & External API's 31


THANK YOU!
ANY QUESTIONS?

Android App & External API's 32

Potrebbero piacerti anche