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...