Location Manager

edgar_ortiz

Active Member
Licensed User
Longtime User
What is the difference between
B4X:
requestGPSLocation
and
B4X:
requestMobileLocation

Regards,

Edgar
 

JonPM

Well-Known Member
Licensed User
Longtime User
One uses GPS and one uses mobile cell towers. See the suggestion in your other thread.
 
Upvote 0

edgar_ortiz

Active Member
Licensed User
Longtime User
Thanks...
Do you know where I receive the data from requestMobileLocation??

In other words in which SUB is returned the latitude and longitude?

Regards

Edgar
 
Upvote 0

clarionero

Active Member
Licensed User
Longtime User
Hi. All is in the library documentation...

When the position change, an event sub is fired and the parameters of this event Sub contain the new location data.

B4X:
Sub Location_LocationChanged (Longitude As Double, Latitude As Double, Altitude As Double, Accuracy As Float, Bearing As Float, Provider As String, Speed As Float, Time As Long) 

End Sub

see http://www.b4x.com/forum/additional...al-updates/13337-locationmanager-library.html for a complete sample.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…