Android Question CallSubDelayed get string from service ?

Discussion in 'Android Questions' started by G-ShadoW, Jul 12, 2015.

  1. G-ShadoW

    G-ShadoW Active Member Licensed User

    Hi,
    this is from service module

    Code:
    Sub Info
        top=date & 
    " - " & time
    End Sub
    I call it from activity like this:

    Code:
    Sub timer1_tick
        CallSubDelayed(AlarmService,
    "Info")

    End Sub

    Sub GetResult(Result As String)
      lblNextAlarm.Text=  Result

    End Sub
    But I dont get any result
     
  2. Roycefer

    Roycefer Well-Known Member Licensed User

    You need to call GetResult() somewhere. Probably from within your Info sub using a CallSubDelayed2() call.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice