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... 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... object.
FusedLocationProvider
Events:
ConnectionFailed (ConnectionResult1 As Int)
ConnectionSuccess... 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 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...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... B4A Question Problem with FusedLocationProvider GetLastLocation with B4A12.0 - Andrew (Digitwell) Jan 11, 2023 Hi,
I have recently upgraded to B4A 12.0 and I was updating an app which uses the FusedLocationProvider library to get the location.
When I call flp.getLastKnownLocation the UI locks up for > 20 sec (on Pixel 2XL) before it returns with a NULL location.
Here is an app which demonstrates... B4A Question FusedLocationProvider doesn't work when Air Plane mode is on - Alex_197 Oct 21, 2022 Hi all.
Is it possible to use FusedLocationProvider when Air Plane mode is on?
I tried this example https://www.b4x.com/android/forum/threads/fusedlocationprovider.50614/page-8#post-717726 on my phone with Android 10 and it doesn't work with Air Plane mode On.
Thanks.... B4A Question FusedLocationProvider with tracker service - Mostez May 30, 2021 I want to make driver/vehicle tracking application, and I want to base my application on Erel's tracker-example
is there any code example to use FusedLocationProvider with tracker service?
TIA... B4A Question FusedLocationProvider question - Alex_197 Mar 25, 2021 Hi all.
I have a question about FusedLocationProvider. I granted permission to use Location in my app, it works fine. Now I have a situation with one phone where GPS itself is turned off (the that under Connections settings). So my code tries to connect to FusedLocation Provider, connection is successful but then nothing happens. No message, no errors.
How can I check if the GPS is turned... B4i Question FusedLocationProvider for B4i - Alex_197 Mar 5, 2021 Hi all, is it possible to use FusedLocationProvider for B4i?
In my app the GPS mostly will be used inside buildings so I'm concern about the reception.
Sometimes it just returns 0 for Lat/Long but from my experience the FusedLocationProvider works - I have the same app on Android
Thanks.... B4A Question Can't use FusedLocationProvider with GPS-Only device mode? - JohnC Mar 25, 2020 I just did a bunch of trial-and-error research with the various location libs (FLP, LM, GPS) and I came across an issue with the Fused Location Provider as used in this example app:
https://www... Page: 1 2 3 4 |