Track Users Location in the Background with Android and Xamarin.Forms

Описание к видео Track Users Location in the Background with Android and Xamarin.Forms

Learn how to track a users or device location in the background on Android. Using Xamarin.Forms and Essentials, we will see how to implement a foreground service on Android that tracks the users location even when the app is in the background, killed or even when the device is restarted!

💝 Join this channel to get access to perks:
https://www.youtube.com/channel/Geral...

Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

🛑 Don't forget to subscribe to my channel for more cool content: https://www.youtube.com/GeraldVerslui...

🐦 Follow me on Twitter:   / jfversluis  
🤝 Join the Discord server:   / discord  

🔗 Links
Sample App Repo: https://github.com/jfversluis/XFBackg...
iOS Background Location video:    • Background Location Tracking for iOS ...  

Shiny.NET: https://github.com/shinyorg/shiny

Android Foreground Service docs: https://developer.android.com/guide/c...
Blog post on location services on Android: https://www.ackee.agency/blog/how-to-...

⏱ Timestamps
00:00 - Track Users Location with Android
00:11 - Android Background and Foreground Servic
02:56 - Let's Start Coding!
04:07 - Add Android Permissions
05:25 - Using Xamarin.Forms MessagingCenter
06:14 - Implement MessagingCenter Messages
07:30 - Implement Location Tracking Logic
10:30 - Implement NotificationHelper
15:43 - Implement Android Foreground Service
20:23 - Implement Android MainActivity Bootstrap
24:07 - Enable/Disable Background Service Functi
29:38 - See the Code in Action! Demo Time!
32:25 - Start Service on Device Start
38:47 - Do This Easier with Shiny.NET!
39:33 - Does this work with .NET MAUI?

🎥 Video edited with Camtasia (ref): https://techsmith.z6rjha.net/AJoeD

🙋‍♂️ Also find my...
Twitter:   / jfversluis  
Blog: https://blog.verslu.is
Twitch:   / jfversluis  
All the rest: https://jfversluis.dev

#location #background #xamarinforms #locationtracking #android

Комментарии

Информация по комментариям в разработке