CSCI 370 Location and Geocoding

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards

Location-based services

use real-time location data from a mobile device or smartphone to provide information, entertainment, or security

2
New cards

Android location frameworks

android.location, com.google.android.gms.location

3
New cards

com.google.android.gms.location

simpler API, greater accuracy, more power efficient, more versatile

4
New cards

ACCESS_COARSE_LOCATION

to access locations provided by cell tower/Wi-Fi triangulation, always include this permission

5
New cards

ACCESS_FINE_LOCATION

to access locations provided by GPS, include only if app benefits from precise location access

6
New cards


Location

represents a geographic location sensed at a particular time, consists of a latitude, a longitude, a UTC timestamp

7
New cards

Address

represents an address as a set of strings describing a location

8
New cards

Geocoder

translates between locations and addresses

9
New cards

open fun getLatitude(): Double

returns the latitude of this location in degrees

10
New cards


open fun getLongitude(): Double

returns the longitude of this location in degrees

11
New cards

open fun getTime(): Long

returns the Unix epoch time of this location in milliseconds since
January 1, 1970

12
New cards

open fun bearingTo(dest: Location): Float

returns the approximate bearing in degrees east of true north

13
New cards

open fun distanceTo(Location dest): Float

returns the approximate distance in meters between this location
and the given location

14
New cards

open fun getAltitude(): Double

returns the altitude of this location in meters

15
New cards

open fun getBearing(): Float

returns the bearing at the time of this location in degrees

16
New cards

open fun getSpeed(): Float

returns the speed at the time of this location in meters/second

17
New cards

open fun getExtras(): Bundle?

returns an optional bundle of additional information associated
with this location

18
New cards


LocationServices

main entry point for location services integration

19
New cards

FusedLocationProviderClient

main entry point for interacting with the fused location provider

20
New cards

LocationRequest

contains quality-of-service parameters for requests to the fused
location provider

21
New cards


LocationCallback

used for receiving notifications from the fused location provider

22
New cards

fused location provider

combines different signals to provide location information while optimizing the device’s use of battery power, r manages the underlying location technologies, such as GPS and Wi-Fi, and provides a simple API that can be used to specify the required quality of service

23
New cards

getFusedLocationProviderClient()

can be used to obtain a reference to a FusedLocationProviderClient object

24
New cards

getLastLocation()


gets a location estimate more quickly and minimizes battery usage, but the location information might be out of date if no other clients have actively used location recently

25
New cards

getCurrentLocation()

gets a fresher, more accurate location more consistently.

26
New cards

Geocoding

the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate

27
New cards

Reverse geocoding

the process of transforming a (latitude, longitude) coordinate into a street address

28
New cards

Geocoder

handles geocoding and reverse geocoding, requires a backend service that is not included in the core android framework.