Remember, the LocationChanged event of the extension only fires if the app is NOT in the background...
also the setup (for example setup of the RequestText) needs to be done before starting the service...
but you could use the formula from Steve and calculate the distance in the spreadsheet after passing the current lat and long... the destination lat and long could be provided for example as variable in the Google Apps Script
I'm using mysql, but I want only one data to be entered into mysql database and use the UPDATE code block to change that data automatically with location change.
how do?
Your blocks look fine...
As test you can use the web component to find out, if your update statement works fine
Also you might want to use Do it to debug your query to find out, if the number is correct...
And while using the extension it helps to use the ErrorOccurred event to display any errors in a label just in case
The project contains 10 screens and 25 extensions
This was the result
@Taifun, I checked the extensions one by one, I found the extension phase.
after I upgraded the extension phase to version 2.2.2, the project can be built.
Thanks for taking the time to check out my project.
Best regards
The data stored in MySLQ/Spreadsheed is latitude and longitude data, if you use DistanceInterval = 1 and TimeInterval = 1000, a lot of data will be stored.
Can only the Trip1 Tag be stored? to save storage capacity.
I attached taifun location extension blocks into project built in location sensor then this happened. coordinate and other numbers attached in list. what numbers are those and how can i remove those numbers except coordinates.
Can options like ProviderLocked to true, ProviderName to "gps" in LocationSensor also possible in TaifunLocationService? location accuracy weirdly lower so I have to try any optional test to improve accuracy. Or any other suggest options to higher accuracy rate?
I couldn't attached my project file as it include paid extension in it.
thanks in advance.
As the collected data can be extensive, the following properties can be used to decide, if a specific location information should be stored in TinyDB or not.
So if you like only the coordinates stored in TinyDB, then only set the property Coordinates to true and the other properties mentioned there to false
Unfortunately not... please see the documentation about the available features. Did you enable GPS and allow location access all the time? Did you also grant location background permission? Which Android version are you using for your tests?
Thank you for respecting my t&c.. In case there are still questions you also can provide a screenshot of your relevant blocks...
You should be able to post ONLY the latitude and longitude by only requesting the latitude and longitude.
fused indicates you are using the new 'feature' provider on Android 11+ devices intended to improve coordinate accuracy (it often does not). The other numbers are probably altitude in meters and perhaps the Accuracy
Hola, tengo una app que enviar datos en segundo plano con esta extension, funciona muy bien en dispositivos con android 11 o menor, pero en dispositivos con android 12 o 13 al presionar el boton para iniciar los servicios me bota de la aplicacion, alguien ha tenido algun problema similar que me pueda ayudar, Gracias.
(Hello, I have an app that sends data in the background with this extension, it works very well on devices with android 11 or lower, but on devices with android 12 or 13 when pressing the button to start the services, the application kicks me out, someone has I had a similar problem that you can help me, Thank you)