B4A Question User Claims that app cannot find bluetooth device after Android 12 Update - ema01 (first post)    Dec 14, 2021   (1 reaction) Long story short, the real issue in the end was in how we detect that location is active. We were using the "suggested" method around here, which is to use the phone library and check the content of "location_providers_allowed" This setting has been finally removed in android 12 so to see if locatio B4A Question Get LocationSettingsRequestBuilder in Android 12 - DonManfred (first post)    Sep 14, 2022 as you can read there
You shouldn´t use this any longer. Instead we have to use LocationManager.isProviderEnabled(java.lang.String) or LocationManager#isLocationEnabled() B4i Question Location Services B4i - fbritop (first post)    May 25, 2021   (1 reaction) If LocationManager.IsAuthorized Then 'Start the location so it becames available to your App LocationManager.Start(0) else If LocationManager.AuthorizationStatus=LocationManager.AUTHORIZATION_DENIED Then 'Show message (bettwer to use a Dialog with Wait For) to the user te B4A Code Snippet Sample using GPS and GeoAddress - DonManfred (first post)    Jul 02, 2020   (2 reactions) context.LOCATION_SERVICE); if (!locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { // showSettingsAlert(); //Toast.makeText(context, "Permission Denied", Toast.LENGTH_SHORT).show(); String info = "Permission Denied"; ba.raiseEvent B4i Tutorial Location & GPS - Erel    Feb 16, 2022   (5 reactions) 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 of aut Italian Libreria GNSS - Fulvio75    Oct 20, 2023   (1 reaction) Ciao ho un problema con la Libreria GNSS, avvio l'applicazione per la geolocalizzazione e tutto funziona correttamente poi non so per quale motivo dopo tempistiche differenti l'applicazione va in crash e mi da il seguente errore: java.lang.Exception: Sub gps_locationchanged signature does not match B4A Library GeoLocation - DonManfred (first post)    Dec 11, 2018 You can call the method to get the location. It checks different providers and returns the one with a result.
public void GetLocation(BA ba) {
LocationManager locationManager = (LocationManager) ba.context.getSystemService(ba.context.LOCATION_SERVICE);
if (!locationManager.isPro B4A Question Get Gps location - Peter Simpson (first post)    Feb 18, 2015   (1 reaction) LocationManager uses GPS or Mobile location. I presume that's the library you are already using. I'm not sure about the other libraries on here that can do exactly what your question wants. In windows I used a free service to provide me that information via their API, but I can't remember the name o B4i Question B4i Location Services - Marcos Alves (first post)    Mar 18, 2021 Ok, I give up... tested everything. The locationmanager library is very simple and I really don't know anymore where is the problem. @Erel , if you can check it, I can send to you the code to test. Maybe there is something new in IOS permissions that I lost. I don't know... B4A Question [solved}Notification with custom sound. - Gavin    Oct 05, 2023 _gps_locationchanged(tracker.java:197) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221) at anywheresoftware.b4a.BA.raiseEvent(BA.java:201) at anywheresoftware.b4a.gps.GPS$1.onLocationChanged(GPS.java:65) at android.location.Loc Page: 1   2   3   4   5   6   7   Powered by ColBERT |