Questions tagged as 'android-notification'

2
answers

How do I put notifications in an Android application?

I'd like to learn how to develop notifications for an Android app, so they can be updated online. That is, every time there is a app update, I would like a notification similar to that of the image to appear.     
asked by 04.01.2017 / 22:42
1
answer

Notification remains in the status bar even after the click

I have an app where I get daily notifications, however when I click this notification, it still stays in my status bar . I'm using the NotificationCompat class to create these notifications , in which whenever another is thrown, it even ove...
asked by 14.03.2017 / 02:40
1
answer

Is there any alternative to PRIORITY_MAX that is obsolete?

I'm using the NotificationCompat.Builder class to create a notification in which it has to stay on top with the highest priority. I set the notification priority as follows: notification.setPriority(Notification.PRIORITY_MAX); How...
asked by 08.02.2018 / 02:21
1
answer

Notification fixed at the top

I created a Notification but it always compresses and goes down, I would like to keep it always expanded and always at the top of notifications     
asked by 19.06.2015 / 23:52
1
answer

How to recover Activity, instead of creating new, when clicking the notification?

In my app when activity goes to status onPause I trigger its notifications through the NotificationManager. I'd like it to be retrieved into the onResume state if a click was given in the notification. Through this code I can open a new ac...
asked by 04.05.2015 / 14:54
1
answer

Android notifications are not released

I use RTP_WAKEUP to "wake up" my device when it realizes that it has notifications to launch and I can actually send notifications in 10/15 or 20 minutes, but when I try to launch a notification in 2 hours or even days this does not happen ......
asked by 28.06.2017 / 22:57
1
answer

Notification Bar with BigPictureStyle and 2 lines text?

I need to make a notification like this: Ihavetriedeverythingandcannotfindanythinglikeit.Iwasabletoput2buttonsbelowtheimagewith:.addAction(R.drawable.sim,"Sim", pendingIntentYes) .addAction(R.drawable.nao, "Não", pendingIntentNo)...
asked by 29.11.2015 / 18:55
1
answer

Notification - Custom Actions

I wonder if you can customize a Notification with your Actions. Example: RemoteViews remoteViews = new RemoteViews(getPackageName(), R.layout.customnotification); Notification.Builder builder = new Notification.Builder(this) .setSmall...
asked by 05.06.2015 / 05:59
0
answers

Show notifications on any screen

I have an app and want to make it show a pop-up style notification, like WhatsApp and / or iOS reminders, but with a custom layout. I've tried and so far nothing, does anyone have any idea how to do? Example:     
asked by 09.12.2017 / 13:33
2
answers

How do I create notifications?

I'm making apps just to test some functions for Android and would like to know how to create notifications in the status bar. My Java code and a default code that only calls the XML file: package com.bandicootapps.nav; import android.app.*...
asked by 03.09.2016 / 14:33