Gps Location Updates In Android Is Not Working
From Android official site I have downloaded Location services example & did run in the real device. Every time onLocationChanged method is returning Network's Latitude & L
Solution 1:
Don't know if the user will be back on SO or not, so posting an answer on his behalf for others who faced this problem.
PS:- This answer was suggested by the user himself but was at the wrong place, so posting on his behalf.
UPDATE
I found the solution for this problem.... I missed the meta-data tag in the manifest.
Place below code in manifest inside the Application tag.
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
After placing this one i am getting correct locations.
ISSUE IS CLOSED
Post a Comment for "Gps Location Updates In Android Is Not Working"