0

I m developing an App in which user have to mark attendance on a specific location. But when getting location from GPS, it is not accurate as User location. Its approx near to user location but not exact location. Is there any idea to get exact location of the User in Android? If any please tell me.

Thanks for your aswers

DEEPAK YADAV
  • 21
  • 1
  • 9
  • 1
    GPS location always has some error. What is the accuracy you're getting? If it's within few meters from the actual point then it's fine and you can't get any better accuracy. – TDG May 13 '16 at 07:22
  • You may use your mobile Networks to get the current location instead of GPS. But GPs would be more accurate than NETWORK PROVIDER to get the current location. – Parama Sudha May 13 '16 at 07:23

1 Answers1

0

Give these permissions in manifest file

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Nitesh Pareek
  • 362
  • 2
  • 10