1. Biswajit

    B4A Class [B4X] GPSPolyMap - check if GPS location is inside a polygon

    With this class, you can check if the GPS location coordinate is inside a polygon. You can use this class to check whether the user is inside a building, shopping mall or any custom shape. This class is only for B4A and B4I. Here is how can you get the coordinates of an establishment (school...
  2. A

    Android Question Timer and GPS timer at the same time in service

    Hi. I'm trying to have two timers working at the same time (GPS timer and another timer). But after a while, only keep working the another timer, and the GPS timer is OFF. it may be because one timer cancels the other? I attach the log (GPS Recibido is when i reseive GPS_LocationChanged and...
  3. M

    iOS Question [SOLVED] GeoFence and closed app

    Hi everyone. I was wondering if it's possibile to set up a geofence that when you enter (or exit), triggers an event catchable with the app closed. (like Apple "Find My" app, that can send a notification to you when a friend leave/arrive a place). I'm not knowledge about this things , so I'm...
  4. Marcos Alves

    Android Question GPS and WebView

    Hello all, I'm trying to use a webview that access a site which requires the location, but besides I requested and allowed PERMISSION_ACCESS_FINE_LOCATION in the app I'm still getting the message about gps authorization required inside the webview - there is no any pop up to request that...
  5. M

    iOS Question Gps is not very accurate

    Hi, I’m using the library iLocation, with the various PlisExtra from Erel’s tutorial about background tracking. The problem is that it isn’t very accurate. There is something like “Fine location/Coarse Location” of b4a? Or a parameter to set it to be more precise ? Thanks !
  6. rleiman

    Android Question [SOLVED] - GNSS - Keeping the GPS on when exiting my app

    Greetings, I'm using the GNSS library and would like to know how to prevent it from turning off the GPS when exiting my app or pressing the phone home button. We need to make sure the GPS stays on even if the app is not showing on the screen. All of the GPS coding is in the Starter module...
  7. M

    iOS Question Ask for enable gps / localization

    Hi, i took a look to this example. In case the user manually disable the location option, how can I show again the msgbox to ask to enable it by code? Maybe to put in the "LocManager_AuthorizationStatusChanged" event
  8. I

    Android Question Background location tracking without persistent notification?

    As of Android 8.0 you need to start a service in foreground mode to prevent the system from killing it. This results in a persistent notification. I went through the background location tracking tutorial here. I can...
  9. M

    Android Question Continous background GPS tracking

    Hi everyone, i'm coding an app for quite a whille (before the update), and i quitted beacuse the SO kill my foreground process while the app is in background, so after an random period of time it stop working. I wish to know if there is a way with the new update to prevent the OS to kill my...
  10. gainax00

    Spanish GPS coordenadas

    Hola a todos, tengo el mismo problema, ya logre quitar el formato -98:276,5149 -26:03,43574 y dejarlo limpio mi problema surge que cuando tengo 2 o 3 numeros despues del "-" 98 -> -198 ó menos caracteres, cómo 276,519 pierdo las coordenadas reales, podrian ayudarme o facilitarme el codigo de...
  11. A

    Share My Creation Gps based Sports Tracker App

    This is my Gps sports tracking App. I started this project 10 months ago without previous android programming experience. I started the project with B4a 8.3 then I moved to B4a 9.3. With the great help of this forum, I can now say that the first version is finished. Further improvements of the...
  12. gainax00

    Spanish funcion||arreglo||procedemiento, que no cierre

    Hola comunidad!!! la pregunta es la siguiente, cómo hacer que un(a) funcion||arreglo||procedemiento siga funcionado aun cuando el usuario allá puesto(no cerrado) la aplicación en segundo plano ejemplo señal GPS se manda cada 5min a un text1 obvio cada 5min cambia la señal o posición, pero si el...
  13. Fusseldieb

    Android Question Mock Location doesn't accept Lat/Lon

    Hi everyone, I've tried to use the mock-locationprovider-lib and successfully simulated a location with it (after setting the target API down to 16 because of a deprecated library function which doesn't set a specific value that's required on newer API's, but anyways), but I'm struggling to set...
  14. carlos7000

    Spanish Simulador de gps

    Estoy desarrollado una aplicacion que requiere el uso del gps, pero para probarla, siempre necesito salir a recorrer calles. Para facilitarme las cosas llevo un portátil, así me detengo en algún lado y trato de corregir el problema. Si desarrollo la aplicación de noche un día lluvioso y frío, en...
  15. carlos7000

    Android Question GPS spoofer

    Hi all How can I make a program that makes the cell phone believe that it is moving? I am developing an application that requires the use of GPS, but to test it, I always need to go out walking streets. To make things easier, I carry a notebook, so I stop somewhere and try to correct the...
  16. rleiman

    Android Question Setting phone’s time programatically

    Hi Everyone, I would like to set my phone’s system time based on the current location position. I’m planing on usine one of the B4A GPS libraries. Is it possible to do this programically? Is there a B4A library that will allow me to do it? Truly, Emad
  17. carlos7000

    Android Question Problem saving data quickly in SqLite

    Hi all. I'm trying to save some of the data I get from the gps in a database. With the following code I have no problems. Query = "INSERT INTO `GpsData`(`Id`,`UnixTime`,`Lat`,`Lon`,`Speed`,`Bearing`) VALUES (NULL,'" & UnixTime & "','" & Lat & "','" & Lon & "','" & Speed & "','" & Bearing &...
  18. carlos7000

    Spanish Problema al guardar datos rápidamente en SqLite

    Hola a todos. Estoy tratando de guardar en un base de datos, algunos de los datos que obtengo del gps. Con el siguiente código no tengo problemas. Query = "INSERT INTO `GpsData`(`Id`,`UnixTime`,`Lat`,`Lon`,`Speed`,`Bearing`) VALUES (NULL,'" & UnixTime & "','" & Lat & "','" & Lon & "','" &...
  19. B

    French Je me pose des questions sur la précision de l'outil "GPS" !

    Bonjour à toutes et à tous, J'ai tenté de réaliser une application qui devrait permettre à des enfants de retrouver leur chemin genre...."Le petit Poucet"... Pour l'instant, mon appli enregistre la localisation du téléphone, à chaque seconde, uniquement si la position a changé (grâce aux codes...
  20. M

    Android Question Background service tracker killed

    Hi everyone, i implemented this code in my app to track the position in background: But after 4 hours it stopped working... what could be the problem? in the "Service_Create" of the tracking i have...