Android Question Background location tracking

Nickle548

Member
Licensed User
Longtime User
I know this topic has been discussed previously. I have gone through the example code at https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ but unfortunately when I run on my device I do not get any Output on the screen and no logs as well.

I need to integrate location tracking in a delivery application that I am working on and will need very simple GPS lon/lat tracking in the foreground just like the description in the above Background location tracking.

Can someone help with a working code that I can test and incoperate in my project ?

Note: I am using targetSdkVersion = 36. in my project. Could that be an issues because I just get a blank page.
 

amorosik

Expert
Licensed User
I know this topic has been discussed previously. I have gone through the example code at https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ but unfortunately when I run on my device I do not get any Output on the screen and no logs as well.

I need to integrate location tracking in a delivery application that I am working on and will need very simple GPS lon/lat tracking in the foreground just like the description in the above Background location tracking.

Can someone help with a working code that I can test and incoperate in my project ?

Note: I am using targetSdkVersion = 36. in my project. Could that be an issues because I just get a blank page.

If you indicate the smartphone/device, it will be easy to help you
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Note: I am using targetSdkVersion = 36. in my project. Could that be an issues because I just get a blank page.
I don't know if this could be the reason, but the required TargetSDK is 35 by now.
Try to set it to 35 and make some tests.
 
Upvote 0
Top