How to Get Current Location in Android Studio||Get user's current Location||Location App 2022

How to Get Current Location in Android Studio||Get user's current Location||Location App 2022

Coding with Aiman

2 года назад

28,095 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ismailhossainnahin
@ismailhossainnahin - 14.11.2023 21:28

No source code 😢??

Ответить
@key5792
@key5792 - 14.11.2023 13:46

Can run but only show United Stated ,cannot show my current location😢

Ответить
@key5792
@key5792 - 13.11.2023 20:36

No source code😢

Ответить
@marciliojrr
@marciliojrr - 29.09.2023 22:08

This works fine in Wear OS 4 (Android 13).
Also, I used the latest versions of play-services-location (21.0.1) and appcompat(1.6.1).
In the original code, City was get by getLocality(). That results in null value in my case.
So, I used getSubAdminArea() and this show the correct city value.

I've trying to use this in a Service, but it didn't work. Someone can help-me?

Ответить
@muchamath4313
@muchamath4313 - 27.09.2023 05:39

Are this is not need an internet connection?

Ответить
@himanshuchandrakar9853
@himanshuchandrakar9853 - 24.08.2023 12:06

How to authenticate with 500m radius of same location

Ответить
@pavanbolla9018
@pavanbolla9018 - 14.08.2023 08:11

bro can you give you git hub repository for this code

Ответить
@user-ui3qf5xr9e
@user-ui3qf5xr9e - 13.08.2023 17:35

nice video thanks a lot dear......

Ответить
@yudipatriot7765
@yudipatriot7765 - 13.07.2023 12:06

Thanks very much, nice tutorial, I'm successfully done your project, its work

Ответить
@pasindusenanayake
@pasindusenanayake - 05.06.2023 09:07

Thank you brother

Ответить
@dallasrieck7753
@dallasrieck7753 - 23.03.2023 19:35

and stop with the "tutorial" word, it make you out to be a "teacher", which is very rude, we can all share thou, you see : no "one-up-man-ship"

Ответить
@dallasrieck7753
@dallasrieck7753 - 23.03.2023 19:31

to view your "Source Code:" unnecessary conversion is required, really?, how about plain ole text

Ответить
@ardumaniak
@ardumaniak - 22.01.2023 18:26

For me don't work, please help!

Ответить
@PatrykKoacz
@PatrykKoacz - 13.01.2023 10:49

Great!

Ответить
@mytraning2433
@mytraning2433 - 06.01.2023 13:22

demo was not working

Ответить
@amirisettilakshmiprasanna4426
@amirisettilakshmiprasanna4426 - 20.12.2022 07:38

bro will u send me source code plss

Ответить
@nocopyrightmusicvlog1253
@nocopyrightmusicvlog1253 - 09.12.2022 18:54

this is getLastLocation not getCurrentLocation

Ответить
@aminedjenidi4229
@aminedjenidi4229 - 30.10.2022 04:28

based on your code you get the last known location not the current location so .....

Ответить
@zorab0011
@zorab0011 - 29.10.2022 08:12

source code??

Ответить
@nelsonantonio5870
@nelsonantonio5870 - 14.10.2022 05:33

Thanks a lot!

Ответить
@lglf77
@lglf77 - 08.10.2022 05:36

ESSE código pode ser usado sem botão logo quando inicia a atividade? Não fez vídeo de Kotlin?

Ответить
@mianarslanlatif310
@mianarslanlatif310 - 29.08.2022 23:10

thank you bro it is very helpful and working rightly

Ответить
@al-tameer-pk2088
@al-tameer-pk2088 - 14.07.2022 20:48

Not Working Dear

Ответить
@evanderpedrajeta3672
@evanderpedrajeta3672 - 02.06.2022 16:08

Its not working
Im having a problem on get location button. It says null on the class getLastLocation

Ответить