6 Location Services And Integration

Mobile Application Development · Unit 6

Location Services and Integration

Exam-focused notes for Location Services and Integration (Mobile Application Development, BIT406): what the TU syllabus asks and how it has actually been tested, with 3 solved past questions from this unit.

Location Services and Integration in short

Location services let an app know where the device is and show it on a map. They power navigation, delivery, ride apps and nearby search. The topic covers GPS and non-GPS methods, how location data is obtained, and map integration.

Location Services and Integration: notes

GPS-based location solutions

GPS (Global Positioning System) uses a group of satellites that orbit the Earth and send timed radio signals. The receiver in the phone measures how long each signal took to arrive.

How it works:

  • Each signal gives the distance to one satellite.
  • Distances from at least three satellites fix a position in two dimensions by trilateration.
  • A fourth satellite corrects the receiver clock error and gives height.

Features:

  • Works worldwide and outdoors with a clear view of the sky.
  • Accuracy is usually a few metres for phones.
  • It is weak indoors, in tunnels and between tall buildings.
  • A cold start can be slow and uses much battery.

Assisted GPS (A-GPS) uses the mobile network to send satellite data to the phone. This gives a faster first fix and works better in weak signal areas. Other satellite systems such as GLONASS, Galileo and BeiDou are also used by modern phones.

Non-GPS location solutions

A non-GPS solution finds the position without satellites. It is useful indoors and saves battery.

  • Cell-ID: the position of the connected cell tower gives a rough location. The area can be hundreds of metres or more.
  • Multi-tower methods: signal strength, time of arrival or angle from several towers narrows the estimate.
  • Wi-Fi positioning: the phone scans nearby Wi-Fi access points and looks up their known positions in a database. It is accurate in cities and indoors.
  • Bluetooth beacons: small transmitters placed in shops or airports give room-level position.
  • IP address: a very rough location of a city or region.
  • Sensors: the accelerometer, gyroscope and compass track movement from a known start point. Errors grow with time.

Real apps mix several sources. This is called a fused location.

What this unit covers

  • GPS-based location solutions
  • Non-GPS location solutions
  • Location data acquisition methods
  • Maps integration in mobile applications
  • Location services implementation

Maps integration in mobile applications

2081 · 5 marks

How do you integrate maps and locations in mobile app? Explain. [5]

To integrate maps and locations, developers use third-party map services and their corresponding APIs: - Google Maps API - Most widely used for Android and web platforms - Apple Maps - Native for iOS applications - Mapbox - Alternative open-source mapping solution a) Obtain API Key/Credentials - ...

Open this answer on its own page →

Non-GPS location solutions

2081 · 5 marks

What do you mean by non GPS solution? Discuss about mobile eco system. [5]

Show solved answer

Model Answer: Non-GPS Solution and Mobile Ecosystem

Non-GPS Solution

Non-GPS solutions refer to alternative positioning and location-based technologies that do not rely on Global Positioning System (GPS) satellites. These are methods used to determine the location of mobile devices and users when GPS is unavailable, unreliable, or unsuitable.

Common Non-GPS Solutions:

  1. Cell-based Positioning (Network-based)

    • Uses cellular tower triangulation
    • Determines location based on signal strength from multiple base stations
    • Less accurate than GPS but works indoors
  2. WiFi Positioning

    • Uses WiFi access point signal strength
    • Maintains database of WiFi hotspot locations
    • Suitable for indoor navigation
  3. Bluetooth/BLE (Bluetooth Low Energy)

    • Short-range positioning technology
    • Used for proximity-based services
    • Energy efficient for mobile devices
  4. Assisted GPS (A-GPS)

    • Combines GPS with network assistance
    • Faster acquisition and improved accuracy
    • Uses cellular network for initial position estimate

Mobile Ecosystem

The mobile ecosystem comprises all interconnected components, services, and stakeholders that enable mobile computing and communication.

Key Components:

  1. Hardware Layer

    • Mobile devices (smartphones, tablets)
    • Network infrastructure (base stations, routers)
    • Sensors and processors
  2. Software Layer

    • Operating systems (Android, iOS)
    • Applications and middleware
    • System utilities and drivers
  3. Service Providers

    • Telecom operators
    • Internet service providers
    • Content and application providers
  4. Users and Developers

    • End users
    • Application developers
    • Device manufacturers

Characteristics:

  • Highly interconnected and interdependent
  • Rapidly evolving with new technologies
  • Supports diverse applications (communication, commerce, entertainment)
  • Enables ubiquitous computing and connectivity
Open this answer on its own page →

GPS-based location solutions

0 · 5 marks

Describe about GPS based and non GPS based solution. [5]

Definition: GPS (Global Positioning System) based solutions rely on satellite signals to determine precise location information. Characteristics: - Uses constellation of satellites orbiting Earth - Provides global coverage (outdoor environments) - Offers high accuracy (typically 5-10 meters for c...

Open this answer on its own page →