I am a beginner in Android app development. My doubt is how to measure the distance between to phone connected through internet.
And how to display the two phone as a point on both phone.
First you need to learn about android programming but here are some clue for you:
For measure the distance between two phones, You need to know the location of each phone. With android LocationManager you can get last location from GPS or network and then you can find distance from difference between two latitude and longitude.
For display position of other phones, you can use google map api in your app.
Related
Hi the idea is to track multiple mobile devices location within a building, and because it's indoors, Bluetooth seems to be a better choice.
Even though Bluetooth have a short range, but because the building have a high dense of Bluetooth-enabled devices, like hundreds of them, and all in the similar area, is it possible to draw out a map to track each devices based on a network built by each Bluetooth devices?
Like put a central device in the middle as the 'server', each devices track each other's location when they are near each other, and when a device gets nearby enough to the 'server' it reports back the locations and the 'server' build a map based on the distance.
Ibeacon would be usefull for this idea. You can send individual device distance or other necessary infos to server, then you can map out device location, but if you trying to do this in real time i am not sure, still u may check estimote ibeacon, estimote has similar feature named indoor navigation.
If I am not wrong, the only way Google can know my location is through my cellphone. This means that if my cellphone is showing the correct location for me, there seems to be no reason for computer to show the different location. (Synchronization across devices, refreshing etc has been done several times) However, what I see is strange to me. My location on mobile phone is different (and inaccurate) than my location on the desktop computer. The locations show the same area of city but they are separated by around 100-200 meters. My question is, if the Google map is anyway fetching my location using my cellphone, why is it showing incorrect location on my pc? Thanks in advance.
Most smartphones are equipped with a gps devices.
This allow accuracy unlike PC which most don't have a gps device.
Google Maps website uses permissions to your location and most likely other web browser location information, but they will never get as accurate as devices.
I've found the opposite to be true. I have a more accurate location reading using google maps through my PC than on my smart phone. The location, time last online etc . . is more accurate on PC.
Before getting myself into code, I'm trying to find if what I want to do is even possible.
Could the sensors of an iPhone or Android device be precise enough to be able to get the location of the device relatively to a reference point?
For instance, the user activates the sensors of his device at point X, moves his phone around and the phone could still detect its location relatively to the point X?
I need to check how many GPS satellites which is connecting with device.
I know how to do that on Android native app (how to get satellite name or number when we are getting location through GPS in Android?).
But, I need how to do that in phonegap/cordova hybrid application.
Thanks.
There is not anything developed to achieve that. If you want, you should make a plugin based in that android functions.
Since ios does not provide the number of satellites, and since phone gap is designed as a subset of functionality that runs on all phoneplattform, the num satellites is not available.
Further today the number of satellites is of little use, today phones use at least a combination of the US GPS and the Russion GLONASS. Thus always having many satellites in view, even in urban canyons.
You cannot use the num of satellites as a quality indicator.
Use horicontal acuracy estimate for that purpose.
Both android and ios provide that (check if phone gap provides, this, too)
I am developing an android app for my device as part of my college project. I want to measure the distance between WIFI access point and my device using this app. Can I get any suggestion from you guys on this,regarding how to make it possible, keeping in mind about the information which I have discovered below.
Information which I discovered:-
1). The routers or WIFI access point do not have GPS capabilities. Hence, I assume, finding the distance via location is not possible.
2). It is possible to access a database of access points, but I have to request the proprietors commercially, which again is less practical.
3). I can use triangulation method but as you know its not feasible.
4). I also do not want to do Wifi Fingerprint, which is to measure RSSI signal strength on different location and calculate distance based on that.
Is there anyway out or anything I could do, to find distance between my device and the WIFI access point?? Any new idea as of now ?? Since on the Q&A forums, I discovered above Informations which were not discussed lately.