How to Use Device Sensors the Right Way in Android - Android Studio Tutorial

preview_player
Показать описание
Sensors allow us to interact with the outside world. Implementing them you can do a lot wrong. In this video I'll show you how you properly integrate sensors into your code, so that it scales.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:

🎓 Become an industry-ready developer in the Mobile Dev Campus:

🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":

Read our weekly Android blog:

Join this channel to get access to perks:

Get the source code for this video here:

Join my Discord server:

You like my free content? Here you can buy me a coffee:
Рекомендации по теме
Комментарии
Автор

Phillip, you make the life of Android developers so much easier. Your videos always provide what we need. A1 content as always. Keep up the good work bro 🎉🙂.

nishantkaushik
Автор

Must say your content is gold for Android Developers ! Everytime I need something I get it here !

snehilsinha
Автор

Thank you for not cramming everything in Main Activity

immanueljijib
Автор

I just got a requirement to connect to a bluetooth printer and I immediately recalled this video. Watched it again and I just implemented it in the same way but for bluetooth printer with appropriate functions and class names. Now I have a clean way of implementation which helps testing and to swap with other implementation.

Zeeshan-Syed
Автор

I love how you actually follow clean architecture in all your videos and don't put everything in MainActivity

original_anu
Автор

I love that you are consistent in uploading content which helps us. Thank you bro

raheemadamboev
Автор

dude when I enter your channel I feel so confused I don't know what video to begin watch cause all your videos are extremely exciting and I want to do like all of them

Internet_Ghost-GA
Автор

I had been looking for a propper way to integrate sensors in an mvvm architecture but it is not easy to find good conent. Thanks for the quality and amount of information in all your videos!

rodrigorm
Автор

Thank You Philip your courses are of great help.

mrpi
Автор

Man this is really great, thanks for the effort by making so many usefull tips and tutorial

naufalfawwazandriawan
Автор

Hey philip is there/can you make an app based on connectivity such as bluetooth or wifi ?

immanueljijib
Автор

Your content are the best i swear. Thank You

sourasishdas
Автор

Nice video. Now I would like to learn how to serve this sensor data over the network. Probably using an HTTP server.

cernejr
Автор

Great tutorial, I have a question, how would I make the lux value display as well?

joshz
Автор

Hey Philipp, I am wondering if this is a proper practice since you're passing context into the ViewModel through the sensor.

martingaens
Автор

I enjoyed your multi-module architecture course... Thanks as always. I always recommend your channel regarding with Android Development. TMI xD

mrpad-mm
Автор

Finally I understand how abstraction used in real project😅

rijalmyd
Автор

Hey, I really like how you structure your application. However, I have read that it is good practice to stop listening to the sensor when the screen is off and start listening when it is back on, I know I need to override onPause and onResume methods in the main activity, but I am not sure how to get access to register and unregister methods there. Could you direct me to a solution?

chaitany.a
Автор

thanks a lot. could you tell me From which video on your channel should I start the hilt and view model?

MohsenMashkour
Автор

Great video, please add a video about multi modular architecture navigation mechanism and data sharing

sharmpuneet
visit shbcf.ru