This question is locked. New answers and comments are not allowed.
Hi - I'm working on an app that has to know if two phones are close enough (50 m is max distance). My first try was with GPS but there is a problem: it is not accurate. Maybe the problem is in ion or icenium or ... i don't know, because when I use google maps on my phone my location is shown accurate, but I get 200 m mistake if I use ion. So my first question is - is the GPS "locator" different or I don't know - i'm losing my mind ... Maybe to little available satellites?? And google maps use some kind off algorithm ...
I use in Icenium:
var options = { maximumAge: 0, timeout: 20000, enableHighAccuracy: true };
navigator.geolocation.getCurrentPosition(onGpsSuccess, onGpsError, options);
Ok the second try was to use Bluetooth. With bluetooth I would discover a device and if a device is in range I get the wanted result (I don't need to connect with them). Is this possible? And another question is - how long does bluetooth need to discover other devices?
Thank you for your help.
I use in Icenium:
var options = { maximumAge: 0, timeout: 20000, enableHighAccuracy: true };
navigator.geolocation.getCurrentPosition(onGpsSuccess, onGpsError, options);
Ok the second try was to use Bluetooth. With bluetooth I would discover a device and if a device is in range I get the wanted result (I don't need to connect with them). Is this possible? And another question is - how long does bluetooth need to discover other devices?
Thank you for your help.