hi,
I'm putting a messagebox in activity_resume but I do not see it, anything I need to do?
here is my code
I can see the toast message and the log right before the call to the msgbox.
anyone ?
I'm putting a messagebox in activity_resume but I do not see it, anything I need to do?
here is my code
B4X:
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
I can see the toast message and the log right before the call to the msgbox.
anyone ?