PHP Classes

Application of this class

Recommend this page to a friend!

      PHP Distance between Two Coordinates  >  All threads  >  Application of this class  >  (Un) Subscribe thread alerts  
Subject:Application of this class
Summary:How to get distances of cordinates from mobile device
Messages:4
Author:SAMUEL OJODE
Date:2015-09-07 09:55:58
 

  1. Application of this class   Reply   Report abuse  
Picture of SAMUEL OJODE SAMUEL OJODE - 2015-09-07 09:55:58
I am writing to inquire how to get the cordinates of a mobile device location and cordinates of a diffetent device then get the distance between the two locations.

  2. Re: Application of this class   Reply   Report abuse  
Picture of Vivek moyal Vivek moyal - 2015-09-08 05:20:06 - In reply to message 1 from SAMUEL OJODE
For getting the coordinates you have to use the native libraries of the device and if you want to calculate the distance between the coordinates you can use this class function in your native language.

phpclasses.org/package/9344-PHP-Get ...

  3. Re: Application of this class   Reply   Report abuse  
Picture of SAMUEL OJODE SAMUEL OJODE - 2015-09-08 20:01:10 - In reply to message 2 from Vivek moyal
Thank you for your reply. I wish to just put y question in a different way. I have a mobile phone somewhere else, and a computer somewhere else. If I have this app in the computer and its online. Is it possible to obtain the location of the phone from its IP address so that it is captured and used to calculate the distance from the computer being used

  4. Re: Application of this class   Reply   Report abuse  
Picture of Vivek moyal Vivek moyal - 2015-09-09 05:20:05 - In reply to message 3 from SAMUEL OJODE
Yes you can do that if your app has the permission to access the Location facility over his device. Else you cant