gps

  1. 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...
  2. 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...
  3. 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...
  4. 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
  5. 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 &...
  6. 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 & "','" &...
  7. 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...
  8. M

    Android Question Background service tracker killed

    Hi everyone, i implemented this code in my app to track the position in background: https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ But after 4 hours it stopped working... what could be the problem? in the "Service_Create" of the tracking i have...
  9. M

    Spanish [Solucionado] Utilizar GPS dentro de un servicio

    Hola, estoy desarrollando una app que requiere que el GPS se esté ejecutando en un servicio foreground, tras probar que todo funciona correctamente en el "activity" (con la app ejemplo de Erel) he tratado de llevarme la utilización a un servicio pero tras inicializar nunca llega a coger señal...
  10. Pedro Caldeira

    B4J Question new Application

    Hello folks, I am going to write a new application and want your opinions as to the best way to approach this. Its going to be Linux App, probably to run in an Raspberry PI, or small pc. desired Features: connection to External GPS for better accurary display of own coordinates on some kind of...
  11. K

    Android Question GPS get location of current point

    Hii, I want Latitude and Longitude of current location. I'm using GPS library. gps_LocationChanged procedure give values of lat and long. this procedure run when my position change. I want position as gps start. what is solution?
  12. H

    Android Question GPS Location without moving (Get current location)

    Hi guys. I have to get lat and lon values for my project but i only use it one time on opening. LocationChange event trigger when device is moving. I want to get location without moving and without locationchange event, how can i do it ? Get current location. Now im using, this kind of codes...
  13. Rob Bliss

    Android Question Google Maps Current Location Listener

    Is there a way to know when the current location button in a Google Map has been clicked. Id prefer not to override the existing functionality, ideally just add my own bits to it, but if I can only override then so be it. Cheers
  14. Cornelius Smit

    Android Question GPS Running and tracking in background

    Good day are there any sample application in B4A to do gps tracking and updating a database even when the screen is locked.The app needs to start when the device boot and update at all times.
  15. B

    Android Question GPS Location Changed event not triggering

    I have a GPS based application (a rally computer) that I developed under B4A version 4.x. One of the things it does is display GPS time. The time would update every second and the application worked very well. I have now updated to B4A 8.0 and have set: <uses-sdk android:minSdkVersion="20"...
  16. A

    Android Question How to get Magnetic Declination from the GPS location services

    The GPS locations service has functions to get Lat, Lon, Bearing, Speed, etc. What seems to be missing is a way to get the magnetic declination. I tried the code below to use the native java function but it gives a compiler error code. How can I get the magnetic Declination at a specified...
  17. rleiman

    Android Question [SOLVED] Indicating when you are facing the direction of a latitude and longitude

    Hi Everyone, I this possible with B4A? This is the latitude and longitude for a particular location. Place Name Latitude Longitude Tewksbury, MA, USA 42.610649 -71.234222 This is the latitude and longitude for where I'm at. Place Name Latitude Longitude Lowell, MA, USA 42.640999 -71.316711...
  18. Alexander Stolte

    iOS Question Google Maps get current position per code

    Hey, I can not determine the current position. How does work in B4I? My current code: Private Sub AddMap gmap.Initialize("gmap", Main.API_KEY_2) pnl_gmap.AddView(gmap, 0, 0, 100%X, 100%y) 'gmap.MapType = gmap.MAP_TYPE_TERRAIN gmap.GetUiSettings.CompassEnabled = False...
  19. Sapta

    Android Question How to measure distance with GPS?

    Hi all, In accordance with this example (GPS Tutorial), I want to calculate the distance Using the additional code below why not accurate to measure the distance? I compare with other applications, SpeedoMeter is more accurate. Is my code something wrong? Please help me. #Region Module...
  20. Beknazar

    Android Question how can improve GPS

    Hello everybody. help please how can improve GPS navigation? When I use external programs, my application more accurately shows the position. I want my application without external applications to show better geolocation. Thank you in advance.
Top