Sub Activity_Resume
Utilities.LogM(0," resume")
If (MonitorMissedCalls.created) Then refreshUI ' if not its too early I will get wrong defaults
Utilities.LogM(0,Activity.GetStartingIntent)
Utilities.LogM(0,Activity.GetStartingIntent.HasExtra("Notification_Tag"))
Utilities.LogM(0,Activity.GetStartingIntent.GetExtra("Notification_Tag"))
Utilities.LogM(0,Activity.GetStartingIntent.ExtrasToString)
If (Activity.GetStartingIntent.HasExtra("Notification_Tag")) Then ' it been run from notification, I need to put the error message
Dim msg As String
msg = Activity.GetStartingIntent.GetExtra("Notification_Tag")
Utilities.LogM(0,"Running From notification fetch mail error message:" & msg)
ToastMessageShow("Error MSG box should be shown",False)
Msgbox("Error, please check your configuration/connection",msg) ' TODO make it a dialog
End If
End Sub