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
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ß
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
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 .
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
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.
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
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
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?
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 :)
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?
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
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
@@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?
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.
Can we do this instead of TaskStackBuilder ? val contentPendingIntent = PendingIntent.getActivity( applicationContext, NOTIFICATION_ID, contentIntent, PendingIntent.FLAG_UPDATE_CURRENT )
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
Hello, after this series, what next did you do?
@daniel_tobi I believe, based on his 2023 Android developer roadmap, you should begin with the Jetpack Compose playlist.
Literally one of the best youtube channel please support him guys for his hardwork
This guy will touch million subscribers very soon. Mark my words
🤡
😅😅@@youtubetv3474
This was kinda hard to understand with the taskstackbuilder . I still don't understand it fully.
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ß
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
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
@Penta Rahul Krishna nice guy, you save my day
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
.
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
Awesome video! Your explanatory skills are very good.
Very well explained..i have been able to follow this successfully using Java
Und was ist mit dem Handling vor Oreo? Die else Schleife existiert nicht? Wäre auch toll
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.
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
You have really great tutorials :) thanks Man for it :)
great , but i have seen images appearing in notification as well , have you covered that as well ?
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
After clicking on the notification it wasn't supposed to disappear??
hi, what if i have to keep minSDK to 15, how will I counter the TaskStackBuilder API required 16?
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?
Make a playlist in firebase ...also plz make vdo in Work manager and FCM
Hi, many thanks for the demo
Is there another demo with some menu (like WAZE = Close app )
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 :)
is it possible to do this in a fragment?
Perfect tutorial, i would like to show popup notification up, how we can solve it?
Thank you for tutorial! It helped me a lot!
thank you! Always an easy to consume resource!
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?
Try to change PENDINGINTENT.FLAG_UPDATE_CURRENT to Mutable
@@thiagogomes9043 🤠 Thanks
thanks, great tutorial
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
click on red bulb kind of suggestions then click add permission
How to send notification from any app to other app
Notification isn't disappearing after click ??
So awesome!
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?
Then you could also just show the notification from within the fragment, it doesn't need to be shown from within the activity
nice!!
Thank you!
Brother here --->lightColor = color. suggestions are Not getting ....i have Added Material dependency also
how can we do it with fcm ??
Hello, I like your tutorials, here and on Instagram, but is it possible to have Java tutorials ?
Thank you! Sorry, but I don't do Java tutorials because Java is outdated for Android, almost nobody uses it anymore for that
@@PhilippLackner oh, too bad, thanks anyway
great video!
Thanks!
The best ever
When I pop notification, and close the app. The notification will be gone. Dose anyone know the reasons?
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
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
@@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?
I am here May 2022
Epic!
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
I also want to know this...
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.
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)
getsystemservice(context.Notification_service) type mismatching Req Context Found String how can i handle it
well you passed a string where you should pass the context. Check again, you probably dont have it like in the video
Did you ever find the reason for this? same issue.
Why is this so hard?
Why cant it be easier...
its android, baby))
How to receive notifications from api in real life instead of click listener on a button.
I love you
Can we do this instead of TaskStackBuilder ?
val contentPendingIntent = PendingIntent.getActivity(
applicationContext,
NOTIFICATION_ID,
contentIntent,
PendingIntent.FLAG_UPDATE_CURRENT
)
yes