Hello,
I have an application which does NOT use service. Now i want to add my app functionality to run on back ground. I added a service to my project moved the gps codes like gps.start and locationchanged subs to service module. But for example under Sub GPS_LocationChanged (Location1 As Location) i have
lblspeed.text = location1.speed
but because service doesnt have sub globals , i cant use any labels. How can i use the main activity's labels or textboxes to change within service module. ?
TY
I have an application which does NOT use service. Now i want to add my app functionality to run on back ground. I added a service to my project moved the gps codes like gps.start and locationchanged subs to service module. But for example under Sub GPS_LocationChanged (Location1 As Location) i have
lblspeed.text = location1.speed
but because service doesnt have sub globals , i cant use any labels. How can i use the main activity's labels or textboxes to change within service module. ?
TY