TCS Internal Maps. 2 TCS Internal Objective Objective :  MAPS o Integration of Maps.

Slides:



Advertisements
Similar presentations
Bruce Scharlau, University of Aberdeen, 2010 Android and Location Mobile Computing Unless otherwise stated, images are from android sdk.
Advertisements

Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
All About Android Introduction to Android 1. Creating a New App “These aren’t the droids we’re looking for.” Obi-wan Kenobi 1. Bring up Eclipse. 2. Click.
Chapter 11: Discover! Incorporating Google Maps
Location-Based Services: Part 2 (Google Maps)
Application Fundamentals. See: developer.android.com/guide/developing/building/index.html.
Basic, Basic, Basic Android. What are Packages? Page 346 in text Package statement goes before any import statements Indicates that the class declared.
Crash Course in Android Development. 2 Content  Installing the ADT  Hardware and OS requirements  Java  ADT Bundle  Eclipse Project Setup  Drawing.
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Android Development (Basics)
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
Android Application Development 2013 PClassic Chris Murphy 1.
Chien-Chung Shen Manifest and Activity Chien-Chung Shen
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Introduction to Android Programming Content Basic environmental structure Building a simple app Debugging.
Android development the first app. Andoid vs iOS which is better? Short answer: neither Proponents on both sides For an iOS side, see this article on.
Programming with Android: The Google Maps Library Slides taken from Luca Bedogni Marco Di Felice.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
Mobile Programming Lecture 16 The Facebook API. Agenda The Setup Hello, Facebook User Facebook Permissions Access Token Logging Out Graph API.
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 
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Android for Java Developers Denver Java Users Group Jan 11, Mike
Presented By: Muhammad Tariq Software Engineer Android Training course.
1/29/ Android Programming: FrameLayout By Dr. Ramji M. Makwana Professor and Head, Computer Engineering Department A.D. Patel.
Android - Broadcast Receivers
Networking: Part 1 (Web Content). Networking with Android Android provides A full-featured web browser based on Chromium, the open source browser engine.
First Venture into the Android World Chapter 1 Part 2.
Announcements Homework #2 will be posted after class due Thursday Feb 7, 1:30pm you may work with one other person No office hours tonight (sorry!) I will.
Android Boot Camp Demo Application – Part 1. Development Environment Set Up Download and install Java Development Kit (JDK) Download and unzip Android.
WELCOME. YOU GUYS USE TO PLAY GAMES RIGHT ? FIFA12, PES12, and much more… I know you love that ! And it all comes from the other side ! So why can’t you.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
Android Alert Dialog. Alert Dialog Place Button to open the dialog. public class MainActivity extends ActionBarActivity { private static Button button_sbm;
Cosc 5/4735 YouTube API. YouTube The YouTube Android Player API enables you to incorporate video playback functionality into your Android applications.
Google map v2.
Mobile Software Development for Android - I397 IT COLLEGE, ANDRES KÄVER, WEB:
Chapter 6 Google Play Services GOALS & OBJECTIVES Google Play Services give you features to attract users using Google features such as Google Maps, Google+,
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Introduction to Android Programming
Android Programming.
Lab7 – Appendix.
Introduction to android
Android Application Development 1 6 May 2018
Location-Based Services: Part 2 (Google Maps)
Obtaining the Required Tools
GUI Programming Fundamentals
Sensors, maps and fragments:
Picasso Revisted.
CIS 470 Mobile App Development
Programming with Android: The Google Maps Library
CIS 470 Mobile App Development
CMPE419 Mobile Application Development
Android Developer Fundamentals V2 Lesson 1
CIS 470 Mobile App Development
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
CIS 470 Mobile App Development
Adding Components to Activity
CMPE419 Mobile Application Development
CMPE419 Mobile Application Development
Mobile Programming Dr. Mohsin Ali Memon.
Activities, Fragments, and Intents
Mobile Programming Broadcast Receivers.
Android Sensor Programming
CIS 694/EEC 693 Android Sensor Programming
Presentation transcript:

TCS Internal Maps

2 TCS Internal Objective Objective :  MAPS o Integration of Maps

3 TCS Internal Map With the Google Maps Android API, you can add maps based on Google Maps data to your application. The API automatically handles access to Google Maps servers, data downloading, map display, and response to map gestures The API allows you to add these graphics to a map: 1) Icons anchored to specific positions on the map (Markers). 2) Sets of line segments (Polylines). 3) Enclosed segments (Polygons). 4) Bitmap graphics anchored to specific positions on the map (Ground Overlays). 5) Sets of images which are displayed on top of the base map tiles (Tile Overlays).

4 TCS Internal Integrate maps Creating a new Android application that uses the Google Maps Android API v2 requires several steps. Install and configure the Google Play services SDK 1. Install the Google Play services SDK. 2. Add Google Play services as an Android library project. 3. Reference the Google Play services in app's project. Add the Google Play services version to your app's manifest <meta-data android:name="com.google.android.gms.version" /> Get Google Maps API key 1. Navigate to your project in the Google APIs Console. 2. In the Services page, verify that the "Google Maps Android API v2" is enabled. 3. click API Access. 4. In the resulting page, click Create New Android Key In the resulting dialog, enter the SHA-1 fingerprint, then a semicolon, then your application's package name. 6. The Google APIs Console responds by displaying Key for Android apps (with certificates) followed by a forty-character API key

5 TCS Internal Add the API key to your application In AndroidManifest.xml, add the following element as a child of the element, by inserting it just before the closing tag : <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="API_KEY"/> Specify permissions <!-- The following two permissions are not required to use Google Maps Android API v2, but are recommended. --> Integrate maps

6 TCS Internal 1. Add the following fragment in the app's layout XML file. If you created a 'hello world' app using the Android Developer Tools (ADT) package in Eclipse, the file is at res/layout/activity-main.xml. Replace the entire contents of that file with the following code. <fragment xmlns:android=" android:layout_width="match_parent" android:layout_height="match_parent" android:name="com.google.android.gms.maps.MapFragment"/> 2. Add the following code in MainActivity.java. public class MainActivity extends Activity protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } Integrate maps

TCS Internal Thank You