--- android/CheckUpdates/src/dk/thoerup/checkupdates/CheckUpdates.java 2010/06/30 21:55:56 943 +++ android/AndroidUtils/src/dk/thoerup/androidutils/CheckUpdates.java 2010/09/24 10:57:28 1127 @@ -154,7 +154,8 @@ private void showNotification(String launchUrl) { NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); - int icon = android.R.drawable.sym_action_email; //TODO: find a better icon + //int icon = android.R.drawable.sym_action_email; //TODO: find a better icon + int icon = R.drawable.searchicon; Notification notification = new Notification(icon, "Update available", System.currentTimeMillis() ); notification.flags |= Notification.FLAG_AUTO_CANCEL ; @@ -162,6 +163,7 @@ CharSequence contentTitle = title; CharSequence contentText = "New version available."; Intent notificationIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(launchUrl) ); + notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK ); PendingIntent contentIntent = PendingIntent.getActivity(context, 0, notificationIntent, 0); notification.setLatestEventInfo(context, contentTitle, contentText, contentIntent);