joaquinortiz Active Member Licensed User Longtime User Jun 6, 2020 #1 Hello Fellows!!!. In this thread https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ that @Erel posted on Nov 29, 2018; Is there a way, instead of send Location1.Latitude & Longituted to a notificacion, How i can send it to a Label in an Activity?. I intend to see the coordinates on the screen of my cell phone. Thanks in advance!
Hello Fellows!!!. In this thread https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ that @Erel posted on Nov 29, 2018; Is there a way, instead of send Location1.Latitude & Longituted to a notificacion, How i can send it to a Label in an Activity?. I intend to see the coordinates on the screen of my cell phone. Thanks in advance!
KMatle Expert Licensed User Longtime User Jun 6, 2020 #2 Use an activity and add that label. From the service call a sub in it from the service (delayed) with a parameter (string with the data). Inside the sub set the label's text. Upvote 0
Use an activity and add that label. From the service call a sub in it from the service (delayed) with a parameter (string with the data). Inside the sub set the label's text.
Erel B4X founder Staff member Licensed User Longtime User Jun 7, 2020 #3 Using CallSubDelayed to interact between activities and services Note that starting from Android 10, it is no so simple to start activities while the app is in the background. Upvote 0
Using CallSubDelayed to interact between activities and services Note that starting from Android 10, it is no so simple to start activities while the app is in the background.