Thank you sir! It works fine. For those who keep on getting USA as your location, go check your emulator location and be sure to set as your current latitude/longitude.
hey there! amazing tutorial! thanks in advance! can we use this code in case we just want to use the data but not actually mention or show them to the interface?
@@CodingwithDev A humble request, can you please make a guide video on how one should learn this whole location thing. Like which APIs should one use and which have been deprecated. And which API for which use. Also, what are the APIs that are generally used in the android development world. I have searched about this info all over the internet but couldn't find a good one. And I think this is the most important thing a beginner needs to look for while getting into android development. Please consider making this video, would be a great help to us.
Hello! Can you make a tutorial video about How to get coordinate from fixed marker at center of google maps in java android studio..,, there is a video of what I'm talking about
Do you have an example of code for an app using internal location . The application should make use of the "wi-fi received signal strength indicator (RSSI)".
Coding with Dev thank you before, when i input data like profile image, name, phone, address, gender and etc... in firts activity then my data will show another activity
Hi, could you please tell me what to do...I get Location in Russia, but all streets are in English languages, can I get streets’ name in Russian (Local) language? Or is it impossible?
Hi, great video, It works for me, but sometimes if it finds the location, sometimes it doesn't, or sometimes it takes a long time, what could I do? thanks
I have tried it but it does not work with me, I live in Palestine. It works on the emulater but it does notwork with my mobile. If you have any ideas to help me, please.
Hello partho, no need to added in dependencies are in gradle.. using LocationManager Class get the latitute and longitute and using Geocoder class converted to Address...
@@felipeguerra9649 if huawei model i receive error MainActivity cannot be cast to android.location.LocationListener, since not support google play service
Only 10% of this silent movie is actually about the GPS location. Why do you need to explain how to create buttons, or an OnclickListener?? Waste someone else's time.
java.lang.NullPointerException: Attempt to invoke virtual method 'android.location.Location android.location.LocationManager.getLastKnownLocation(java.lang.String)' on a null object reference at com.example.map.MainActivity.getLocation(MainActivity.java:71) at com.example.map.MainActivity.access$100(MainActivity.java:21) at com.example.map.MainActivity$1.onClick(MainActivity.java:42)