Sub JobDone (Job As String)
If HttpUtils.IsSuccess(PostUrl) Then
Dim data As String
data = HttpUtils.GetString( PostUrl )
Dim bytearray(0) As Byte
bytearray = bconv.HexToBytes( data )
Dim msg As String
msg = bconv.StringFromBytes( bytearray, "UTF8" )
Log( msg )
Msgbox( msg, "" )
Else
ToastMessageShow("Error sending request - are you sure you are connected to the internet?", True)
End If
HttpUtils.Complete = False 'Turn off the complete flag so we won't handle it again if the activity is resumed.
End Sub