ESP32 read gps data method

I am writing a app about location detection.

Board: ESP32 Development kit
GPS Module: ATGM336H

In Bluetooth connect with android

In app inventor and arduino,I want to ask:

Q1: Which method can I read the gps data from esp32?

Q2: read the gps data need connect with cloudDB?

Thanks for help

This community discussion might be helpful Connecting ESP8266 (NodeMCU) with Android app (MIT APP inventor) especially the longitude and latitude from a gps module