Finding Your Way with the Xamarin.Essentials Geolocation API

preview_player
Показать описание
Getting a users location can be very tricky. Luckily, with Xamarin.Essentials, this becomes very easy! In this video we will learn how to use Geolocation in Xamarin Essentials, we will learn what permissions are needed and how to read GPS coordinates both once and also continuously.

🔗 Links

⏱ Timestamps
0:00 Intro
0:41 Sample App Outline
0:50 Implement Locations Permissions
2:45 Implement Geolocation Functionality
8:17 Running the Sample
8:33 Using Location on Emulators
9:43 Continuously get Location Implementation
11:00 Running Sample Again
11:26 Simulate Moving Location on Emulators
12:23 Outro

🙋‍♂️ Also find my...
Рекомендации по теме
Комментарии
Автор

Have you used the Geolocation API? If yes, how?

jfversluis
Автор

thank you so much Gerald your a maschine

xayaLB
Автор

Thanks, Is it possible to fetch latitude and longitude from cell tower(network) or Wi-Fi when GPS is disabled automatically 🤔.

dreamhunter
Автор

Does it matter what TimeSpan puts in, What does it change?

arturrudzik
Автор

The location icon at the top is flashing, is there a way to avoid this?

user_PsevdonimyEtoPolnyjOtstoj
Автор

, is it possible to use routes with Xamarin.Forms.Maps?

thiagooliveira-ti
Автор

The Geolocation doesn't work for IOS even if I download the github repository. it give me a null pointer error.

daredevilpantera
Автор

any idea how get the location while the app is closed? i try to figoure out how google do it with to ask me rate a place i last visit, i try to figure out how she do it

john_yeager
Автор

Hi Gerald. Great Video. We have built an App with Xamarin, requiring precise location. On Android the location is out +- 50Meters. How do we get this better? We have set the accuracy to Best.

ruanlinde
Автор

I tried to re create this but all i get is build errors im trying to make an app to take a user to a specific side of a stadium using latitude and longitude

imaanp
Автор

sir, pls cover the location service "If the user turned off the location service, the app should tell or secretly turn it on for them." I am seeing this kind of feature on foodpanda when the user turns off the location service on their devices, the app tells them to turn it on or the app automatically turns it on for them. Haven't seen any guide on this in Xamarin Forms..it would really help..

madraven