Questions tagged [custom-notification]

56 questions
0
votes
0 answers

Firebase notifications click not working properly

Need help in the firebase notifications. In my app I'm using FCM for sending push notifications to my app users. Using Postman i'm sending data notifications to my app. After looking around on the net, i've done Data Notifications handling in my…
0
votes
1 answer

change ContentTitle text proprities without making a custom notification

I'm trying to make a notification with MediaStyle without creating a custom notification myself. so far I got everything to work but since some of my users use Arabic the contentTitle is aligned to the right and I'd like it to be to the left. How…
painor
  • 1,119
  • 1
  • 8
  • 25
0
votes
0 answers

Button click listeners of notification

I want to specify different actions on the button clicks of this notification that i am creating. For example pause and next or previous songs. And i want the text of the song to be in the notification panel. But its not being shown right now. I…
0
votes
1 answer

Custom Notification using Remoteview not showing after Boot

I'm showing a custom notification in my app which is working fine, but I want to start this notification after device boot up, but at this point it's generating error Error Logcat: 01-17 20:29:40.281 1652 1785 W PackageManager: Failure retrieving…
0
votes
1 answer

Custom notification not working in Android 8

I am using this tutorial: Android custom notification for developing and android application with custom notifications. Although this app runs perfectly on android 7 and below, but I am unable to run it on android 8 on my onpePlus 3T. Please help.
ashish mishra
  • 1,401
  • 2
  • 10
  • 13
0
votes
1 answer

How to create lock screen notifications in my app?

I'm trying to create a custom notification in my android app with an image that will also be visible when the phone is locked. Right now, Im building push notifications which are visible on the notification bar only, in which only my app icon is…
0
votes
1 answer

Notification was not showing full layout

I was working in android Custom Notifications, for that I designed Custom Layout. but when I got notification Some part of this layout was not showing. please check the screen shot of Notification please some one suggest me how to use custom layouts…
basha
  • 587
  • 2
  • 6
  • 25
0
votes
1 answer

How to update Custom notification without bringing up the entire Application?

so far I have been able to create custom notification when my player starts to play, but the problem is whenever i click the notification button that not only stops the media player button changes the button to stop icon. But the thing is to…
user3599100
0
votes
1 answer

onClick button in a custom notification

I'm trying to catch a click action on a button of a custom notification. I want to avoid creating a class extending BroadcastReciever. To do this I am coding as follows inside my service class: this.registerReceiver(new BroadcastReceiver() { …
0
votes
1 answer

Custom notification for android with buttons

So I'm trying to build a notification that has some text and two buttons on the right side (not at the bottom like a gmail/whatsapp notification). I created the layout for the same, but when I set a remote view on the notification, it only displays…
0
votes
1 answer

Prompting dialog from a icon whe clicked in android

I have a notification icon and I want to open a custom dialog when icon is clicked see image for example i have created the layout and called the alert dialog but it is showing in middle of the screen.
Mithilesh Izardar
  • 2,117
  • 1
  • 13
  • 24
1 2 3
4