Broadcast Receivers | Full Explanation

  Рет қаралды 22,253

Mafia Codes

Mafia Codes

4 жыл бұрын

In this video you will learn about #Broadcast Receivers. The ways to declare a #broadcastrecevier that is in #manifest and in #context (i.e. #activity or #fragment). You will also learn how to run long running tasks inside a broadcast receiver using #asynctask and #pendingresult.
⭐ 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/get-kite/?...
Manifest-declared BR: 02:42
Context-declated BR: 09:15
Long Running Tasks inside BR: 15:33
FREE $100 credit @Digital Ocean: m.do.co/c/3208f08b3324
Patreon: / trulymittal
Subscribe: kzfaq.info...
Tutorial (Github): github.com/trulymittal/Broadc...
#AsyncTask: • AsyncTasks | What When...
Broadcasts overview: developer.android.com/guide/c...
Implicit Broadcast Exceptions: developer.android.com/guide/c...
Broadcasts Receiver Attributes: developer.android.com/guide/t...
---------------
More useful videos
---------------
RecyclerView: • Recycler View with com...
ViewModel: • View Model | Live Data...
NavigationComponent: • Navigation Component |...
WorkManager: • Work Manager | Android...
Retrofit: • RETROFIT Tutorial (v 2...
CollapsingToolbar Layout: • Collapsing Toolbar Lay...
BottomNavigation View: • Bottom Navigation View...
KeyframeAnimations: • Keyframe Animations wi...
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...
---------------
Other useful Playlists
---------------
Android: • Android
Firebase: • Firebase | Build a Not...
RestAPI (NodeJS and MongoDB): • REST API using NodeJS ...
Docker: • Docker
MongoDB: • Learn MongoDB in 50 mi...
Html/Css/Js: • HTML / CSS / JS
Challenges: • Challenges
---------------
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 #howto #android

Пікірлер: 34
@mahmuduulkarimlincoln7932
@mahmuduulkarimlincoln7932 3 жыл бұрын
When i search any tutorial, I always expect you will have any video on that. I always go to your video first because of your direct, precise and clear-cut explanation. Thank you so much for helping us!!! You are the best!!!
@ajaywaghe6663
@ajaywaghe6663 4 жыл бұрын
Welcome back bro ! We missed you ! good Explanation
@lostexplorer732
@lostexplorer732 4 жыл бұрын
This guy is a legend. Was eagerly waiting for your video.
@mafiacodes
@mafiacodes 4 жыл бұрын
😊
@ejazrahim6349
@ejazrahim6349 4 жыл бұрын
thanks bro for accepting my request and making this video. Your way of explanation is the BEST ever. kindly Make video for Services(detailed one). thanks in advance love from PAKISTAN
@mafiacodes
@mafiacodes 4 жыл бұрын
😊
@friskybiscuits10
@friskybiscuits10 3 жыл бұрын
Subbed, excellent explanation
@mafiacodes
@mafiacodes 3 жыл бұрын
Welcome aboard!
@ManishSingh-nx6lq
@ManishSingh-nx6lq 4 жыл бұрын
Sir you and Navin automation lab..............i love your technician explanation.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@AtulGupta-jj7ek
@AtulGupta-jj7ek 3 жыл бұрын
How to keep the broadcast receiver listening even after app is killed from background ?
@baaliben8267
@baaliben8267 Жыл бұрын
How do I receive an event when changing the list of names? Thank you in advance
@baaliben8267
@baaliben8267 Жыл бұрын
Is there any event for add/edit/delete in Contact List?
@newlife-vx9vz
@newlife-vx9vz 3 жыл бұрын
Hello, Merry Christmas! Thank you for sharing your knowledge. Can Broadcast Receiver be used to programmatically read other apps such as Messenger, Viber and Whatsapp ? .. without opening the respective app (of course with user permission). Thank you for acknowledging my question.
@mafiacodes
@mafiacodes 3 жыл бұрын
Only if they are broadcasting something
@mohdyusuf6277
@mohdyusuf6277 4 жыл бұрын
bro, please make more videos on Broadcast receiver?
@theeasylearnandroid9042
@theeasylearnandroid9042 3 жыл бұрын
hii sir, i want use alarm in my app using broadcast Receiver but i have set alarm and app remove in background then it is not working in API level 25 and above please help me
@mafiacodes
@mafiacodes 3 жыл бұрын
instead of alarms use work manager
@shubhamnaik1982
@shubhamnaik1982 4 жыл бұрын
The Broadcast Receiver is not at all working when the app is killed or terminated from the recent task list or apps. How to resolve this issue ? Please help.
@jagadishlakkur191
@jagadishlakkur191 3 жыл бұрын
Even iam facing this in Oreo and above version
@jagadishlakkur191
@jagadishlakkur191 3 жыл бұрын
Broadcast is working fine Foreground.. not when app is killed in Oreo and above.. i have implcity and explicitly declared.
@chandrakantshinde6
@chandrakantshinde6 2 жыл бұрын
did u found any solution for it?
@vishalthapa1440
@vishalthapa1440 4 жыл бұрын
onReceive method is called but toast is not showing?
@mafiacodes
@mafiacodes 4 жыл бұрын
Probably the context is wrong or u have not called the show method or else share code on GitHub
@ashrafmakandar3370
@ashrafmakandar3370 4 жыл бұрын
bro make videos on bound service intent service job scheduler
@mafiacodes
@mafiacodes 4 жыл бұрын
Services I will do, but you should not use Job scheduler instead you should use Work Manager and for that you can watch my video with detailed explanation kzfaq.info/get/bejne/pdWAa86czdy2gX0.html
@ashrafmakandar3370
@ashrafmakandar3370 4 жыл бұрын
@@mafiacodes fine bro.but please make video on downloading a file using services like intent bound and started service along with usage of broadcast reciever in tat if possible
@avijitsamanta8784
@avijitsamanta8784 4 жыл бұрын
Are you from west bengal?
@mafiacodes
@mafiacodes 4 жыл бұрын
No, but I hv a connection from Kolkata 😊
@avijitsamanta8784
@avijitsamanta8784 4 жыл бұрын
@@mafiacodes so you understand bengali?
@al.8891
@al.8891 3 жыл бұрын
just reading the script..and saying full explanation...
@uttambanik73
@uttambanik73 Жыл бұрын
follower will always make you fool
@NasirUddinVuiya
@NasirUddinVuiya 6 ай бұрын
Your explanation is too fast to understand!
Room Database | Introduction
5:54
Mafia Codes
Рет қаралды 21 М.
Make Your Code Clean With the SOLID Principles
18:24
Philipp Lackner
Рет қаралды 97 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
Location | Getting Current location | FusedLocationProviderClient
12:41
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 232 М.
Broadcasts & Broadcast Receivers - Android Basics 2023
11:33
Philipp Lackner
Рет қаралды 48 М.
You won't BELIEVE what I just did with TanStack's React Tables!
35:58
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
Java Method References - A Beginner's Guide
12:59
Dan Vega
Рет қаралды 3,9 М.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Рет қаралды 90 М.
Everything You NEED to Know About WEB APP Architecture
10:27
ForrestKnight
Рет қаралды 496 М.
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 169 М.