How to Send Notification in Android

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • In this video we will see how to send notification from your android app. Complete implementation in java with detailed explanation.
    Download Source Code: youtube.codese...
    For Doubts (ask it here) ###
    Discord: / discord
    Whatsapp group: whatsappgroup....
    ########################
    For Business Queries ###
    Contact us for any business queries:
    Email: mail@codeseasy.com
    Phone number: +918281536333
    WhatsApp: whatsapp.codes...
    #########################
    Find us on Social Media:
    Website: www.codeseasy.com
    Telegram: t.me/CodesEasy...
    Facebook: / codeseasy
    Instagram: / codeseasy
    Twitter: / codeseasyblog

КОМЕНТАРІ • 42

  • @opiyobrian1801
    @opiyobrian1801 Рік тому +16

    Your Video is clear, with android codes well zoomed and good explanation

  • @vidhan-dev
    @vidhan-dev 10 місяців тому +3

    Thanks man That was helpful.

  • @Prasadcreation759
    @Prasadcreation759 10 місяців тому +1

    Thanx a lot sir ❤

  • @cts3md
    @cts3md Рік тому +1

    Awesome tutorial, thanks for posting this! Very well paced and easy to follow!

  • @mostafaebrahim8817
    @mostafaebrahim8817 Рік тому +1

    Thank you man

  • @alidemirci7706
    @alidemirci7706 11 місяців тому +7

    how can I do this automatically? For example I want it to push notification at 10pm whether the app is open or closed

  • @timd640
    @timd640 Рік тому +1

    thank you man the tutorial work great

    • @CodesEasy
      @CodesEasy  Рік тому

      Happy that you liked the video

  • @divakarsanadhya1376
    @divakarsanadhya1376 5 місяців тому +1

    Thank you sir , it helped me lot .❤❤

    • @CodesEasy
      @CodesEasy  5 місяців тому +1

      Glad to hear that

  • @SangPenyeruOfficial
    @SangPenyeruOfficial Рік тому +1

    can u make backend to add more push notification ?

    • @CodesEasy
      @CodesEasy  Рік тому +1

      Sure, new video coming soon

  • @anandhakumar869
    @anandhakumar869 Рік тому +1

    Great video 💥🔥

  • @juanjosemelendez3529
    @juanjosemelendez3529 5 місяців тому

    Gracias, me. ayudo mucho ¡¡

  • @пашапарк-й6д
    @пашапарк-й6д Рік тому +3

    Thank you, but i have a question. Where do you put the time of arrival of the notification?

    • @CodesEasy
      @CodesEasy  Рік тому +1

      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

    • @vladyjokey5790
      @vladyjokey5790 Рік тому

      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

  • @oracleuser-bh1sp
    @oracleuser-bh1sp 11 місяців тому

    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 .

  • @rc5016
    @rc5016 Рік тому +1

    Great video! Can you do the same thing with Kotlin language?

  • @אילימדר-פ4ק
    @אילימדר-פ4ק 8 місяців тому

    Does it have a broadcast?

  • @underlord7119
    @underlord7119 9 місяців тому

    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?

    • @jacksmith9044
      @jacksmith9044 9 місяців тому

      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.

  • @samirdesigner3324
    @samirdesigner3324 Рік тому +2

    thank you
    make admin can in app send notification to user app
    how this ?

    • @CodesEasy
      @CodesEasy  Рік тому +4

      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. 👍

  • @yoseph6456
    @yoseph6456 Рік тому +1

    Is there a way for multiple notifications to collect under the same panel?

    • @CodesEasy
      @CodesEasy  Рік тому

      Sure you can adjust on this

  • @tanmaysinghal8370
    @tanmaysinghal8370 Рік тому +2

    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.

    • @CodesEasy
      @CodesEasy  Рік тому

      i would recommend you to use firebase to do this earlier. Or you can do it manually coding it also

    • @tiwarigaman
      @tiwarigaman Рік тому

      @@CodesEasyhow can we use manually

  • @Mark-f8d4p
    @Mark-f8d4p Рік тому

    Thank you ! I try to do onclick in fragmentMain, but it cannot work.Why?

    • @CodesEasy
      @CodesEasy  Рік тому

      Join our discord or whatsapp group and ask your doubts, i don't understand your question

  • @joyokilatmoko8375
    @joyokilatmoko8375 Рік тому +1

    How to get a notification every time there is new data in the Firebase realtime database

    • @CodesEasy
      @CodesEasy  Рік тому

      Firebase has many other ways to do this. Check docs

  • @iqrardemimus4763
    @iqrardemimus4763 7 місяців тому

    What if a notification appears when an activity occurs ?

  • @dineshkushwaha_in
    @dineshkushwaha_in 11 місяців тому

    how to show notification when app is open