1 of 17

Connect Session 8

Permissions,

Google Maps SDK,

and Geofencing

Hussein El Feky | Jan 21-27, 2023

2 of 17

Reminder

Projects 3, 4, 5, 6 and 7 Deadline

(Graduation Date)

23rd February, 2023

3 of 17

Agenda

  • Activity Result API
  • Foreground Location Permissions
  • Background Location Permission

1

Permissions

2

Google Maps

4

Q&A Time

  • Google Maps APIs
  • Google Maps SDK
  • Google Maps API Key
  • Google Maps Styling

3

Geofencing

  • Transitions
    • ENTER
    • EXIT
    • DWELL
  • BroadcastReceiver

4 of 17

Prerequisites

  • Familiarity with API key management best practices
  • Familiarity with basic Kotlin

5 of 17

Activity Result API

6 of 17

Location Permissions

7 of 17

Google Maps APIs

8 of 17

Google Maps Platform

9 of 17

Google API Library

10 of 17

Maps SDK for Android Quickstart

11 of 17

Google Maps Styling

12 of 17

Geofencing

13 of 17

BroadcastReceiver

App 1

App 2

App 3

App 4

Broadcast

Broadcast Receivers

Android System

14 of 17

BroadcastReceiver | Examples

Android System

Battery Low

Incoming Call

Incoming SMS

WiFi Availability

Headset Connected

Charger Connected

Boot Completed

Broadcasts

Bluetooth Connected

15 of 17

Next Session

  • Unit Testing
  • Integration Testing
  • UI Testing
  • Test Doubles

16 of 17

Resources

17 of 17

Q&A Time

Ask me anything.