Example #1
0
 /** Show a (long) toast message in application context (e.g. from background threads) */
 public static void showApplicationToast(final String message) {
   final Context context =
       new ContextThemeWrapper(
           CgeoApplication.getInstance().getApplicationContext(), getThemeId());
   showCgeoToast(context, message, Toast.LENGTH_LONG);
 }