Bug? Location.Initialize2 Error - klaus    Jun 30, 2013 .Initialize2.
This code works
Location2.Initialize2("36:52.371", "30:59.000")
but this one not !
Location2.Initialize2("36:52.371", "30:59.00001")
With the DDD:MM... B4A Tutorial Background location tracking - Erel    Jul 3, 2024   (51 reactions)   tags: Longrunningaoo, background clock alive, B4A Background location, gps, B4A service that keeps the process running in the background. The current location is shown in...(android.permission.FOREGROUND_SERVICE_LOCATION)
With the above change the service can be started from... B4A Question How to measure distance with GPS? - derez (first post)    Apr 6, 2018   (2 reactions)
EndLocation.Initialize2(LatitudeReal, LongitudeReal)
If StartClick = True and StartLocation.DistanceTo(EndLocation) > 15 Then
Distance = Distance + StartLocation.DistanceTo(EndLocation)
Log(Distance) 'Why not
'Reset to start
LatitudeStart = LatitudeReal
LongitudeEnd = LongitudeReal
StartLocation.Initialize2... B4A Tutorial FusedLocationProvider + Resolution Dialog - Erel    May 10, 2021   (17 reactions)   tags: location gps ** This is the only option to enable location services from inside your app. ** Example was updated and is based on B4XPages. Don't miss: 1. ShowResolutionDialog sub that is added to Main. It needs to be added to the activity that hosts B4XPages. 2. #AdditionalJars in Main. 3. Manifest editor addition. https://www.b4x.com/basic4android/images/i_view64_fHopQqm7Zd.png... B4A Tutorial Geofence - Monitoring a region in the background - Erel    Feb 1, 2023   (27 reactions)   tags: GEO, Geofence, B4A GPS Geofence, Geofencing .CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION) Wait For Activity_PermissionResult (Permission As String, Result As Boolean) If Result Then Dim geo As Geofence geo.Initialize geo.Id = "Test1" geo.Center.Initialize2(32.8372, 35.2698) 'change location! geo... JavaObject to implement the Geofencing API: https://developer.android.com/training/location/geofencing.html... the manifest editor: AddPermission(android.permission.ACCESS_FINE_LOCATION) CreateResourceFromFile... B4A Library FusedLocationProviderGMS (Latest) - Ivica Golubovic    Oct 7, 2023   (29 reactions) As LocationF Initialize2 (mLocationF As LocationF) As LocationF IsInitialized As Boolean Reset Sets... all other fields. Initialize2 (Priority As Int, IntervalMillis As Long) As LocationRequest.../google_play_services_version" />) DOCUMENTATION: FusedLocationProviderGMS Author: Ivica Golubovic Version: 1.2..., an event "LocationRequestCompleted" will be triggered. GetCurrentLocation2 (DurationMillis... "LocationRequestCompleted" will be triggered. GetLastLocation2 (Granularity As Int... B4i Question Google Maps Project - Calculating Distances in iOS - marcick (first post)    Sep 17, 2016   (1 reaction) Yes, Ilocation Library Dim Location1, Location2 As Location Location1.Initialize2(From.Latitude, From.Longitude) Location2.Initialize2(To.Latitude, To.Longitude) Dim Distance As Int = Location1.DistanceTo(Location2)... B4A Question How Convert Coordinate Degress,Minutes,Seconds - Erel (first post)    Feb 23, 2013 Location.Initialize2 accepts several formats. Basic4android Search: location.initialize2 You will need to parse the string and change it to the accepted "minutes" format.... B4i Tutorial Location & GPS - Erel    Feb 16, 2022   (5 reactions) .33.40.png The AuthorizationStatusChanged event is raised after you initialize LocationManager...The iLocation library allows you to get the current known location and to monitor location updates. You can also monitor the device heading direction. As the location is considered a private information, you can only get the location if the user has allowed you to get the location. This type... (Under Privacy - Location Services). The authorization status can be in one of the following states... B4i Code Snippet Convert latitude/longitude strings to double - JackKirk    Feb 11, 2016   tags: B4i is in the area of defining GPS locations. In B4A you can use Location.Initialize2(latitude, longitude), the documentation saying: Initialize2 (Latitude As String, Longitude As String) Initializes...:SS.SSSSS (Second = 1 / 3600 of a degree) Example: Dim L1 As Location L1.Initialize2("45:30:30... file/s that may have been hand generated. In B4I you use Location.Initialize2(latitude, longitude) again (at least the names of the methods match), but the documentation now says: Initialize2... Page: 1   2   3   4   5   6   7   |