How to Fetch Current Location in Android Studio | CurrentLocation | Android Coding

  Рет қаралды 18,428

Android Coding

Android Coding

Күн бұрын

Пікірлер: 37
@mohamedrabia2570
@mohamedrabia2570 2 жыл бұрын
very very good my bro
@AndroidCoding
@AndroidCoding 2 жыл бұрын
Thank you so much.
@patrickparno9178
@patrickparno9178 2 жыл бұрын
This is the first youtube tutorial on location services that does NOT cause a null location error, well done! However, at least with emulation I cannot get it to change location from my actual current location. The emulator allows you to set a location of course, but this does not show up when you click on Get Location. Ideas?
@RudolfJelin
@RudolfJelin 3 жыл бұрын
Great tutorial! Just a question: does clicking the button multiple times update the location?
@adnanhaider9949
@adnanhaider9949 4 жыл бұрын
hi bro, i used your code and get longitude and latitude when i check on google maps by puting this value it show ocean location not me what is this issue? kindly help me about this issue
@prajil_
@prajil_ 3 жыл бұрын
Enter latitude first then longitude. Like, 19.122 , 73.123
@whatthefactuploadr7604
@whatthefactuploadr7604 4 жыл бұрын
Sir can we get users location name like place , city...like I wish to make a search bar showing items near users??
@arnoldkilaini
@arnoldkilaini 4 жыл бұрын
Can you create a video on how to save data from button click in Excel using apache poi or other libraries
@AbdulSamad-yu1zn
@AbdulSamad-yu1zn 3 жыл бұрын
Hii Dear all how are you? I hope you all will be fine. I am facing null lat/long issue as i am using fusedlocationproviderclient... If mobile GpS button is enabled then i get location.. if i disable or reEnable it then i get null location.. if if i close or open app again and again Is there any other service or anything instead of this which works fine??
@ProgrammationTricksTips
@ProgrammationTricksTips 4 жыл бұрын
it's send me location null :( why please ?
@maggawattanalekhawong5683
@maggawattanalekhawong5683 3 жыл бұрын
did u fix it, please help :(
@bspuneeth9523
@bspuneeth9523 4 жыл бұрын
pls stop the background music
@djedaimenyousfi6521
@djedaimenyousfi6521 3 жыл бұрын
Sir plz i want to know how calculate the distance between the latlang given by gps and another lantlang given by me in the code , can you please help i need it i tried many times and i didn't solve it help me plz
@gohweizhuang3181
@gohweizhuang3181 3 жыл бұрын
please provide source code in the description, its point less to rewrite the whole things..
@AndroidCoding
@AndroidCoding 3 жыл бұрын
Join this channel to get access to source code perks: kzbin.info/door/UIF5MImktJLDWDKe5oTdJQjoin
@maggawattanalekhawong5683
@maggawattanalekhawong5683 3 жыл бұрын
Why my location never change
@nehamalviya8141
@nehamalviya8141 3 жыл бұрын
very nice tutorial, One question how to fetch location for china region, since google API are not supported in china.....please guide.
@cleawrence
@cleawrence 3 жыл бұрын
Great but your implementation will be revoked by new google policies. You have to create a foreground or background service... for that. Do u have an example ?
@pawanKumar-qh1or
@pawanKumar-qh1or 4 жыл бұрын
Awesome sir....sir i have a problem plz help me out....how we can count the number of item in firestore database and show the total number of item in recyclerview....plz sir help me....thank u
@AndroidCoding
@AndroidCoding 4 жыл бұрын
Thanks for appreciation. Get count of any array list you can use arrayList.Size() method.
@pawanKumar-qh1or
@pawanKumar-qh1or 4 жыл бұрын
Thanks sir ....for reply me 🙏🏻
@SidTheGreat420
@SidTheGreat420 3 жыл бұрын
The LocationCallback Class is abstract
@lonewolfgamingyt9369
@lonewolfgamingyt9369 2 жыл бұрын
it says "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" at this line addresses.get(0).getLatitude(); pls help
@AndroidCoding
@AndroidCoding 2 жыл бұрын
Your addresses are getting empty
@lonewolfgamingyt9369
@lonewolfgamingyt9369 2 жыл бұрын
@@AndroidCodingbut it works on other phones
@ajayvamsee7508
@ajayvamsee7508 3 жыл бұрын
same idea but uisng services do the video and post it please
@swordox98
@swordox98 4 жыл бұрын
Why don't you use Places api current location?
@AbdulSamad-yu1zn
@AbdulSamad-yu1zn 3 жыл бұрын
Hii Dear all how are you? I hope you all will be fine. I am facing null lat/long issue as i am using fusedlocationproviderclient... If mobile GpS button is enabled then i get location.. if i disable or reEnable it then i get null location.. if if i close or open app again and again Is there any other service or anything instead of this which works fine??
@ldhpro
@ldhpro 3 жыл бұрын
thank you friend ;), but i 'm a very difficult project, It's hard to understand after watching about ten times. thank you anyway
@arbajraza637
@arbajraza637 4 жыл бұрын
Bhai ek video bnao jisme videos files ko folder by folder show kro like other video player apps
@ΘωμάςΝικηδιώτης
@ΘωμάςΝικηδιώτης 3 жыл бұрын
i get always 0.0 0.0 with this code
@maggawattanalekhawong5683
@maggawattanalekhawong5683 3 жыл бұрын
did u fix it , pls help :(
@ankurgupta4696
@ankurgupta4696 3 жыл бұрын
Dont put background song
@codingsick9267
@codingsick9267 4 жыл бұрын
Bhai stop the tune
@AndroidCoding
@AndroidCoding 4 жыл бұрын
🤔🤔🤔
@ogunodabas9332
@ogunodabas9332 4 жыл бұрын
fix these two lines and your code will work 1) if (location!=null) { LocationRequest locationRequest=new LocationRequest() .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY) .setInterval(10000) .setFastestInterval(1000); // 2) .setNumUpdates(1);
Get Real Time Location in Android Studio
15:22
Tihomir Radev
Рет қаралды 12 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 137 М.
Database Indexing Explained (with PostgreSQL)
18:19
Hussein Nasser
Рет қаралды 323 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 221 М.
Want to make a video chat app? Watch this video for WebRTC!
1:22:35
Good Morning Developers
Рет қаралды 48 М.