Loca%on Support in Android. COMP 355 (Muppala) Location Services and Maps 1
|
|
- Morgan Jordan
- 5 years ago
- Views:
Transcription
1 Loca%on Support in Android COMP 355 (Muppala) Location Services and Maps 1
2 Loca%on Services in Android Loca%on capabili%es for applica%ons supported through the classes in android.loca%on package and Google Maps external library Loca%on framework based around the Loca%onManager system service Provides the APIs to determine the loca%on and bearing of the underlying device ABer gecng access to the Loca%onManager service, we can: Query for last know user s loca%on Register for periodic updates of the user s loca%on Proximity triggered Intent (fired when the user is within a given proximity of a specified loca%on) COMP 355 (Muppala) Location Services and Maps 2
3 Loca%on Services in Android GeCng user s loca%on for your applica%on works by means of callback from the framework: Need to register to receive loca%on updates 1. Get a reference to the system Loca%on Manager service 2. Define a listener that responds to loca%on updates 3. Register the listener with the loca%on manager 4. Request for user permissions in the Manifest file: <uses- permission android:name="android.permission.access_fine_location" /> Allows access to both GPS and network based loca%on provider Use ACCESS_COARSE_LOCATION to use only network based provider COMP 355 (Muppala) Location Services and Maps 3
4 Loca%on Services Example // Acquire a reference to the system Loca%on Manager Loca%onManager loca%onmanager = (Loca%onManager) this.getsystemservice(context.location_service); // Define a listener that responds to loca%on updates Loca%onListener loca%onlistener = new Loca%onListener() { public void onloca%onchanged(loca%on loca%on) { // Called when a new loca%on is found by the network loca%on provider. makeuseofnewloca%on(loca%on); } public void onstatuschanged(string provider, int status, Bundle extras) {} public void onproviderenabled(string provider) {} public void onproviderdisabled(string provider) {} }; // Register the listener with the Loca%on Manager to receive loca%on updates loca%onmanager.requestloca%onupdates(loca%onmanager.network_provider, 0, 0, loca%onlistener); Can use GPS_PROVIDER For GPS location data Can simultaneously register listeners for both providers COMP 355 (Muppala) Location Services and Maps 4
5 Loca%on Services in Android Typical flow of procedures for obtaining user s loca%on: 1. Start applica%on (get a reference to loca%on manager) 2. Some%me later, start listening for updates from desired loca%on providers (use requestloca%onupdates()) 3. Maintain a "current best es%mate" of loca%on by filtering out new, but less accurate fixes 4. Stop listening for loca%on updates (use removeupdates()) 5. Take advantage of the last best loca%on es%mate (use getlastknownloca%on()) COMP 355 (Muppala) Location Services and Maps 5
6 Loca%on Services in Android Listening window COMP 355 (Muppala) Location Services and Maps 6
7 Loca%on Services in Android Saving bajery life and data exchange requirements: Reduce the size of the listening window Set the loca%on providers to return updates less frequently (use the parameters of requestloca%onupdates()) Restrict the set of providers: Use only one provider depending on the environment and accuracy requirements of your applica%on COMP 355 (Muppala) Location Services and Maps 7
8 Loca%on Services Usage Scenario Examples Geotagging user- created content: COMP 355 (Muppala) Location Services and Maps 8
9 Loca%on Services Usage Scenario Examples Loca%on based recommenda%ons: Keep polling for loca%on un%l recommenda%ons have stabilized COMP 355 (Muppala) Location Services and Maps 9
10 Proximity Alert Support in Android Android loca%on services framework support the crea%on of proximity alerts: Alerts generated when the user is physically near (or within a close proximity) of a specific loca%on We make use of the following facili%es in Android for this purpose Loca%onManager class, specifically the addproximityalert() method Proximity intent implemented based on PendingIntent Broadcast receiver that is fired when the PendingIntent is triggered Proximity based applica%ons will be the next wave of loca%on based applica%ons COMP 355 (Muppala) Location Services and Maps 10
11 Proximity Alert Support in Android General steps to implement proximity alert support: 1. Get a reference to the loca%on manager 2. Create a Pending Intent incorpora%ng the getbroadcast() method 3. Create a Broadcast Receiver to be triggered when the Pending Intent created above is fired 4. Create an intent filter and register the receiver to be triggered 5. Add a proximity alert to the specific point of interest (use addproximityalert()) The proximity alert requires you to supply the la%tude and longitude of the loca%on of interest, the radius around this loca%on where your intent will be fired when the user is within the region, an expira%on %me for the alert (if required), and the Pending Intent COMP 355 (Muppala) Location Services and Maps 11
12 Proximity Alert Support in Android Example: Intent intent =new Intent(proxalert); PendingIntent opera%on=pendingintent.getbroadcast(this,0,intent, 0); loca%onmanager.addproximityalert(des%na%on.getla%tude(), des%na%on.getlongitude(), 1000, - 1, opera%on); COMP 355 (Muppala) Location Services and Maps 12
13 Geocoding and Reverse Geocoding Supported by the Geocoder class Geocoding: Translate from an address into a la%tude- longitude coordinates Reverse Geocoding: Translate from a la%tude- longitude coordinates into an address Might return only a par%al address Make use of two classes: android.loca%on.geocoder Android.loca%on.Address Geocoding service provided by a backend service Google Maps API provides a client Geocoder service Service needs to be available on the target device COMP 355 (Muppala) Location Services and Maps 13
14 Reverse Geocoding Example List<Address> addresses; try{ Geocoder mgeo = new Geocoder(this, Locale.English); addresses = mgeo.getfromloca%on(mloc.getla%tude(), mloc.getlongitude(),1); if ( addresses!= null ) { Address currentaddr = addresses.get(0); StringBuilder mstrb = new StringBuilder( Address:\n ); for (int i=0;i<currentaddr.getmaxaddresslineindex(); i++) { mstrb.append(currentaddr.getaddressline(i)).append( \n ); } // use the string to update some screen element } } catch(ioexcep%on e) { } COMP 355 (Muppala) Location Services and Maps 14
15 Geocoding Example List<Address> addresses; String myaddress = Clearwater Bay, Hong Kong ; Geocoder mgeo = new Geocoder(this, Locale.English); try{ addresses = mgeo.getfromloca%onname(myaddress, 1); if ( addresses!= null ) { Address currentaddr = addresses.get(0); StringBuilder mstrb = new StringBuilder( Address:\n ); mstrb.append( La%tude: ).append(currentaddr.getla%tude()); mstrb.append( \nlongitude: ).append(currentaddr.getlongitude()); // use the string to update some screen element } } catch(ioexcep%on e) { } COMP 355 (Muppala) Location Services and Maps 15
16 Google Maps Support in Android COMP 355 (Muppala) Location Services and Maps 16
17 Google Maps API Google Maps API supported through the Maps external library includes the com.google.android.maps package offers built- in downloading, rendering, and caching of Maps %les, as well as a variety of display op%ons and controls Not part of the standard Android library Not part of the standard SDK. Need to explicitly install MapView class Subgroup of View class Displays the map with data obtained from Google Maps service Provides all the UI elements necessary to interact with the map Provides user interac%on support through keypresses, touch and zoom controls Overlay support on top of the maps COMP 355 (Muppala) Location Services and Maps 17
18 Google Maps API Need to obtain a valid Maps API key to use the Google Maps service See the documenta%on for details Need the key to use with the MapView class Include MapView in the layout XML file: <com.google.android.maps.mapview xmlns:android="h#p://schemas.android.com/apk/res/android" android:id="@+id/mapview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="true" android:apikey= Your Maps API Key" /> COMP 355 (Muppala) Location Services and Maps 18
19 Google Maps API Modifica%ons to the Manifest file: Include the following under the applica%on element <uses- library android:name="com.google.android.maps" /> Add the permissions to access Internet and loca%on: <uses- permission android:name="android.permission.internet" /> <uses- permission android:name="android.permission.access_fine_location" /> COMP 355 (Muppala) Location Services and Maps 19
20 Google Maps API To use a Google map in your ac%vity, you should extend the MapAc%vity class, a subclass of Ac%vity Also get a reference to the MapView in the layout. You also need to implement the isroutedisplayed() method. This method is required for some accoun%ng from the Maps service to see if you're currently displaying any route informa%on If you are not using the route display, then you can just implement this method to return false If you are using the emulator to test the applica%on, remember to create a new AVD that support Google Maps API COMP 355 (Muppala) Location Services and Maps 20
21 Google Maps API Adding markers to the map requires the use of an Overlay, supported by the ItemizedOverlay class The class manages a list of OverlayItem elements Create a class that extends the ItemizedOverlay class Also require to override the following methods in ItemizedOverlay: addoverlay(): to add an OverlayItem to the ArrayList. This method also calls populate() which reads the items and prepares it to be drawn createitem(): called by populate() to retrieve an OverlayItem Size(): returns the number of OverlayItem elements in the ArrayList ontap(): callback method which is called when a marker is clicked COMP 355 (Muppala) Location Services and Maps 21
register/unregister for Intent to be activated if device is within a specific distance of of given lat/long
stolen from: http://developer.android.com/guide/topics/sensors/index.html Locations and Maps Build using android.location package and google maps libraries Main component to talk to is LocationManager
More informationCS371m - Mobile Computing. Maps
CS371m - Mobile Computing Maps Using Google Maps This lecture focuses on using Google Maps inside an Android app Alternatives Exist: Open Street Maps http://www.openstreetmap.org/ If you simply want to
More informationCS378 -Mobile Computing. Maps
CS378 -Mobile Computing Maps Using Google Maps Like other web services requires an API key from Google http://code.google.com/android/addons/google-apis/mapkey.html required to use MapViews Must: Register
More informationInternet of Things Sensors - Part 1 Location Services
Internet of Things Sensors - Part 1 Location Services Aveek Dutta Assistant Professor Department of Computer Engineering University at Albany SUNY e-mail: adutta@albany.edu http://www.albany.edu/faculty/adutta
More informationAndroid Programming Lecture 9: Two New Views 9/30/2011
Android Programming Lecture 9: Two New Views 9/30/2011 ListView View Using ListViews is very much like using Spinners Build off an array of data Events on the list happen at a particular position ListView
More informationMensch-Maschine-Interaktion 2 Übung 12
Mensch-Maschine-Interaktion 2 Übung 12 Ludwig-Maximilians-Universität München Wintersemester 2010/2011 Michael Rohs 1 Preview Android Development Tips Location-Based Services and Maps Media Framework Android
More informationCovers Android 2 IN ACTION SECOND EDITION. W. Frank Ableson Robi Sen Chris King MANNING
Covers Android 2 IN ACTION SECOND EDITION W. Frank Ableson Robi Sen Chris King MANNING Android in Action Second Edition by W. Frank Ableson, Robi Sen, Chris King Chapter 11 Copyright 2011 Manning Publications
More informationA Tour of Android. and some of it s APIs. Bryan Noll
A Tour of Android and some of it s APIs Bryan Noll Me professionally A good starting point http://neidetcher.blogspot.com/2009/07/android-presentation-from-denver-open.html The OS The VM Basic Views Basic
More informationUpcoming Assignments Quiz today Web Ad due Monday, February 22 Lab 5 due Wednesday, February 24 Alpha Version due Friday, February 26
Upcoming Assignments Quiz today Web Ad due Monday, February 22 Lab 5 due Wednesday, February 24 Alpha Version due Friday, February 26 To be reviewed by a few class members Usability study by CPE 484 students
More informationPresented by: Megan Bishop & Courtney Valentine
Presented by: Megan Bishop & Courtney Valentine Early navigators relied on landmarks, major constellations, and the sun s position in the sky to determine latitude and longitude Now we have location- based
More informationAndroid User Interface Overview. Most of the material in this sec7on comes from h8p://developer.android.com/guide/topics/ui/index.
Android User Interface Overview Most of the material in this sec7on comes from h8p://developer.android.com/guide/topics/ui/index.html Android User Interface User interface built using views and viewgroup
More informationAndroid Application Development using Kotlin
Android Application Development using Kotlin 1. Introduction to Kotlin a. Kotlin History b. Kotlin Advantages c. How Kotlin Program Work? d. Kotlin software Prerequisites i. Installing Java JDK and JRE
More informationMonday schedule on Tuesday Great time to work with team on Course Project
Upcoming Assignments Code Review due Tuesday, February 16 2:10pm Pre-alpha version due Wednesday, February 17 Lab 5 due Monday, February 22 Read Chapter 7 (Quiz next Friday) Read article by Friday (Disaster
More informationAnswers to Exercises
Answers to Exercises CHAPTER 1 ANSWERS 1. What is an AVD? Ans: An AVD is an Android Virtual Device. It represents an Android emulator, which emulates a particular configuration of an actual Android device.
More informationMobile Programming Lecture 9. Bound Services, Location, Sensors, IntentFilter
Mobile Programming Lecture 9 Bound Services, Location, Sensors, IntentFilter Agenda Bound Services Location Sensors Starting an Activity for a Result Understanding Implicit Intents Bound Service When you
More informationDesigning Apps Using The WebView Control
28 Designing Apps Using The Control Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html The Busy Coder's Guide to Advanced Android Development
More informationAndroid Programming (5 Days)
www.peaklearningllc.com Android Programming (5 Days) Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse tools. This Android
More informationAndroid App Development
Android App Development Course Contents: Android app development Course Benefit: You will learn how to Use Advance Features of Android with LIVE PROJECTS Original Fees: 15000 per student. Corporate Discount
More informationObject-Oriented Databases Object-Relational Mappings and Frameworks. Alexandre de Spindler Department of Computer Science
Object-Oriented Databases Object-Relational Mappings and Frameworks Challenges Development of software that runs on smart phones. Data needs to outlive program execution Use of sensors Integration with
More informationANDROID SYLLABUS. Advanced Android
Advanced Android 1) Introduction To Mobile Apps I. Why we Need Mobile Apps II. Different Kinds of Mobile Apps III. Briefly about Android 2) Introduction Android I. History Behind Android Development II.
More informationMC Android Programming
MC1921 - Android Programming Duration: 5 days Course Price: $3,395 Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse
More informationMobile Application (Design and) Development
Mobile Application (Design and) Development 11 th class Prof. Stephen Intille s.intille@neu.edu Northeastern University 1 Q&A Northeastern University 2 Today Services Location and sensing Design paper
More informationRoute Tracking. Project Proposal
Route Tracking Project Proposal Abstract Take the lead from similar GPS tracking mobile applications and provide a more detailed record of a typical activity route, whilst incorporating elevation changes
More informationPress project on the left toolbar if it doesn t show an overview of the app yet.
#3 Setting up the permissions needed to allow the app to use GPS. Okay! Press project on the left toolbar if it doesn t show an overview of the app yet. In this project plane, we will navigate to the manifests
More informationAndroid Tasks and Back Stack
Android Tasks and Back Stack Applica2ons, Ac2vi2es and Tasks Task Main ac2vity Mail composer contacts menu welcome Mail Course Info Back stack Applica2on/Process COMP 4521 (Muppala) Android Tasks and Back
More informationSyllabus- Java + Android. Java Fundamentals
Introducing the Java Technology Syllabus- Java + Android Java Fundamentals Key features of the technology and the advantages of using Java Using an Integrated Development Environment (IDE) Introducing
More informationTopics Covered in the Android Apps Development Training
Topics Covered in the Android Apps Development Training 1. Android Architecture sdk, jdk, class files,.dex, installation, sdk manager, avd manager, avd configurations, emulator, Android Framework Versions,
More informationPermissions. Lecture 18
Permissions Lecture 18 Topics related Android permissions Defining & using applica:on permissions Component permissions Permissions Android protects resources & data with permissions Example: who has the
More informationAndroid Locations. Android Smartphone Programming
Android s Android Smartphone Programming Matthias Keil / Tim Aicher Institute for Computer Science Faculty of Engineering 18. Dezember 2017 Outline 1 Internet 2 3 Summary Matthias Keil / Tim Aicher Android
More information1. Location Services. 1.1 GPS Location. 1. Create the Android application with the following attributes. Application Name: MyLocation
1. Location Services 1.1 GPS Location 1. Create the Android application with the following attributes. Application Name: MyLocation Project Name: Package Name: MyLocation com.example.mylocation 2. Put
More informationAndroid Security Lab WS 2013/14 Lab 2: Android Permission System
Saarland University Information Security & Cryptography Group Prof. Dr. Michael Backes saarland university computer science Android Security Lab WS 2013/14 M.Sc. Sven Bugiel Version 1.2 (November 12, 2013)
More informationCS 234/334 Lab 1: Android Jump Start
CS 234/334 Lab 1: Android Jump Start Distributed: January 7, 2014 Due: Friday, January 10 or Monday, January 13 (in-person check off in Mobile Lab, Ry 167). No late assignments. Introduction The goal of
More informationAndroid Help. Section 8. Eric Xiao
Android Help Section 8 Eric Xiao The Midterm That happened Any residual questions? New Assignment! Make a low-fi prototype Must be interactive Use balsamiq or paper Test it with users 3 tasks Test task
More informationAndroid Programming - Jelly Bean
1800 ULEARN (853 276) www.ddls.com.au Android Programming - Jelly Bean Length 5 days Price $4235.00 (inc GST) Overview This intensive, hands-on five-day course teaches programmers how to develop activities,
More informationOFFLINE MODE OF ANDROID
OFFLINE MODE OF ANDROID APPS @Ajit5ingh ABOUT ME new Presenter( Ajit Singh, github.com/ajitsing, www.singhajit.com, @Ajit5ingh ) AGENDA Why offline mode? What it takes to build an offline mode Architecture
More informationHybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID
Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID Displaying Web Page For displaying web page, two approaches may be adopted: 1. Invoke browser application: In this case another window out side app will
More informationAndroid Online Training
Android Online Training IQ training facility offers Android Online Training. Our Android trainers come with vast work experience and teaching skills. Our Android training online is regarded as the one
More informationCS378 -Mobile Computing. Services and Broadcast Receivers
CS378 -Mobile Computing Services and Broadcast Receivers Services One of the four primary application components: activities content providers services broadcast receivers 2 Services Application component
More informationAndroid Overview. Most of the material in this section comes from
Android Overview Most of the material in this section comes from http://developer.android.com/guide/ Android Overview A software stack for mobile devices Developed and managed by Open Handset Alliance
More informationGeolocation in HTML5 and Android. Kiet Nguyen
Geolocation in HTML5 and Android Kiet Nguyen Agenda Introduction to Geolocation Geolocation in Android Geolocation in HTML5 Conclusion Introduction to Geolocation To get user's location Common methods:
More informationContextual Android Education
Contextual Android Education James Reed David S. Janzen Abstract Advances in mobile phone hardware and development platforms have drastically increased the demand, interest, and potential of mobile applications.
More informationMul$media Techniques in Android. Some of the informa$on in this sec$on is adapted from WiseAndroid.com
Mul$media Techniques in Android Some of the informa$on in this sec$on is adapted from WiseAndroid.com Mul$media Support Android provides comprehensive mul$media func$onality: Audio: all standard formats
More informationATC Android Application Development
ATC Android Application Development 1. Android Framework and Android Studio b. Android Platform Architecture i. Linux Kernel ii. Hardware Abstraction Layer(HAL) iii. Android runtime iv. Native C/C++ Libraries
More informationRUNTIME PERMISSIONS IN ANDROID 6.0 Lecture 10a
RUNTIME PERMISSIONS IN ANDROID 6.0 Lecture 10a COMPSCI 702 Security for Smart-Devices Muhammad Rizwan Asghar March 20, 2018 2 ANDROID 6.0 A version of the Android mobile operating system officially released
More informationAndroid Programming Lecture 8: Activities, Odds & Ends, Two New Views 9/28/2011
Android Programming Lecture 8: Activities, Odds & Ends, Two New Views 9/28/2011 Return Values from Activities: Callee Side How does the Sub-Activity send back a response? Create an Intent to return Stuff
More informationMinds-on: Android. Session 2
Minds-on: Android Session 2 Paulo Baltarejo Sousa Instituto Superior de Engenharia do Porto 2016 Outline Activities UI Events Intents Practice Assignment 1 / 33 2 / 33 Activities Activity An activity provides
More information32. And this is an example on how to retrieve the messages received through NFC.
4. In Android applications the User Interface (UI) thread is the main thread. This thread is very important because it is responsible with displaying/drawing and updating UI elements and handling/dispatching
More information8/30/15 MOBILE COMPUTING. CSE 40814/60814 Fall How many of you. have implemented a command-line user interface?
MOBILE COMPUTING CSE 40814/60814 Fall 2015 How many of you have implemented a command-line user interface? 1 How many of you have implemented a graphical user interface? HTML/CSS Java Swing.NET Framework
More informationAndroid System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015
Android System Architecture Android Application Fundamentals Applications in Android All source code, resources, and data are compiled into a single archive file. The file uses the.apk suffix and is used
More informationANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012
ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 AGENDA Android v. ios Design Paradigms Setup Application Framework Demo Libraries Distribution ANDROID V. IOS Android $25 one-time
More informationDEVELOPMENT OF PUBLIC FACILITY AND HOUSEHOLD LOCATOR TOOL USING MOBILE GIS AND ANDROID TECHNOLOGY
DEVELOPMENT OF PUBLIC FACILITY AND HOUSEHOLD LOCATOR TOOL USING MOBILE GIS AND ANDROID TECHNOLOGY Engr. Alexander T. Demetillo, Engr. Michelle V. Japitana, Sonny S. Norca CLAIMS-GIS Project, College of
More informationAndroid App Development
Android App Development Outline Introduction Android Fundamentals Android Studio Tutorials Introduction What is Android? A software platform and operating system for mobile devices Based on the Linux kernel
More informationAndroid Overview. Most of the material in this sec5on comes from h6p://developer.android.com/guide/
Android Overview Most of the material in this sec5on comes from h6p://developer.android.com/guide/ Android Overview A so=ware stack for mobile devices Developed and managed by Open Handset Alliance Open-
More informationANDROID TRAINING PROGRAM COURSE CONTENT
ANDROID TRAINING PROGRAM COURSE CONTENT Android Architecture System architecture of Android Activities Android Components Android Manifest Android Development Tools Installation of the Android Development
More informationAround Android. Essential Android features illustrated by a walk through a practical example
Around Android Essential Android features illustrated by a walk through a practical example By Stefan Meisner Larsen, Trifork. sml@trifork.dk. Twitter: stefanmeisner Agenda Introduction to MoGuard Alert
More informationDeveloper s overview of the Android platform
Developer s overview of the Android platform Erlend Stav SINTEF November 10, 2009 mailto:erlend.stav@sintef.no 1 Overview Vendors and licensing Application distribution Platform architecture Application
More informationAndroid App Development. Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore
Android App Development Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore Mobile devices (e.g., smartphone, tablet PCs, etc.) are increasingly becoming an essential part of human life
More informationINTRODUCTION TO ANDROID
INTRODUCTION TO ANDROID 1 Niv Voskoboynik Ben-Gurion University Electrical and Computer Engineering Advanced computer lab 2015 2 Contents Introduction Prior learning Download and install Thread Android
More informationJava Training Center - Android Application Development
Java Training Center - Android Application Development Android Syllabus and Course Content (3 months, 2 hour Daily) Introduction to Android Android and it's feature Android releases and Versions Introduction
More informationCommunicating with a Server
Communicating with a Server Client and Server Most mobile applications are no longer stand-alone Many of them now have a Cloud backend The Cloud Client-server communication Server Backend Database HTTP
More informationIntroduction To Android
Introduction To Android Mobile Technologies Symbian OS ios BlackBerry OS Windows Android Introduction to Android Android is an operating system for mobile devices such as smart phones and tablet computers.
More informationCS 403X Mobile and Ubiquitous Computing Lecture 5: Web Services, Broadcast Receivers, Tracking Location, SQLite Databases Emmanuel Agu
CS 403X Mobile and Ubiquitous Computing Lecture 5: Web Services, Broadcast Receivers, Tracking Location, SQLite Databases Emmanuel Agu Web Services What are Web Services? Means to call a remote method
More informationLab 6: Google Maps Android API v2 Android Studio 10/14/2016
Lab 6: Google Maps Android API v2 Android Studio 10/14/2016 One of the defining features of mobile phones is their portability. It's not surprising that some of the most enticing APIs are those that enable
More informationMobile Programming Lecture 1. Getting Started
Mobile Programming Lecture 1 Getting Started Today's Agenda About the Android Studio IDE Hello, World! Project Android Project Structure Introduction to Activities, Layouts, and Widgets Editing Files in
More informationProgramming with Android: Android for Tablets. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: Android for Tablets Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Outline Android for Tablets: A Case Study Android for Tablets:
More informationGoogle Maps Troubleshooting
Google Maps Troubleshooting Before you go through the troubleshooting guide below, make sure that you ve consulted the class FAQ, Google s Map Activity Tutorial, as well as these helpful resources from
More informationFragments and the Maps API
Fragments and the Maps API Alexander Nelson October 6, 2017 University of Arkansas - Department of Computer Science and Computer Engineering Fragments Fragments Fragment A behavior or a portion of a user
More informationLecture 2 Android SDK
Lecture 2 Android SDK This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a
More informationA System of Collecting, Retrieving and Displaying Emergency Information: an Android Client with Web Application
Applied Project: The Collection of Information for Emergency Management: an Android Client with Web Application 1 A System of Collecting, Retrieving and Displaying Emergency Information: an Android Client
More informationCS378 -Mobile Computing. Intents
CS378 -Mobile Computing Intents Intents Allow us to use applications and components that are part of Android System and allow other applications to use the components of the applications we create Examples
More informationReal-Time Embedded Systems
Real-Time Embedded Systems DT8025, Fall 2016 http://goo.gl/azfc9l Lecture 8 Masoumeh Taromirad m.taromirad@hh.se Center for Research on Embedded Systems School of Information Technology 1 / 51 Smart phones
More informationMinds-on: Android. Session 1
Minds-on: Android Session 1 Paulo Baltarejo Sousa Instituto Superior de Engenharia do Porto 2016 Outline Mobile devices Android OS Android architecture Android Studio Practice 1 / 33 2 / 33 Mobile devices
More informationBeginning Android 4 Application Development
Beginning Android 4 Application Development Lee, Wei-Meng ISBN-13: 9781118199541 Table of Contents INTRODUCTION xxi CHAPTER 1: GETTING STARTED WITH ANDROID PROGRAMMING 1 What Is Android? 2 Android Versions
More information1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism
ANDROID TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION Android What it is? History of Android Importance of Java language for Android Apps Other mobile OS-es Android Versions & different development
More informationProduced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology
Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie User Interface Design" & Development -
More informationAndroid Application Development Course Code: AND-401 Version 7 Duration: 05 days
Let s Reach For Excellence! TAN DUC INFORMATION TECHNOLOGY SCHOOL JSC Address: 103 Pasteur, Dist.1, HCMC Tel: 08 38245819; 38239761 Email: traincert@tdt-tanduc.com Website: www.tdt-tanduc.com; www.tanducits.com
More informationAn Overview of the Android Programming
ID2212 Network Programming with Java Lecture 14 An Overview of the Android Programming Hooman Peiro Sajjad KTH/ICT/SCS HT 2016 References http://developer.android.com/training/index.html Developing Android
More informationMobile Application Development
Mobile Application Development The principal goal of education is to create men and women who are capable of doing new things, not simply repeating what other generations have done. -Jean Piaget Mobile
More informationSpring Lecture 5 Lecturer: Omid Jafarinezhad
Mobile Programming Sharif University of Technology Spring 2016 - Lecture 5 Lecturer: Omid Jafarinezhad Storage Options Android provides several options for you to save persistent application data. The
More informationLibraries are wri4en in C/C++ and compiled for the par>cular hardware.
marakana.com 1 marakana.com 2 marakana.com 3 marakana.com 4 Libraries are wri4en in C/C++ and compiled for the par>cular hardware. marakana.com 5 The Dalvik virtual machine is a major piece of Google's
More information10.1 Introduction. Higher Level Processing. Word Recogniton Model. Text Output. Voice Signals. Spoken Words. Syntax, Semantics, Pragmatics
Chapter 10 Speech Recognition 10.1 Introduction Speech recognition (SR) by machine, which translates spoken words into text has been a goal of research for more than six decades. It is also known as automatic
More informationAndroid Essentials with Java
Android Essentials with Java Before You Program o Exercise in algorithm generation Getting Started o Using IntelliJ CE Using Variables and Values o Store data in typed variables Static Methods o Write
More informationMobila applikationer och trådlösa nät
Mobila applikationer och trådlösa nät HI1033 Lecture 8 Today s topics Location Based Services Google Maps API MultiMedia Location Based Services LocationManager provides access to location based services
More informationCourse Syllabus. Course Title. Who should attend? Course Description. Android ( Level 1 )
Course Title Android ( Level 1 ) Course Description Android is a Free and open source operating system designed primarily for smart phones and tablets and can be used for TVs, cars and others. It is based
More informationExternal Services. CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion
External Services CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion 1 External Services Viewing websites Location- and map-based functionality
More informationTerratype Umbraco Multi map provider
Terratype Umbraco Multi map provider Installation Installing via Nuget This Umbraco package can be installed via Nuget The first part is the Terratype framework, which coordinates the different map providers,
More informationEmbedded Systems Programming - PA8001
Embedded Systems Programming - PA8001 http://goo.gl/ydeczu Lecture 8 Mohammad Mousavi m.r.mousavi@hh.se Center for Research on Embedded Systems School of Information Science, Computer and Electrical Engineering
More informationAndroid Programming วรเศรษฐ ส วรรณ ก.
Android Programming วรเศรษฐ ส วรรณ ก uuriter@yahoo.com http://bit.ly/wannikacademy 1 Google Map API v2 2 Preparation SDK Manager Google Play Services AVD Google API >= 4.2.2 [http://bit.ly/1hedxwm] https://developers.google.com/maps/documentation/android/start
More informationLifeStreet Media Android Publisher SDK Integration Guide
LifeStreet Media Android Publisher SDK Integration Guide Version 1.12.0 Copyright 2015 Lifestreet Corporation Contents Introduction... 3 Downloading the SDK... 3 Choose type of SDK... 3 Adding the LSM
More informationFaculty Summit September 28 th, Bandung
Faculty Summit September 28 th, Bandung rayrizaldy@gits.co.id Network and Location Location, Maps Bluetooth Traditional location APIs use GPS Location Network- based location is faster to give a result,
More informationSTORE LOCATOR PLUGIN USER GUIDE
support@simicart.com Support: +84.3127.1357 STORE LOCATOR PLUGIN USER GUIDE Table of Contents 1. INTRODUCTION... 3 2. HOW TO INSTALL... 4 3. HOW TO CONFIGURE... 5 4. HOW TO USE ON APP... 13 SimiCart Store
More informationLocation Framework Degrees.mobi Limited. All rights reserved.
Location Framework 2011 51Degrees.mobi Limited. All rights reserved. The copyright in and title to the document Location Framework belongs to 51Degrees.mobi Limited. No part of it whatsoever may be reproduced
More informationANDROID SERVICES, BROADCAST RECEIVER, APPLICATION RESOURCES AND PROCESS
ANDROID SERVICES, BROADCAST RECEIVER, APPLICATION RESOURCES AND PROCESS 1 Instructor: Mazhar Hussain Services A Service is an application component that can perform long-running operations in the background
More informationG1 Development Environment and Applica4on Development. Adam C. Champion CSE 788X11 Prof. Dong Xuan
G1 Development Environment and Applica4on Development Adam C. Champion CSE 788X11 Prof. Dong Xuan Outline Introduc
More informationUser Interface Design & Development
User Interface Design & Development Lecture Intro to Android João Pedro Sousa SWE 632, Fall 2011 George Mason University features multitasking w/ just-in-time compiler for Dalvik-VM bytecode storage on
More informationAndroid permissions Defining and using permissions Component permissions and related APIs
Android permissions Defining and using permissions Component permissions and related APIs Permissions protects resources and data For instance, they limit access to: User information e.g, Contacts Cost-sensitive
More informationStarting Another Activity Preferences
Starting Another Activity Preferences Android Application Development Training Xorsat Pvt. Ltd www.xorsat.net fb.com/xorsat.education Outline Starting Another Activity Respond to the Button Create the
More informationANDROID DEVELOPMENT. Course Details
ANDROID DEVELOPMENT Course Details centers@acadgild.com www.acadgild.com 90360 10796 01 Brief About the Course Android s share of the global smartphone is 81%. The Google Certified Android development
More informationTerms: MediaPlayer, VideoView, MediaController,
Terms: MediaPlayer, VideoView, MediaController, Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283
More informationUI, Continued. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046
UI, Continued CS 2046 Mobile Application Development Fall 2010 Announcements Office hours have started HW1 is out, due Monday, 11/1, at 11:59 pm Clarifications on HW1: To move where the text appears in
More information