Exemplo n.º 1
0
 private void showErrorMessage(final CharSequence text, final boolean fatal) {
   final VoiceableDialog finishedDialog = new VoiceableDialog(this);
   if (fatal) {
     setTitle(R.string.failure);
   }
   finishedDialog.popup(text.toString(), 5000);
 }
Exemplo n.º 2
0
 private void notifyFavoritesAction(int messageId) {
   final VoiceableDialog finishedDialog = new VoiceableDialog(myActivity);
   String message = getResources().getString(messageId);
   finishedDialog.popup(message, 3200);
 }