Location and Maps 19.3.2013. Content Getting Location Getting Google Map In application Test on Emulator/Device.

Slides:



Advertisements
Similar presentations
Android Application Development Tutorial. Topics Lecture 4 Overview Overview of Sensors Programming Tutorial 1: Tracking location with GPS and Google.
Advertisements

Google APIs & Location Based Applications -Krishna Achanta
How to set up an A-to-Z with LinkSource CustomLink in EBSCOadmin
Bruce Scharlau, University of Aberdeen, 2010 Android and Location Mobile Computing Unless otherwise stated, images are from android sdk.
ArtNotes Owen Watson Kirk Barron. This is the Navigation Bar. This a common feature of most iPhone applications This is a notebook and contains images.
VIP Smartphone Team – Ahmad, Din, Vinayak Car Locator App Fall 2010 VIP Smartphone Team Ahmad, Din, Vinayak.
Mapping With Second Site 2 Adding Homesteads & Migrations by David Walker Ottawa TMG Users Group 8 February 2009 by David Walker Ottawa TMG Users Group.
Introducing to Location in Android LOCATION IS EVERYTHING Kamil Lelonek Kamil Lelonek
Prepared by: Prepared by: Jameela Rabaya Jameela Rabaya Fatima Darawsha Fatima Darawsha.
CS378 - Mobile Computing Maps. Using Google Maps Like other web services requires an API key from Google ons/google-apis/mapkey.html.
Chapter 11: Discover! Incorporating Google Maps
Google Android Map API Presentation 13/03/2008. Map API – Overview (1) Map rendering facility on Android device Similar to Google Earth Integrate map.
Location & Maps.  Mobile applications can benefit from being location-aware, e.g.,  Routing from a current to a desired location  Searching for stores.
Android and Project Structure. Android Android OS – Built on Linux Kernel – Phones – Netbooks – Readers – Other???
Book Port Plus Web Radio and Podcasts 1. Find a url of a radio station to Add. Right click. Enter on “copy shortcut. 2.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
CS378 - Mobile Computing Maps. Using Google Maps Content on using Google Maps inside your app Alternatives: Open Street Maps –
Map Applications.
Route Tracker App Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
Balanced Scorecard Sample with detailed explanation Balanced Scorecard Sample |
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
 Understanding an activity  Starting an activity  Passing information between activities  Understanding intents  Understanding the activity lifecycle.
Location-Based API 1. 2 Location-Based Services or LBS allow software to obtain the phone's current location. This includes location obtained from the.
Location Services: Part 1 (Location and Geocoding)
Location based services Using Google Maps v2 etc. in Android apps 1Location based services.
Social network Twitter Hashtag: #m2eu #android Personal Israel Ferrer –
Location based services
Take a leap towards the most promising technology
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Android Accessing GPS Ken Nguyen Clayton State University 2012.
For Version 3.1 and later Lattice3D Reporter Tutorial For Version 3.1 and later LATTICE TECHNOLOGY, INC.
Context Aware Location Nasrullah. Location Basics LocationManager—Class providing access to Android system location services LocationListener—Interface.
242/102/49 0/51/59 181/172/166 Primary colors 248/152/29 PMS 172 PMS 137 PMS 546 PMS /206/ /227/ /129/123 Secondary colors 114/181/204.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
MAKANI ANDROID APPLICATION Prepared by: Asma’ Hamayel Alaa Shaheen.
Agenda 69 1.Overview 2.What is SharePoint? 3.NCDOT Websites 4.Roles 5.Search 6.SharePoint Interface.
Roles 1. Your Role: End User End Users use Inside NCDOT and Connect NCDOT for basic browsing and reading Typical tasks can include: Open or download files.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Location. GPS Global Positioning System – At least 4 satellites typically used 3 required extra for error detection and altitude typically accurate within.
Maps Dr. David Janzen Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5 License.
MapInfo Professional 11.0: getting started Xiaogang (Marshall) Ma School of Science Rensselaer Polytechnic Institute Friday, January 25, 2013 GIS in the.
Adding Location Nasrullah. Adding Location Adding a Map Activity Obtaining a Map API Debug Key Adding a Map View Finding an Address with Google’s GeoCoder.
Click & Fix 9/22/10 James Cui Janam Jhaveri Paul Mongold.
LocationListener in Android Nasrullah. The LocationManager provides access to the system location services The LocationListener is used for receiving.
Introduction to Android
Geolocation Plugin
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Android - Location Based Services. Google Play services facilitates adding location awareness to your app with automated location tracking Geo fencing.
learn. do. dream. Going Native Native Application Integration Attachments Camera GPS Mail Maps Phone Voice Input.
Scheduled Silence Application Midterm Presentation David Koritsanszky and Frederick Evans.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
TCS Internal Maps. 2 TCS Internal Objective Objective :  MAPS o Integration of Maps.
Event-driven design will set you free The Observer Pattern 1.
1 Resort Data Processing One Login to Rule Them All.
Now login to your Distributor Panel on
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
Sensors, maps and fragments:
Iteration 1 Presentation
Where in the uSA? Using Google Maps
Find your friend – An Android application
How to Create a Microsoft Access 2007 Database
jQuery Widgets: Tabs Requires core jQuery library + jQuery UI
CS378 - Mobile Computing Location and Maps.
Maps, Geocoding, and Location-Based Services.
Presentation transcript:

Location and Maps

Content Getting Location Getting Google Map In application Test on Emulator/Device

Getting Location

Location Manager, Location Listener Get Location providers GPS & Network Is Better Location? (New, old) Update location Listener after some interval Location listener New location Is GPS Provider? Location with Green Background Location with Yellow Background Yes Display Current Location No Use old location Yes No Getting Location

Location Manager, Location Listener Get Location providers GPS & Network Update location Listener after some interval Location listener Getting Location The LocationManager provides access to the system location servicesLocationManager On Location change, LocationListener is used for receiving notifications from the Location Manager LocationListener

Location Manager

Location Listener MyLocationListener class implements LocationListener LocationListener implements events:.onLocationChanged ( Location Update ).onProviderDisabled ( GPS Off ).onProviderEnabled (GPS On )

On Location Update onProviderDisabled (GPS Off) onProviderEnabled (GPS On)

Modify the AndroidManifest.xml File Enter the following lines before the application tag:

Is Better Location? (New, old) New location Is GPS Provider? Location with Green Background Location with Yellow Background Yes Display Current Location No Use old location Yes No Getting Location

Current Location Network:GPS:

Selecting location old but accurate or new but inaccurate?   Old location New location Accuracy

Google Map Google API as the project build target Map API Key in order to be deployed

Add Google API in Eclipse

Add Google API in Eclipse Use API 4 for SDK 1.6

Add Google API in Eclipse Set Google API as the Project Build Target – Right-click on the project, select Properties

Get Google Map API Key Use following link get Google map API key: google-maps-android

Add API key in MapLayout.xml file API KEY

Map Services Provided by an external library: – Include the com.google.android.maps package. Modify the AndroidManifest.xml:

Map Activity and Map View Map Activity – Maps API add-on provides a Map Activity class – Helps managing the Map functions using Map View Map View – Basic functionality of map controller – Zooming and panning

Display map Control map Map Activity And Map view Control map by program Provides map functionality

Display map Animate map to given location Map Activity And Map view Control map by program Generate geo points using latitude and longitude

Example

Test on emulator To test in Eclipse: → Switch to DDMS view. → Find the location controls in the Emulator Control tab. → Click the GPX tab and click Load GPX. → Locate and select the GPX file. → Click Play to begin sending coordinates to the Emulator.

Test on emulator

Questions?