- /*String imprintWeb = (String) getText(R.string.url_imprint);
- Uri uriUrl = Uri.parse(imprintWeb);
- Intent intent = new Intent(Intent.ACTION_VIEW, uriUrl);
- startActivity(intent);*-/
- ImprintDialog.newInstance(true).show(preference.get, "IMPRINT_DIALOG");
+ String imprintWeb = (String) getText(R.string.url_imprint);
+ if (imprintWeb != null && imprintWeb.length() > 0) {
+ Uri uriUrl = Uri.parse(imprintWeb);
+ Intent intent = new Intent(Intent.ACTION_VIEW, uriUrl);
+ startActivity(intent);
+ }
+ //ImprintDialog.newInstance(true).show(preference.get, "IMPRINT_DIALOG");