Questions tagged as 'android-notifications'

1
answer

Detect Led Notifications Android Studio

I have a simple doubt, I am programming notifications, and I realize that when I involve the line of code: .setLights(Color.GREEN, 3000, 3000) It appears errors in cell phones that do not have the notification LED (such as cell phones with...
asked by 27.07.2018 / 08:18
2
answers

Android notifications

I have the following problem. I have an app that receives push notifications from firebase. So far excellent. When I receive the notification, what I do is create a notification in the following way: private fun sendNotification(messageBody...
asked by 15.02.2018 / 16:10
0
answers

Local notifications for mobile phones with phonegap

I am trying to create local mobile notifications with the mobile app I am developing and there is no way to make it work. I am using the plugin "cordova-plugin-local-notification", I implement it but nothing, it does not work. I'm trying to m...
asked by 10.10.2017 / 09:26
2
answers

Change the default icon of NotificationCompat.Builder Android

I want to change the notification icon that appears by default. I have my NotificationCompat.Builder as well: Bitmap largeIcon = BitmapFactory.decodeResource(getResources(), R.drawable.largeicon); NotificationCompat.Builder mBuilder =...
asked by 24.05.2017 / 20:07
0
answers

What are the reasons why the Android operating system silences notifications?

I have an app in which I implement notification channels but there are certain cases that upon receiving the notification does not sound even though the device settings have not been moved.  My suspicion is that the SO automatically silences the...
asked by 14.12.2018 / 19:54
0
answers

Can you work with notifications on Android from a local server?

As an antecedent, I explain that I have a certain system already in operation with an Apache server that runs PHP and MySQL . Apart users have in their terminals (phone or tablet) an application Android that connects to this...
asked by 29.11.2018 / 21:29
0
answers

Custom notification with RemoteView

My question comes because I need to create a custom notification with a rating bar with stars. From what I read the RatingBar widget does not have the @ RemoteView so that it can be rendered by notification. Is there any way to create a cust...
asked by 28.10.2018 / 02:17
0
answers

Firebase notifications with closed app

I am implementing a system in which I receive push notifications with Firebase. If the application is open or in the background, I am able to capture the notification sent by firebase, I take the data and if I am interested I show a notificat...
asked by 20.08.2018 / 09:52
1
answer

Why is not the notification icon displayed with the screen blocked?

While I have the phone unlocked and this in my application the notifications arrive as well as they should be but when I block or exit the application they arrive with a predetermined android icon. I've been several days and I have not found cle...
asked by 23.07.2018 / 21:22
1
answer

Is it possible that from the firebase message it shows certain content in the app?

Is it possible that from the firebase message it shows certain content in the app? package juegos.example.com.appwfb; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.google.firebase.messaging.RemoteMessag...
asked by 17.07.2018 / 23:07