Possible to make an Android Notification that does not call an Intent? [closed]
I need to put a Notification in the Status bar while my app is running, but I don't want it to call back to my Activity if selected. Its meant to just be info to the user that the app is running - basically a reminder in case they press the home button and minimize it. Ideas? I have the same desired behavior. My solution was: Intent intent = new Intent(this, YourActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP); mPendingIntent = PendingIntent.getActivity(getApplicationContext(), 0, intent, 0); Also, to make the notification automatically