B4A Question GPS Recorder Service: Unusual Behaviour - RobertK Jun 25, 2020 What seems particularly unusual is that when another app that records GPS data (Oruxmaps, www.oruxmaps.com) is running on the same device at the same time, then my GPS recorder does not pause, and performs just as it should.
There is a good deal of information about using GPS on the Forum but I ha B4A Question GPS reading, after a few hours it turns off - how to understand the reason for the shutdown? - sfsameer (first post) Mar 12, 2021 The GPS has to be in a background service, because :
1- Android will either stop or intercept the apps that use too much memory
2- Android has a feature called battery optimization which will prevent your app to work properly if you use these type of functions in the UI and not in the background ser B4A Question Run GPS Tracker Service in Sleep Mode - TILogistic (first post) Oct 28, 2020 Read:
https://www.b4x.-location-tracking-and-android-10.123355/ B4A Question GPS position in service - KMatle (first post) Dec 24, 2016 (1 reaction) See the GPS example: https://www.b4x.com/android/forum/threads/gps-tutorial.6592/ and use OkHttpUtils to send the data to your server. B4A Question Continous background GPS tracking - dgoss (first post) Oct 19, 2019 (2 reactions) This works for me, i run an app that uses Gps for up to 15Hrs a day 6 days a week with no problems.
This is all in a Service
This in Service Create
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER 'we are handling it ourselves
This in Service
Sub Service_Start (StartingInt 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 B4A Question Reading GPS position in a service - Peter Simpson (first post) Jan 10, 2018 (3 reactions) Use another service, don't use Starter service to run the whole things.
Use FusedLocationProvider and a new service module, just use Starter to start the new service. Share My Creation [B4X] ShareYourSpot (GPS, FLP, MQTT) 0$ - Magma Jun 27, 2024 (27 reactions) ps1: If need it - please ask it here, do not PM me... source-code will be send via PM by me - soon ! ps2: Please do not ask me to add extra features... will raise the price (of 0$) and will not "easy" to learn... have in mind that with B4X, all are possible! ps3: need to have installed Google Play S B4A Question Fixed GPS icon while using service that reads bluetooth in the background - bsepulveda (first post) Apr 05, 2021 Hi Erel, excuse the ignorance, how do I convert the service to foreground service.
Thanks B4A Question How to Enable GPS Location Service - AndroidMadhu Sep 08, 2020 Hello,
I am trying to enable GPS location service manually asking user to Enable it.
Though I have put android.hardware.location.gps the permission at manifest file still I am not able to activate the Location service at my mobile.
Please suggest on this.... Page: 1 2 3 4 5 6 7 Powered by ColBERT |