Android App Development for Beginners – 61 – Notifications



Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts

25 thoughts on “Android App Development for Beginners – 61 – Notifications”

  1. if anyone is here 2018 targeting Oreo and getting depreciated notificationCompat.Builder you need to add a String for channelID as a second parameter after context, here's an example – notification = new NotificationCompat.Builder(this, "9876");

    Reply
  2. Hi,There is somethink that I want to ask you. I created a notification service in background and everything is working. When I clicked the notification ,I pass an Activty. Everyhing is great. Howeer I want to understand when Notification appears in user's phone,how to understand the user clicked this notification or cancel. I want to do somethink when User cancel this notification by draging to left. Is there any way to do that ?

    Reply
  3. thanks for this tuto….but ….how can we create auto push notification for exemple "news app" or any exesting app that we have.. without pushing any botton

    Reply
  4. What if I want to send this notification on specific time instead of sending it through a button.. ? Please suggest.

    Reply
  5. come on bucky…if you didnt tell about your life and different stories, i wouldnt probably watch your tutorials. There are a bunch on youtube, your jokes makes you different. Is not a bad way to make jokes, it helps the ones that learns to have a good disposal while

    Reply
  6. For those who do not want to waste time typing the imports, i will leave the imports here in comment, just copy them in your Android Studio project.  

    import android.app.NotificationManager;
    import android.app.PendingIntent;
    import android.content.Intent;
    import android.support.v4.app.NotificationCompat;
    import android.support.v7.app.ActionBarActivity;
    import android.os.Bundle;
    import android.view.View;

    Reply
  7. Hello Bucky.  Will you be developing a tutorial on how Android works with MYSQL databases using JSON to do CRUD and other functions? Thanks for all of your great work.

    Reply

Leave a Comment