NOTIFICATIONS - Android Fundamentals

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 76

  • @ConnectBhawna
    @ConnectBhawna 2 роки тому +14

    I am in the end of completing this tutorial really i really appreciate your work you did for preparing this tutorial. Now i have the confidence that i can work on my own project.
    Thanks brother for doing so

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

      Hello, after this series, what next did you do?

    • @a-zlearning6259
      @a-zlearning6259 11 місяців тому

      @daniel_tobi I believe, based on his 2023 Android developer roadmap, you should begin with the Jetpack Compose playlist.

  • @manishpanwar2517
    @manishpanwar2517 4 роки тому +3

    Literally one of the best youtube channel please support him guys for his hardwork

  • @srivastav3684
    @srivastav3684 3 роки тому +2

    This guy will touch million subscribers very soon. Mark my words

  • @TheImaginativeSachin
    @TheImaginativeSachin 2 роки тому +1

    This was kinda hard to understand with the taskstackbuilder . I still don't understand it fully.

  • @petermeyer4273
    @petermeyer4273 2 роки тому

    Super verständlich erklärt. Aber bis hier ist es ja nur Spielerei. App öffnen und sich selbst mit einer Nachricht informieren. Gibt es ein Video oder Empfehlungen zu Resourcen, wie:
    -Eine zweite Notification ins Spiel kommen kann?
    -Die Notification ohne Klick auf Button ausgeführt werden kann aus dem Hintergrund?
    -Die Notification täglich gescheduled werden kann?
    Gruß

    • @PhilippLackner
      @PhilippLackner  2 роки тому

      Für notifications im Hintergrund, zb wenn eine Nachricht empfangen wird, lies dich mal in Push notifications ein. Hier ein Video dazu: ua-cam.com/video/HoFWPPv1ih8/v-deo.html
      Für scheduling, guck dir AlarmManager oder WorkManager an. Hier ein Video zu WorkManager: ua-cam.com/video/Psc2xyutE2U/v-deo.html

  • @anorov_hasan
    @anorov_hasan 4 роки тому +10

    thanks for the tutorial it is just amazing, and when I open my app by notification it still appears on the top, how we can solve it

    • @trunghieu5386
      @trunghieu5386 3 роки тому +3

      @Penta Rahul Krishna nice guy, you save my day

  • @TNVR69
    @TNVR69 3 роки тому +1

    hi, what if I want my app to return to an already running activity when you click the notification? I am building a timer app the sends the notification when the timer is started and I want the user to return to the timer page when they click the notification. But here my app opens a new timer activity page
    .

  • @suboshk777
    @suboshk777 8 місяців тому

    Is it possible to listen to action when I try to drag up and down of notification bar,for example enabling Bluetooth or location.I need to listen that into my fragment

  • @d.ndriotis9209
    @d.ndriotis9209 2 роки тому

    Awesome video! Your explanatory skills are very good.

  • @allanandliftedhands2669
    @allanandliftedhands2669 3 роки тому

    Very well explained..i have been able to follow this successfully using Java

  • @petermeyer4273
    @petermeyer4273 2 роки тому

    Und was ist mit dem Handling vor Oreo? Die else Schleife existiert nicht? Wäre auch toll

  • @syndromsyndrom6546
    @syndromsyndrom6546 2 роки тому

    Hey , i want first say you thank for thats great tutorial. Have my question for you , how do i can send notification another or target user ? please give me solition or answer to find it.

  • @wailhamman6317
    @wailhamman6317 3 роки тому

    Thansk for all the work you do, I like your videos and your explanation. One this about thatSDK change, I think it was more of a shortcut it didnt correct the main problem. It will be better if next time you show the real solution IMHO. Thanks again for all the effort you offer to the comunity big up

  • @tomaszb9668
    @tomaszb9668 3 роки тому +1

    You have really great tutorials :) thanks Man for it :)

  • @muneeburrehman6786
    @muneeburrehman6786 4 роки тому

    great , but i have seen images appearing in notification as well , have you covered that as well ?

  • @Ispossible1
    @Ispossible1 3 роки тому

    Thanks for this, I want my notification to be on top float on other apps. That is when using other apps and you get a notification it should display on top of that app with a circular icon...same as fb Messenger did

  • @miltonpimentel3769
    @miltonpimentel3769 2 роки тому

    After clicking on the notification it wasn't supposed to disappear??

  • @mharis404
    @mharis404 2 роки тому

    hi, what if i have to keep minSDK to 15, how will I counter the TaskStackBuilder API required 16?

  • @newbiegameplayy
    @newbiegameplayy 2 роки тому

    Hi Phillip, i want to ask, if the notification was showing before we open the app when we click the notification didn't go to pending intent target. But it will restart the app. How to solve it?

  • @millenniumchowdhury6395
    @millenniumchowdhury6395 3 роки тому

    Make a playlist in firebase ...also plz make vdo in Work manager and FCM

  • @guy1407
    @guy1407 4 роки тому

    Hi, many thanks for the demo
    Is there another demo with some menu (like WAZE = Close app )

  • @_AverageGuy
    @_AverageGuy 3 роки тому

    Hey! Great video as always! But I have question
    if I want to remove notification when I close the app, what's the best place to do it?
    I have a service that sends the notification.
    Any help is appreciated :)

  • @phumlamabuza3453
    @phumlamabuza3453 2 роки тому

    is it possible to do this in a fragment?

  • @trunghieu5386
    @trunghieu5386 3 роки тому

    Perfect tutorial, i would like to show popup notification up, how we can solve it?

  • @nicolegraves9145
    @nicolegraves9145 3 роки тому

    Thank you for tutorial! It helped me a lot!

  • @writerchris2j1984
    @writerchris2j1984 2 роки тому

    thank you! Always an easy to consume resource!

  • @erendenizkaya3155
    @erendenizkaya3155 2 роки тому +2

    Hey! Thanks for the video. But I have question.
    When I write the intent and pendingIntent, the application closes itself. How can I fix that problem?

    • @thiagogomes9043
      @thiagogomes9043 2 роки тому +2

      Try to change PENDINGINTENT.FLAG_UPDATE_CURRENT to Mutable

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

      @@thiagogomes9043 🤠 Thanks

  • @yusufaydn6927
    @yusufaydn6927 2 роки тому

    thanks, great tutorial

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

    asking to implement permission so that user can reject or accept the notification
    how can we do that, will I need to follow permissions tutorial

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

      click on red bulb kind of suggestions then click add permission

  • @nerdsplus5499
    @nerdsplus5499 2 роки тому

    How to send notification from any app to other app

  • @vj711
    @vj711 2 роки тому

    Notification isn't disappearing after click ??

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

    So awesome!

  • @_jsonV
    @_jsonV 4 роки тому

    What if the Button, btnNotification, is inside a fragment of MainActivity instead of directly a part of MainActivity like in this video? How do you access fragments internals from a parent activity? Callbacks? Doing the logic in onStart instead of onCreate?

    • @PhilippLackner
      @PhilippLackner  4 роки тому +2

      Then you could also just show the notification from within the fragment, it doesn't need to be shown from within the activity

  • @aarifalisaifi7743
    @aarifalisaifi7743 2 роки тому

    nice!!

  • @st.libertos
    @st.libertos 3 роки тому

    Thank you!

  • @akhileshrupaji5936
    @akhileshrupaji5936 4 роки тому

    Brother here --->lightColor = color. suggestions are Not getting ....i have Added Material dependency also

  • @arslanabbasi218
    @arslanabbasi218 3 роки тому

    how can we do it with fcm ??

  • @Jojoyel
    @Jojoyel 4 роки тому +1

    Hello, I like your tutorials, here and on Instagram, but is it possible to have Java tutorials ?

    • @PhilippLackner
      @PhilippLackner  4 роки тому +1

      Thank you! Sorry, but I don't do Java tutorials because Java is outdated for Android, almost nobody uses it anymore for that

    • @Jojoyel
      @Jojoyel 4 роки тому

      @@PhilippLackner oh, too bad, thanks anyway

  • @fahrican9708
    @fahrican9708 3 роки тому

    great video!

  • @kareemkamal6185
    @kareemkamal6185 3 роки тому

    The best ever

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

    When I pop notification, and close the app. The notification will be gone. Dose anyone know the reasons?

  • @noshingh521
    @noshingh521 4 роки тому

    Bro, consider that there is a third party web service and it updated every hour, and I want that when this web service updated ,immediately user notified with notification. Something like WhatsApp or telegram application. can we use web socket with third party web services? Or is there any other solution for that? thanks

    • @PhilippLackner
      @PhilippLackner  4 роки тому

      WhatsApp and Telegram usually implement such behaviour with push notifications (e.g. FCM) here, I have a video about how to implement that behaviour: ua-cam.com/video/HoFWPPv1ih8/v-deo.html

    • @arslanabbasi218
      @arslanabbasi218 3 роки тому

      @@PhilippLackner i am using fcm and passing message to popup and it is working good in android studio but not working when i make apk file and install on mobile can you provide solution of this problem?

  • @fangzsx0409
    @fangzsx0409 2 роки тому

    I am here May 2022

  • @shreyashchoudhary7413
    @shreyashchoudhary7413 3 роки тому

    Epic!

  • @aldredcresp6312
    @aldredcresp6312 2 роки тому +1

    Also, if anyone can tell me how to travel to the specific fragment instead of the Activity when the user clicks the notification, that would be great

    • @siddiquahanjum1347
      @siddiquahanjum1347 2 роки тому

      I also want to know this...

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

      Just add an intent extra, the key of which should uniquely identify the fragments.
      In the Activity, handle the intent and replace the fragment container with the right fragment based on the intent extra.

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

      val replyIntent = Intent(context, YourReplyService::class.java)
      val replyPendingIntent = PendingIntent.getService(context, 0, replyIntent, 0)
      val action = NotificationCompat.Action.Builder(
      R.drawable.ic_reply, "Reply", replyPendingIntent
      ).build()
      builder.addAction(action)

  • @mohameddarwish1347
    @mohameddarwish1347 4 роки тому

    getsystemservice(context.Notification_service) type mismatching Req Context Found String how can i handle it

    • @PhilippLackner
      @PhilippLackner  4 роки тому

      well you passed a string where you should pass the context. Check again, you probably dont have it like in the video

    • @roamthenation
      @roamthenation 2 роки тому

      Did you ever find the reason for this? same issue.

  • @clark4813
    @clark4813 3 роки тому +2

    Why is this so hard?
    Why cant it be easier...

  • @gamesforu6619
    @gamesforu6619 3 роки тому

    How to receive notifications from api in real life instead of click listener on a button.

  • @introvertsdiary
    @introvertsdiary 3 роки тому

    I love you

  • @asimlatif360
    @asimlatif360 3 роки тому

    Can we do this instead of TaskStackBuilder ?
    val contentPendingIntent = PendingIntent.getActivity(
    applicationContext,
    NOTIFICATION_ID,
    contentIntent,
    PendingIntent.FLAG_UPDATE_CURRENT
    )