Sub JobDone (Job As HttpJob)
Dim result As String
Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
ProgressDialogHide
' Job.GetRequest.Timeout = 60000
If Job.Success = True Then
Select Job.JobName
Case "Login"
ToastMessageShow(Job.GetString,True)
result = Job.GetString
If result = "success" Then 'here i face the problem
StartActivity(Outlet)
Activity.Finish
End If
End Select
Else
Log("Error: " & Job.ErrorMessage)
ToastMessageShow("Error:" & Job.ErrorMessage,True)
End If
Job.Release
End Sub