Android Question Show current location in GoogleMaps

SCS

Member
Licensed User
Longtime User
My initial plan is to create an Android Application to show my client nearby my service team current location (eg. with-in 2km). Of course, I have my own database to keep trace all my client latitude & longitude (LatLng).

Follow the Tutorial http://www.b4x.com/android/forum/threads/google-maps-android-v2-tutorial.24415/#content and it works as expected.

But I'm not able to show my CURRENT LOCATION on GoogleMaps

Then I follow the GPS Tutorial http://www.b4x.com/android/forum/threads/gps-tutorial.6592/#content and the result point to DIFFERENT LatLng but not my current location.

I did try on MapFragment.GetMap.MyLocationEnabled = True. The initial blue dot show wrong location. But after awhile (said 40 seconds or sometimes more longer), it shown the correct location or not change.

My Question is, how we know the GPS is Ready to provide TRUE location?

Is there a function like GPS.Ready() then we can retrive the LatLng to put the AddMaker on it?

Or I need to check on the http://www.b4x.com/android/forum/threads/webviewextras.12453/ as well?

SCS
 
Top