0% found this document useful (0 votes)
324 views32 pages

Final PPT

The document discusses building a mobile application using Google Maps on Android. It covers key concepts like navigation, GPS, and the basic workings of GPS including its space, control and user segments. It then explains the four primary functions of GPS like position, time measurement etc. It also discusses how position is based on time by calculating distance from signal transmission/reception time. Finally, it outlines the steps to create an Android map project, get a Google Maps API key, set up an Android Virtual Device and implement basic map features like changing views, adding GPS location and markers.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
324 views32 pages

Final PPT

The document discusses building a mobile application using Google Maps on Android. It covers key concepts like navigation, GPS, and the basic workings of GPS including its space, control and user segments. It then explains the four primary functions of GPS like position, time measurement etc. It also discusses how position is based on time by calculating distance from signal transmission/reception time. Finally, it outlines the steps to create an Android map project, get a Google Maps API key, set up an Android Virtual Device and implement basic map features like changing views, adding GPS location and markers.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 32

LOCATION API AND GOOGLE MAP NAVIGATION ON ANDROID OPERATING SYSTEM

PRESENTED BY: Naag Bharath S. [1CD07EC025] Rakesh Kumar Singh [1CD07EC041] Shailendra Kumar Rajput [1CD07EC049]

To build a mobile application based on google maps. To find the current location of user based on GPS.

WHAT IS NAVIGATION?
Monitoring Controlling Locating navigators location

WHAT IS GPS?
Most precise navigation system. Positioning with global coverage. Precise time reference.

WHY GPS??
Dead reckoning. Piloting. Inertial navigation. Electronic navigation.

BASIC CONCEPTS
Latitude. Longitude.

GPS WORKING
Signals. Timing & Correction. Mapping.

Three Segments of the GPS


Space Segment

User Segment Control Segment Ground Antennas

Master Station

Monitor Stations

Four Primary Functions of GPS

Position and coordinates.


The distance and direction between any two waypoints, or a position and a waypoint. Travel progress reports. Accurate time measurement.

Position is Based on Time


Signal leaves satellite at time T

T
Signal is picked up by the receiver at time T + 3

T+3

Distance between satellite and receiver = 3 times the speed of light

Introduction to Android
Definition- Android is a software platform and operating
system for mobile devices, based on the Linux kernel. It is a software stack/collection of packages that includes: 1. An OS- Linux Kernel 2. Middleware- Libraries and Application Framework 3. Key Apps It allows developers to write managed code in the Java language, controlling the device via Google-developed Java libraries.

Why Android?
Android can Run Multiple Apps at the Same Time Android Gives You Better Notifications Android Lets You Choose Your Hardware Android Lets You Change Your Faster Android Lets You Install Custom ROMs

Android Architecture

Anatomy of an Android Application


1. 2. 3. 4. Activities Services Broadcast and Intent Receivers Content Providers

JAVA ECLIPSE SDK TOOL ADT PLUGIN

Secured Rich Functionality

Streamlines Java Development Separates areas of concern

Includes sample projects with source code Emulator and required libraries

Powerful, integrated environment Creates application user interface Export .apk file to distribute applications

Building & Running Android Project Key Generation Android Virtual Device

CREATING ANDROID PROJECT


Enter
Project Name Application Name Package Name Activity Name Target Name ( Platform 1.5 )

KEY GENERATION
Copy debug.keystore Open command window and navigate to bin folder in java Execute the syntax to generate MD5 fingerprint

Copy MD5 fingerprint to Map API key signup page Get the Google Map key

ANDROID VIRTUAL DEVICE (AVD)


Defines system image and device settings Make sure that version of Google APIs selected for AVD and Build Target is same

Bare Minimum Google Map Change Map view and Zoom level GPS location Mapping Find address for GPS location Location Marker

BARE MINIMUM GOOGLE MAP

Class should extend MapActivity class Satellite view of Earth

CHANGE MAP VIEW AND ZOOM LEVEL


MapView class has an in-built method setBuiltInZoomControls Zoom controls will become enable once we will touch/click the map view Traffic or Street view in maps

ADD GPS LOCATION MAPPING


Periodical updates about the location of the device Android provides location based services through LocationManager class Convert Geopoints to integers

Find address for GPS location


Finds information about an address if we know its latitude and longitude Pass the point as a parameter

ADD A LOCATION MARKER


For frequent reference of a location Add a drawable resource to the project

With this application it is very simple to obtain current position. Easier to navigate through various routes to a location.

You might also like