App Widget Part 5 – WIDGET STACKVIEW / LISTVIEW ON CLICK LISTENER – Android Studio Tutorial

In part 5 of the app widget tutorial, we will learn how to react to click events on the StackView or ListView in our homescreen widget.
For this we have to create another PendingIntent that will trigger a BroadcastReceiver with our own custom action string.
Since we can’t set a PendingIntent on each single item directly, we have to use it as a so called “pending intent template” and set it on our collection view with setPendingIntentTemplate. In the RemoteViewsFactory class of our RemoteViewsService, we then create a “fill intent” for each single card and customize it’s behavior by adding extra data to it. We then call setOnClickFillInIntent on the RemoteViews object, pass our fill intent and this way combine it with the pending intent template to one working PendingIntent per collection view item.

Watch the whole playlist:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuDCoET8jL2VK4YVRNhVEy0K

Example code:
https://codinginflow.com/tutorials/android/app-widget/part-5

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclosure: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

BroadcastReceiver Tutorial Part 1 – STATIC RECEIVERS – Android Studio Tutorial

In this video series we will learn everything about BroadcastReceivers in Android, with which we can listen to different system and application events. This way we can execute code when the device boots up, when the internet connectivity of the phone changes, when we receive an SMS and a lot more. We can also send our own broadcasts and schedule work for a time in the future.
In part 1 we will take a look at static, Manifest registered BroadcastReceivers, that will work even if the app itself is not running. By giving them an IntentFilter with an appropriate action string, we can have them listen to implicit broadcasts, like different system events. When these events happen, the onReceive method of our BroadcastReceiver will be called.
We will also learn about the background execution changes that have been made on Android Nougat and Oreo, which for example change the way we can listen to the CONNECTIVITY_CHANGE broadcast.

Watch the whole playlist:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuBqr_0AS9BPXgU6gvNeai5S

Example code:
https://codinginflow.com/tutorials/android/broadcastreceiver/part-1

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclosure: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2018-05-21 12:47:27
Duration: 10M2S
Views: 1790
Likes: 68
Favorites: 0

Apple Glasses Are Coming – Here’s Why

Start listening to Audible: http://audible.com/polymatter or text polymatter to 500500 – For Prime members: only $4.95/month for 1st three months (Prime offer ends 7/31/2018)

Patreon: https://patreon.com/polymatter
Twitter: https://twitter.com/polymatters
Reddit: https://reddit.com/r/PolyMatter
Discord: https://discord.gg/polymatter

Smart, Augmented Reality glasses are on the way, and Apple is the perfect company to make them.

This includes a paid sponsored promotion which had no part in the writing, editing, or production of the rest of the video.

Music by Varsity Star: https://varsitystar.bandcamp.com/releases
their Facebook: https://www.facebook.com/varsitystarmusic/
and Music by Epidemic Sound: [http://epidemicsound.com](http://epidemicsound.com/)
iMessage SFX from: https://www.youtube.com/watch?v=mAVpFY7XIss

A great article on the topic by Apple blog Above Avalon: https://www.aboveavalon.com/notes/2017/7/27/apple-glasses-are-inevitable

Hype Cycle: https://www.gartner.com/technology/research/methodologies/hype-cycle.jsp

IKEA clip from FightClub: https://www.youtube.com/watch?v=ZYd2dHnJqyg

Tim Cook Pokemans Comment: https://www.youtube.com/watch?v=Nb991jotDVg

Jony Ive Aluminum clip: https://www.youtube.com/watch?v=g_HMXVm9zFs

Hype Tech names generated from: https://www.makebullshit.com

https://www.reddit.com/r/Futurology

https://www.gartner.com/smarterwithgartner/top-trends-in-the-gartner-hype-cycle-for-emerging-technologies-2017/

https://www.cnbc.com/2017/12/21/long-island-iced-tea-micro-cap-adds-blockchain-to-name-and-stock-soars.html

https://www.theinquirer.net/inquirer/news/3004483/tim-cook-says-ar-has-more-potential-than-virtual-reality

Chocolate study: https://io9.gizmodo.com/i-fooled-millions-into-thinking-chocolate-helps-weight-1707251800 and http://ds-wordpress.haverford.edu/psych2015/projects/chapter/science-journalism-sensationalized-headlines/

Magic Leap: http://digg.com/2018/magic-leap-demo-video

https://en.wikipedia.org/wiki/Diffusion_of_innovations

http://blog.evocator.org/2010/04/hype-chasm.html

Jony Ive Aluminum: https://www.youtube.com/watch?v=g_HMXVm9zFs

Magic Leap Bug Eyes: https://mashable.com/2017/12/21/magic-leap-one-mixed-reality-headset-design-reactions/#tf_5BjXRlPq6

https://www.apple.com/ios/augmented-reality/

http://www.patentlyapple.com/patently-apple/2017/11/google-patent-reveals-google-glass-being-reinvented-using-micro-led-displays-a-technology-apple-is-exploring.html

http://www.patentlyapple.com/patently-apple/2017/08/apple-granted-52-patents-today-covering-3d-glasses-in-air-gesturing-and-a-micro-led-patent-for-future-idevice.html

https://www.forbes.com/sites/paullamkin/2017/07/31/apple-ar-smart-glasses-detailed-in-patent/#46c8402d1e06

https://www.enjoyvue.com

http://www.patentlyapple.com/patently-apple/2017/09/advances-in-micro-led-displays-are-being-made-and-apples-luxvue-owns-a-key-patent-to-advance-production.html

https://www.vox.com/new-money/2017/6/20/15838284/apple-leak-leak

Channel: PolyMatter
Published: 2018-07-26 21:19:22
Duration: 10M20S
Views: 101825
Likes: 5464
Favorites: 0

ConstraintLayout Tutorial Part 1 – UNDERSTANDING CONSTRAINTS – Android Studio Tutorial

In this video series we are going to learn, how to use the ConstraintLayout, which is basically an improved RelativeLayout with a flatter view hirarchy, better performance and more functionality.

In this video we will learn, how to convert an existing layout into a ConstraintLayout, how to set and delete constraints, use the infer constraints and autoconnect functionality, switch between wrap_content, match_constraint and fixed size, change the margin and bias and everything else we need to get started with ConstraintLayout.

Watch the full playlist:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuA80lNWNCLICR3qYzhw3iPI

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclosure: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2018-02-04 11:10:18
Duration: 9M49S
Views: 14049
Likes: 176
Favorites: 0

Building your first Flutter Widget

Watch Martin Aguinis from the Flutter team build and customize a widget for a shopping app from scratch. Flutter is Google’s mobile SDK for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Get started with Flutter → https://flutter.io
Try a Flutter codelab → https://goo.gl/d3fHPo
Join the conversation → https://goo.gl/68oUnb

Subscribe to the Google Developers channel → http://goo.gl/mQyv5L

Channel: Google Developers
Published: 2018-05-22 17:17:43
Duration: 10M5S
Views: 40147
Likes: 1316
Favorites: 0

BottomNavigationView with Fragments – Android Studio Tutorial

In this video you will learn, how to add a bottom navigation to your activity and use it to switch between different fragments. We will fill our BottomNavigationView with 3 menu items and then check which item was selected with the OnNavigationItemSelectedListener interface and a switch statement. We will then create the appropriate fragment and display it in a FrameLayout with help of the getSupportFragmentManager, beginTransaction and replace methods.

Example code + dependency:
https://codinginflow.com/tutorials/android/bottomnavigationview

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclosure: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2018-02-25 03:38:11
Duration: 16M7S
Views: 14038
Likes: 296
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *