How do I get the HDOP or VDOP values from the GPS LocationManager?
The GPS_Location:
double lo=gps_loc.getLongitude();
double la=gps_loc.getLatitude();
The Horizontal_Accuracy:
int horiAcc=(int)(gps_loc.getAccuracy());
The HDOP:
int hd= (int) (horiAcc/5);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With