Skip to main content

Posts

How accurate is Android device manager location ?

How accurate is Android device manager location ? Android Device Manager doesn't power on the device's GPS to locate the phone.  It just pings it once, which gets a general location via WiFi or cell towers.  It doesn't matter if you're out in the open or indoors, unless the phone already has a GPS lock for some other reason (say, if it was already doing navigation or tracking points), Android Device Manager won't give a perfectly precise location. Once the device is formatted you are going to loose everything.  Android device manager Accuracy It is very hard to locate a phone when it comes to tracking.  There are many third party programs.  But they also work on the same way.  Till the time the phone is one the device can be tracked through GPS  and when the person switch off the gps and Internet then it is gone.  And if he flash the Custom ROM , then also it is gone.  So I do not think this locater tools are actually accura...
Recent posts

Spring security token based authentication example

Basic flow in Spring Security Token based Authentication For the first time you have to use HTTP basic authentication and then login (send username/password) and this will return the token. In subsequent request you will use this token for authentication. You will have to add a filter to the chain that will do that authentication based on a token. You have to come up with a token format and encryption for same. You ideally need to keep an expiry for the token too, expiry along with username could be a part of the token.Use  cryptographic hash function like MD 5 and get hash of the whole Token. Few Examples of Token based Authentication in Spring.   https://github.com/nydiarra/springboot-jwt   https://github.com/virgo47/restful-spring-security