show Error Dialog
Shows an error dialog with the specified message and an OK button to dismiss it.
Parameters
context
The context to use for creating the dialog.
text Res Id
String resource ID for the error message to display.
Shows an error dialog with the specified message and an OK button to dismiss it.
The context to use for creating the dialog.
String resource ID for the error message to display.