BroadcastReceiver Tutorial Part 3 - CUSTOM BROADCASTS - Android Studio Tutorial
У вашего броузера проблема в совместимости с HTML5
In part 3 of the BroadcastReceiver tutorial, we will send and receive an implicit custom broadcast with an intent action string that we define ourselves. The same as system broadcast our custom broadcast can contain extra data, which we add by calling putExtra on the intent and passing a value together with a name. We then pass our intent to the sendBroadcast method, which will send the broadcast immediately and trigger all BroadcastReceivers that were registered dynamically with the registerReceiver method.
To access the variables in our Activity, we can add the BroadcastReceiver as an inner class and update the UI in it's onReceive method directly.
Watch the whole playlist:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuBqr_0AS9BPXgU6gvNeai5S
Example code:
https://codinginflow.com/tutorials/android/broadcastreceiver/part-3-custom-broadcasts
____________________
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflow?sub_confirmation=1
⏯ Watch more tutorials:
https://www.youtube.com/c/codinginflow/playlists
⭐ Become a channel member for exclusive tutorials and other perks:
https://www.youtube.com/channel/UC_Fh8kvtkVPkeihBs42jGcA/join
㊙ Help translating the videos:
http://www.youtube.com/timedtext_cs_panel?c=UC_Fh8kvtkVPkeihBs42jGcA&tab=2
? Support the content:
https://codinginflow.com/support-the-content
? Join the Discord chat:
https://discord.gg/TSnMvmc
? Audiobooks and podcasts for programmers:
https://codinginflow.com/audiobooks-podcasts-programmer
? How to get started with Android development:
https://codinginflow.com/learn-android-development-complete-beginner
? Follow Coding in Flow on social media:
Facebook:
https://www.facebook.com/codinginflow
Instagram:
https://www.instagram.com/codinginflow
Twitter:
https://twitter.com/codinginflow
Blog:
https://codinginflow.com