B4A Tutorial Background location tracking - Erel    
Jul 3, 2024   
(52 reactions)   
tags: Longrunningaoo, background clock alive, B4A Background location, gps, B4A service that keeps the process running in the background. The current location is shown in... the ACCESS_BACKGROUND_LOCATION permission. This is a special permission and it is granted in the settings app. We can only...
link: background location updates and then your app will continue to run in the background and receive...
link: Please tell me how to display data about the current location in example Background location...
link:
Note: I am using targetSdkVersion = 36. in my project. Could that be an issues because I just get a...
B4A Question Background Location/Tracking and Android 10+ - Marcos Alves    
Oct 11, 2020Hello community,
In this (https://www.b4x.com/android/forum/threads/background-location-tracking..., "location") in Manifest to request to the user to choose if allows or not background tracking...
link: The problem of using the services in the background; it really depends on what version of android...
link: -- Required only when requesting background location access on
'Android 10 (API level 29) and higher...
B4A Question [SOLVED] Background Location Tracking Turn on/off in app - Andrew (Digitwell)    
Jan 16, 2024 whilst the app is foreground
Location tracking with the app in background
I can get 1 & 3 working by using the code here:
https://www.b4x.com/android/forum/threads/background-location-tracking...
link: , then stop the background GPS service module and clear any future scheduled service tasks for it using...
link:
For 2, wouldn't it just work to enable the GPS and get the events with locations from...
link: an app wants to track GPS (and the app uses background tracking), android will give the user...
B4A Question Is the the Background Location Tracking sample complete? - josejad    
Jan 26, 2023Hi @Erel :
Maybe when you updated the Background Location Tracking sample there was some problem with the upload?
I think the layout and the Activity_Create sub are lost.
Thanks...
link: It is complete. There is no layout....
B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    
Oct 18, 2023   
(93 reactions)   
tags: runtime permission, sdk version, Targetsdk, SDK, B4A for "background" location tracking: https://www.b4x.com/android/forum/threads/background-location-tracking.99873/#content
Note that the app is considered to be in the foreground state and you do not need to request the new special ACCESS_BACKGROUND_LOCATION permission.
- 29 - BluetoothAdmin.../android/forum/threads/class-fileprovider-share-files.97865/)
- 24 - Default background color...-safe-notification.87663/)
- 26 - background limits. Features such as push notifications...
B4A Question Background location tracking not compiling! - Beja    
May 31, 2021Hi,
Today I tried to run and test the the background location tracking example by Erel and compilation stopped with this error:
Compiling resources (6.26s)
Linking resources Error...
link: any notification of current location.. only the phone vibration every few seconds....
link: You are using an old version of android.jar.
Download an updated Android SDK and configure the IDE ...
link: To less informations to help.
Post your manifestcode, post the android.jar version you are using.
Po...
Wish Update RuntimePermissions with constant for ACCESS_BACKGROUND_LOCATION - Sandman    
Mar 3, 2021   
(1 reaction)(Background post)
It seems that we need to request permission ACCESS_BACKGROUND_LOCATION when we want to access background location. This constant isn't available in RuntimePermissions, would...
link:
From my understanding, ACCESS_BACKGROUND_LOCATION is considered a 'dangerous' permission...
link: have an ACCESS_BACKGROUND_LOCATION in the manifest but using the foregroundServiceType:location...
link: have ACCESS_BACKGROUND_LOCATION in the manifest, and also was approved by Google? So no RuntimePermissions? Meaning...
B4A Question How to request background locations with API 29 and above? - Sandman    
Mar 3, 2021 location (full report here). It's clear that background permission is more difficult to get approved since API 29.
How do we request permission for background locations in API 29 and above...
link: is correct, first request FINE and iff that is given, request BACKGROUND. The latter will open the apps...
link: the area. No background/foreground service necessary....
link: the GeofenceService when one exits the area. No background/foreground service necessary.
Yeah...
B4A Library RSFluffyLocation - Battery-friendly background location updates - XverhelstX    
Dec 23, 2013   
(11 reactions) periodic updates in background, and for apps that need a reasonably current location available to them on startup. Also works great for apps that do something with location periodically... that's it!
Location updates will be broadcast to your app periodically, including after phone reboot....
The library works by using Froyo's passive location listener (only possible with Android 2.2 and up, hence why it works best with it), which listens to location updates requested by other apps on your...
B4A Question Background location tracking without persistent notification? - Inman    
Nov 4, 2019As 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.
https://www.b4x.com/android/forum/threads/background-location-tracking.99873/
I can see... the service needs to be started again). Just like in the example, I also need the location data... the location data all the time and only at the exact time the service is started....
Page: 1  
2  
3