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... the ACCESS_BACKGROUND_LOCATION permission. This is a special permission and it is granted in the settings app. We can only... service and it is impossible to do without the ACCESS_BACKGROUND_LOCATION permission. So the solution... 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 Library FusedLocationProvider - warwound    Mar 12, 2020   (41 reactions)   tags: gps location indoor, GPS FusedLocationProvider is Android's latest attempt to improve the location services available to.../play-services/location.html. This library depends on the Google Play Services library, android-support-v4 library and the GPS library. The GPS library is required in order to use it's Location object. FusedLocationProvider Events: ConnectionFailed (ConnectionResult1 As Int) ConnectionSuccess ConnectionSuspended (SuspendedCause1 As Int) LocationChanged (Location1 As Location... B4A Question [SOLVED] v6.00 how to point to Google Play Services Fused Location ? - lemonisdead    Jun 9, 2016 ? Many thanks PS : I am only wanting to make FusedLocation working.... B4A Question Background Location/Tracking and Android 10+ - Marcos Alves    Oct 11, 2020 Hello community, In this (https://www.b4x.com/android/forum/threads/background-location-tracking.99873/#content) thread, @Erel talks about the new implementation of GPS background tracking and Android 10+, which requires the line SetServiceAttribute(Tracker, android:foregroundServiceType, "location") in Manifest to request to the user to choose if allows or not background tracking...:foregroundServiceType, "location") was added in manifest editor in both cases. I really don't know how... B4A Question New Google Play services stuff like low power location - bluedude    May 28, 2013   (1 reaction) Hi, Is anyone working on a new library for the stuff that Google released? Location APIs | Android Developers - Fused location; - Geofencing; - Activity recognition Cheers,... B4A Tutorial Google Maps - Erel    Jul 7, 2025   (36 reactions)   tags: Maps, GoogleMaps, GPS, Erel, Map, Google Mpas MapFragment1_Ready gmap = MapFragment1.GetMap rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION...(rp.PERMISSION_ACCESS_COARSE_LOCATION) Then gmap.MyLocationEnabled = True Else... added to the library. My Location Enabled property was removed from the designer as it needs to... B4A Library FusedLocationProviderGMS (Latest) - Ivica Golubovic    Oct 7, 2023   (28 reactions) This is a new FusedLocationProviderGMS library that is based on the latest version of Google Mobile Services (GMS). Unlike the old version of the FusedLocationProvider library, this version uses the FusedLocationProviderClient class in place of the deprecated FusedLocationProvider class. The FusedLocationProviderClient class is based on asynchronous methods, while the old version uses... version, and the difference is that the result for each request to read the current location or the last... B4A Tutorial GPS / GNSS tutorial - Erel    Mar 13, 2025   (23 reactions)   tags: gps, Erel The GNSS library replaces the old GPS library. The GNSS library is available here: https://www.b4x.com/android/forum/threads/gnss-library-an-updated-gps-library.109110/#content 162530 Using it is quite simple: 1. Checking whether location services are available. If not take the user to the settings. 2. Request permission. If the purpose is to get the user location then the FusedLocationProvider might be a better option: https://www.b4x.com/android/forum/threads/fusedlocationprovider... B4A Tutorial Google Maps with FusedLocationProvider - Erel    Sep 13, 2017   (10 reactions)   tags: Fusedlocation provided Google Maps uses the GPS as its location provider. It will not show the current location if GPS is disabled. It is possible to switch to a custom location provider. For example, here is me traveling... example uses FusedLocationProvider to inject the location. The steps to create a custom location source are: 1. Create the LocationSource object with JavaObject. 2. Handle the LocationSource_Event. It will raise when the source is activated. 3. Set the map source by calling setLocationSource. 4... Page: 1   2   3   4   5   6   7   |