No video

Notifications and notification channels in Android

  Рет қаралды 6,338

Mafia Codes

Mafia Codes

Күн бұрын

In this video you will learn how to create #notifications and notification #channels in android, because from Android Oreo that is #API26 (O) you need to create notification channels to send notifications.
This tutorial targets notifications for both API above and =26 and also below API 26.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
Github(Tutorial): github.com/tru...
Notifications(dependency): developer.andr...
PendingIntent: developer.andr...
---------------
More useful videos
---------------
#RecyclerView: • Recycler View with com...
#ViewModel: • View Model | Live Data...
#Retrofit: • RETROFIT Tutorial (v 2...
#WorkManager: • Work Manager | Android...
#KeyframeAnimations: • Keyframe Animations wi...
#CollapsingToolbar Layout: • Collapsing Toolbar Lay...
#BottomNavigation View: • Bottom Navigation View...
#NavigationComponent: • Navigation Component |...
#NightMode: • Night Mode | Dark Mode...
#ButterKnife: • Butter Knife | Field a...
SplashScreen: • Splash screen | Launch...
Singletons: • Singletons | What When...
Pull to Refresh in RecyclerView: • Pull to Refresh in Rec...
On item click using Interface in RecyclerView: • RecyclerView item Clic...
Swipe gestures in Recycler View: • Swipe gestures in Recy...
Drag and drop Reorder in Recycler View: • Drag and drop Reorder ...
Filter using SearchView in RecyclerView: • Filter RecyclerView us...
MultiView RecyclerView: • Multi view RecyclerVie...
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTruly #tutorial #how-to #android

Пікірлер: 24
@programmertony6061
@programmertony6061 2 жыл бұрын
This the only channel where I always get the valid video of android development. You are genius brother. Many many love from Bangladesh. 🇧🇩🇧🇩🇧🇩❤️❤️❤️
@jamoore01
@jamoore01 4 жыл бұрын
I've been searching all over the place for an explanation as simple as this. Thank you. LIKED and SUSCRIBED
@veenakatti2825
@veenakatti2825 4 жыл бұрын
This is the best video on Notification. Thanks for making this video.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@itz_kaykei
@itz_kaykei 3 жыл бұрын
This is the best best best ever, the ONLY working tutorial I have found about notifications and the new(not so new) update such that we need notifications channel to use a notification. THANK YOU SO MUCH, hope that my like and subscribe will help u in any little way. As a beginner coder, i thank you so much.
@mafiacodes
@mafiacodes 3 жыл бұрын
Thank you, I am glad that you like the content 🙂
@sat_talk
@sat_talk 3 жыл бұрын
Thanks bro.. Just one query.. by this method can we send notifications from one device to another device?
@SHAJ.T3CH
@SHAJ.T3CH 5 жыл бұрын
Great Video
@mafiacodes
@mafiacodes 5 жыл бұрын
Will b doing it
@SHAJ.T3CH
@SHAJ.T3CH 5 жыл бұрын
@@mafiacodes eagerly waiting, love from Bangladesh
@sankar6934
@sankar6934 4 жыл бұрын
Bro U won't believe i spend a week to create a notification 😒by seeing different tutorials. Finally i found out your video. this is simply awesome and it is working. Moreover we can reuse it in our application wherever it needs..Ur way of teaching is simply awesome😎😉. Keep doing like this... one very small query i am having its regarding pendingIntent. whenever a click is made on the notification it is redirecting to my app but couldn't use my full app . eg: i am having 5 activity with parental activity(back button).in my 3rd activity i am keeping this notification button . when i pressed back button it should come to 2nd activity instead my app got closed🤷‍♂️. you have any idea on this
@mafiacodes
@mafiacodes 4 жыл бұрын
Because ur of the activity stack, since ur pending intent might be directly to 3 rd activity so the 1/2 activity are not there in the stack so when u press back button then instead of popping it closes ur app
@sankar6934
@sankar6934 4 жыл бұрын
@@mafiacodes Thanks for your quicky reply👌 and sorry for my late response.. yes u were right i used TaskStackBuilder and it solved my purpose. i learned new topic because of you. Thanks a lot😊✌
@user-zf9vr4zt7y
@user-zf9vr4zt7y 3 жыл бұрын
do you know how i can set a custom notification inside a broacast receiver to show it when the alarm starts?
@mafiacodes
@mafiacodes 3 жыл бұрын
kzfaq.info/get/bejne/qNWnpKqercmmepc.html This might help
@sayyedaamer9243
@sayyedaamer9243 5 жыл бұрын
Awesome video.👍 I have a problem, My android studio is updated to 3.5 version which is using AndroidX and i am getting a big problem related to navigation drawer. I am selecting navigation drawer template at starting but i am unable to understand what's going on and after run the codes the nav drawer items are also not responding, drawer is not scrollable as well on the device. Please please help.
@sayyedaamer9243
@sayyedaamer9243 5 жыл бұрын
The issue is resolved. There is an issue in v3.5 with xml file. If we auto format them the palaces of elements got changed, and my drawer layout is basically goes behind the main activity. That's why its got disabled. Now its working fine. But i have a request please make a video on that, and I want to know what is fragments with viewmodel, because in pre defined template it takes all of them, because its very difficult to implement everything from scratch while working live we have to take care of time and have to use predifine templates. As well as can you please share some knowledge about new version and new concepts like AndroidX. Sorry my list of request is getting long and long 😁. But can you please help me how to add bottom navigation on activity which have drawer navigation. Plz reply. Thank you.
@mafiacodes
@mafiacodes 5 жыл бұрын
View Model | Live Data | Android Jetpack | Android Studio 3.1.2 kzfaq.info/get/bejne/n5hinduers7DdXk.html Watch this video to understand the concept of view model and live data
@sayyedaamer9243
@sayyedaamer9243 5 жыл бұрын
@@mafiacodes thank you so much ..
@Unknown-vk9kd
@Unknown-vk9kd 4 жыл бұрын
NotificationCompat.Builder is deprecated bro
@trulymittal
@trulymittal 4 жыл бұрын
maninder sha it is NOT deprecated, u can check the docs, moreover we use NotificationCompat to support older devices.
@mafiacodes
@mafiacodes 4 жыл бұрын
NotificationCompat.Builder is not deprecated, you can check the website, moreover compat is used to support older devices
@user-we4jr9lv6z
@user-we4jr9lv6z 4 жыл бұрын
where are your ramdon class? Nonsense
@mafiacodes
@mafiacodes 4 жыл бұрын
Which one?
Send Email from an Android Application
5:50
Mafia Codes
Рет қаралды 10 М.
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 60 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 63 МЛН
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 82 М.
NOTIFICATIONS - Android Fundamentals
15:39
Philipp Lackner
Рет қаралды 45 М.
AsyncTasks | What When How in Android
16:59
Mafia Codes
Рет қаралды 18 М.
Runtime Permissions Android | Required from API 23 and above
27:20
Mafia Codes
Рет қаралды 4,7 М.
SpaceX Finally Adresses Important Starship Catch Problem!
20:37
What about it!?
Рет қаралды 150 М.
Adding Google Maps
10:38
Mafia Codes
Рет қаралды 7 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 963 М.
You won't BELIEVE what I just did with TanStack's React Tables!
35:58
Learn Web Design For Beginners - Full Course (2024)
3:07:31
Flux Academy
Рет қаралды 1,8 МЛН
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 60 МЛН