on the NotificationCompat.Builder object you can add a ".setShowWhen(true)" to display the time of arrival of the notification, but for me it's on by default
Hello, i'm making an app that will read messages and will show notification if particular message is received. But i want to use it as a service... So that it can show even if the app is not in background, Could you please help with it.
im not an expert but if you have the app opened on one phone the notification will appear on that phone. But if the app sends a general notification to all users at the same time then both phones will receive them.
You can, just create a php api and use google volley to fetch the results from api. Result should contain messages and notification status. If notification status is true show the message etc. Else don't show. We have tutorials on google volley, how to make api in php, and parsing Json data in android and also this video. Use these 4 videos from our channel and combine them. It's easy. Use our groups for help. 👍
Your Video is clear, with android codes well zoomed and good explanation
Glad to hear that
if you don't mind , the dark mode screen made hard to see all detail .
this sample didn't tell all detail of Notif action , but cool .
how can I do this automatically? For example I want it to push notification at 10pm whether the app is open or closed
Maybe you can try searching for Firebase Cloud Messaging
Thank you, but i have a question. Where do you put the time of arrival of the notification?
You can do the logic for that. This video shows just the way to show notification.
According to the circumstances you have to create that
on the NotificationCompat.Builder object you can add a ".setShowWhen(true)" to display the time of arrival of the notification, but for me it's on by default
Thanks man That was helpful.
Glad it helped
Awesome tutorial, thanks for posting this! Very well paced and easy to follow!
Glad it was helpful!
can u make backend to add more push notification ?
Sure, new video coming soon
Hello, i'm making an app that will read messages and will show notification if particular message is received. But i want to use it as a service... So that it can show even if the app is not in background, Could you please help with it.
i would recommend you to use firebase to do this earlier. Or you can do it manually coding it also
@@CodesEasyhow can we use manually
Quick question. So if I have this app open on two devices and I send the notification from one devices, will the second device get the notification?
im not an expert but if you have the app opened on one phone the notification will appear on that phone. But if the app sends a general notification to all users at the same time then both phones will receive them.
thank you man the tutorial work great
Happy that you liked the video
Great video! Can you do the same thing with Kotlin language?
Yes, soon
How to I can show a notification like internet speed miter I ask many place like stokoverflow and other place no one anser this question plise help me
Is there a way for multiple notifications to collect under the same panel?
Sure you can adjust on this
Thanx a lot sir ❤
thank you
make admin can in app send notification to user app
how this ?
You can, just create a php api and use google volley to fetch the results from api. Result should contain messages and notification status.
If notification status is true show the message etc. Else don't show.
We have tutorials on google volley, how to make api in php, and parsing Json data in android and also this video. Use these 4 videos from our channel and combine them. It's easy. Use our groups for help. 👍
Thank you sir , it helped me lot .❤❤
Glad to hear that
Thank you man
You're welcome!
Does it have a broadcast?
Thank you ! I try to do onclick in fragmentMain, but it cannot work.Why?
Join our discord or whatsapp group and ask your doubts, i don't understand your question
Gracias, me. ayudo mucho ¡¡
Great video 💥🔥
Thanks! 😃
How to get a notification every time there is new data in the Firebase realtime database
Firebase has many other ways to do this. Check docs
What if a notification appears when an activity occurs ?
how to show notification when app is open