Android Studio GPS location tracker tutorial 03

preview_player
Показать описание
Demonstration of Android app using FusedLocationProviderClient, Google Play services, Location Provider and other parts of a GPS-aware application. Part 3 of 5.
Рекомендации по теме
Комментарии
Автор

Showing the code along with explaining why is a big help. These videos are more helpful than some of the expensive classes I've had. You're not just demonstrating a mastery of Android, but of teaching also.
Well done.

SVTCobra
Автор

Hey, I have problem. When I have my location turn off my application crash. What I have to do for automatically location or request enable location on?

kajtuskajtek
Автор

Can someone give me the git of this App please? I have lots of debugs here.

chronisorfanos
Автор

Please help, why is my location is null when I follow everything

maggawattanalekhawong
Автор

Really thanks .it was very very helpful.
Islam from algeria

SLAMTRONIC
Автор

Great tutorial... Nested click handler though, really threw me for a curve. I've never coded like that. It's a lot more clear if it's coded separately then referenced in the parameters... No? Or is this a common practice of coding with android / java?

exploringgodscountry
Автор

Do you have a video to make an android app to track another android users location. Really needed to learn asap.

tybscitchaitanyagorule
Автор

"location" returns "null" and a nullpointerexception no matter what I do. I rewatched the video twice and verified the project to no avail. I can get the project to run beyond the nullpointexception if I remove the .get"postion" methods for any UI value and just leave the "location" call but all it returns in the text box is "null"

My research indicates that if no initial location is stored in memory then getLastLocation returns "null". Because the app won't move beyond the initial fix it crashes.

Thoughts?

mattwest
Автор

Thank you so much for the tutorial! I have some throuble with the location permission. I use Pixel 3a XL API 28. I turn the permission on from Settings/Apps & Notifications/MyApplication/Permissions, but grantResults[0] is still -1. Do you have any guessing what I might be doing wrong? Also I expected a permission popup but that wasn't the case.

valentina.lilova
Автор

great, i wonder how much this app will cost
If i use the google services

omiorahman
Автор

else command in code returns error as unexpected token

chfahad
Автор

Great videos on this subject, thank you!

kingdavey
Автор

Hi,
In mine, when running the App on the emulator it shows an error.
"Unfortunately, GPSTrakingDemo has stopped.

claudiolcm
Автор

Hi what happend if user have other apps like fakegps.

rogerccaqp
Автор

ACCES_FINE_LOCATION it marked it me as unresolved

VENEGASSANCHEZEDUARDO
Автор

I must admit that i need to watch these videos again later

footballCartoon
Автор

Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class)
shortcut key:
Windows: Alt+Insert Mac: Command+N

adfinemrising
Автор

Hi, Sir, can you please upload videos to make an app that tracks user's running and walking activities.
I need that for my project.

prathamthorve