tag:blogger.com,1999:blog-89878749563391212.post1650961523585431134..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Get user last know locationUnknownnoreply@blogger.comBlogger10125tag:blogger.com,1999:blog-89878749563391212.post-30088829906186137082014-07-11T02:04:34.496-07:002014-07-11T02:04:34.496-07:00hello Sepehr,
if you have enable location history...hello Sepehr,<br /><br />if you have enable location history before, you can try <a href="https://maps.google.com/locationhistory" rel="nofollow">https://maps.google.com/locationhistory</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-88696647380701587362014-07-09T13:31:52.580-07:002014-07-09T13:31:52.580-07:00Hello Eric,
I tried all those methods along with ...Hello Eric,<br /><br />I tried all those methods along with lookout and Google location tracker and none of them worked because my phone did not have data at the time. It is now off and on on the beach somewhere so I am trying to see if there is any way of finding its last location. There is a very slim chance that anyone picked it up and it is most likely where I dropped it. If you or anyone else could help me implement that code then I would be able to get a general location to look.<br /><br />Thank you for all your help, <br />SepehrSepehrnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-14314748537866247252014-07-08T19:37:54.616-07:002014-07-08T19:37:54.616-07:00Hello Eric,
I tried that but there was no data av...Hello Eric,<br /><br />I tried that but there was no data available so it did not work. I also tried lookout and google location history and neither of those worked either. I was hoping this code could help me find it's last known location but I have no clue how to use it.<br /><br />Thanks for the quick response!Sepehrnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-9661389924351696722014-07-08T05:43:36.067-07:002014-07-08T05:43:36.067-07:00hello Sepehr,
hope it can help: Find your lost An...hello Sepehr,<br /><br />hope it can help: <a href="http://android-er.blogspot.com/2014/07/find-lost-your-android-device-with.html" rel="nofollow">Find your lost Android device with Android Device Manager</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-88760104227902200782014-07-07T22:14:54.571-07:002014-07-07T22:14:54.571-07:00how do you implement that code? my phone fell out ...how do you implement that code? my phone fell out of my bag at the beach and I just wanted to recover what is left of itSepehrnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-26128599088829338422014-05-07T14:04:47.088-07:002014-05-07T14:04:47.088-07:00Hello Sonal Tiwari,
Hope it can help:
https://www...Hello Sonal Tiwari,<br /><br />Hope it can help:<br />https://www.google.com/android/devicemanager<br />https://maps.google.com/locationhistory/<br /><br />but...Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-69794464629069618942014-05-07T11:44:00.997-07:002014-05-07T11:44:00.997-07:00I lost my phone pls tell me how to get the locatio...I lost my phone pls tell me how to get the location...it is switched off ......<br />Anonymoushttps://www.blogger.com/profile/18443365315162347312noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-33164616727793405372013-02-19T23:17:42.718-08:002013-02-19T23:17:42.718-08:00Sorry I had s small bug in previous code. so just ...Sorry I had s small bug in previous code. so just giving you updated.<br />Thanks for this post.<br /><br />private Location getBestLastKnownLocation() {<br /><br /> Location lastKnownLocation_byGps = locationMgr<br /> .getLastKnownLocation(gpsLocationProvider);<br /><br /> Location lastKnownLocation_byNetwork = locationMgr<br /> .getLastKnownLocation(networkLocationProvider);<br /><br /> // Network Last Location not available<br /> if (lastKnownLocation_byGps == null<br /> && lastKnownLocation_byNetwork != null) {<br /><br /> return lastKnownLocation_byNetwork;<br /><br /> }// GPS Last Location not available<br /> else if (lastKnownLocation_byGps != null<br /> && lastKnownLocation_byNetwork == null) {<br /><br /> return lastKnownLocation_byGps;<br /><br /> } // Both Location provider have last location<br /> // decide location base on accuracy<br /> else if (lastKnownLocation_byGps != null<br /> && lastKnownLocation_byNetwork != null) {<br /><br /> if (lastKnownLocation_byGps.getAccuracy() <= lastKnownLocation_byNetwork<br /> .getAccuracy()) {<br /><br /> return lastKnownLocation_byGps;<br /><br /> } else {<br /><br /> return lastKnownLocation_byNetwork;<br /> }<br /><br /> } else {<br /><br /> return null;<br /> }<br /><br /> }Nayanesh Guptehttps://www.blogger.com/profile/13269639328484405285noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-2778630048576688232013-02-19T00:16:32.589-08:002013-02-19T00:16:32.589-08:00thx Nayanesh Gupte :)thx Nayanesh Gupte :)Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47773584318681384492013-02-19T00:02:45.580-08:002013-02-19T00:02:45.580-08:00This comment has been removed by the author.Nayanesh Guptehttps://www.blogger.com/profile/13269639328484405285noreply@blogger.com