How to test GPS status?

前端 未结 2 1326
南笙
南笙 2021-01-29 01:14

I now create an app to detect the location of device through GPS, I have problem with GPS status, I look through the GpsStatus.Listener but it\'s complicated since I\'m a newbie

2条回答
  •  无人及你
    2021-01-29 01:46

    Look at LocationManager, GPS status is about the GPS engine itself not location notifications and is not reliable on all platforms/devices even to determine if you have/had a fix.

    Or alternatively an older but still relevant tutorial

提交回复
热议问题