My intention is to track a mobile device with respect to another mobile device or wifi.
i am looking for some pointers to proceed on building a location tracking system something that does not depend in gps for location tracking instead.
A possible set of approaches might be.
user can click on "start" button on mobile which will be the origin and then start tracking the position w.r.t that origin tracking the direction changes.
A tracking system that depends on Wifi or another mobile device to locate itself
Is it possible for android device to know distance between them , if yes is it possible to know the direction as well?
I would like to get this done on android device , is this possible? i have given lot of search before posting this, so please help me.
Wifi localisation is possible with sensor fusion (still in research for better accuracy).
There are many papers available on this topic in net
http://www.cs.stanford.edu/people/dstavens/icra11/huang_etal_icra11.pdf
http://personal.stevens.edu/~ychen6/mobi248_liu.pdf
http://www.ri.cmu.edu/pub_files/2011/8/RobustIndoorLocalizationTech2011.pdf
Related
I need to find the SSID of the current connected method. I've read this already, but it uses GPS, which I don't want to. Is there a way I can achieve that?
as far as I know, there is no workaround or trick to achieve this, except rooting the user's device or using a far outdated targetSDKversion.
The main point is to understand why Android requires this permission and for this you have to see it from the end users point of view: an App who can scan for all SSIDs available on the current location of the device can use this scanresults (SSID + BSSID) in combination with online services like https://wigle.net/ to determine the users location with +-100m precision. That's why the user has to give the location-permission when your app simply wants to scan for SSIDs.
Another question is whether Google uses the position determined by GPS together with the scan results to fill and maintain its own Wifi location database.
We have an application which need to locate the device(the user) within 200 meters.
Use case:
Out client team have almost 20+ people, they will work separated but within a certain geographic extent(less than 200m). And all of them will take an android device (without network support)The manager of the team need to know the location and distance relative to himself.
I have though that using the GPS to get the location, but I still have two more problem:
1 The work place maybe inside a build, so I am afraid it is hard to get the GPS signal.
2 Get the location.
Event I get the location through the gps, how can I transform the message from the other device to that of the manager? Since there is no network available.
I hope someone can give me some suggestions.
You can investigate the NFC tags with a system to detect the tags and identify the different android devices with NFC feature
I'm not sure if this is the right place to ask my question but since I am not receiving the answer anywhere someone on this Q&A site might have had similar issues as mine and found a good solution.
My Android app needs to be notified if the user of the app is very close to certain places. I can calculate this information from GPS data but for detailed calculations, the GPS data is not enough. For example, the app needs to know if the user has left one room and entered another room.
Is there any solution available for my situation? I believe some sort of device might exist in the market that can notify any nearby Android device listening of its proximity to it.
Based on the example you give, no. Location, proximity and geo-fencing are all very different things. Location is "where am I now" - proximity includes "how far am I from object X" and geo-fencing is "am I within the bounds of a specified area"
Most location data is obtained either through GPS (geo-positioning) or based on facts like "the device is using the signal of a tower with a known location." So "proximity" data is usually based on the device using services that have known locations, not actual proximity based on distances to those devices such as signal strength.
Carriers have data regarding proximity to some extent, for keeping the device connected to the network, but I don't believe they share it. Even if they did, you need to integrate with carrier back-end systems and that's not "an app." Carriers can run traces to get locations, but they don't it regularly.
You could map known tower locations and get signal strength data, but then you need to triangulate to other known signal sources. In others words, knowing how far you are from a bluetooth device does not tell you which direction, so you would need at least 2 signal strength sources (and their relative locations and signal strength map) to determine location. GPS relies on signal strength to several satellites to triangulate device location.
There are not any "radar" devices that I am aware of, nor should you expect them soon. Usually "proximity to a known location" is good enough even for geo-fencing purposes (the device is "within a city" or "near a store"). This is very coarse geo-fencing and essentially doesn't help with the "device left one room and entered another" problem.
But that isn't to say that you couldn't create some kind of signal data for a specialized app in a controlled environment. For example, you may be able to setup devices so that you know the signal strength will be "very strong" for room specific signal sources when the device moves from one room to another. Or setting up bluetooth devices that measure their own signal strength compared to the device you are monitoring and then normalizing that data in some way to determine device proximity and triangulating device location.
A complicated problem that sounds simple... maybe one day it will be.
In general there is no API for that, however, if you could for example make your own "Finger print" of the location you might get it rather reliable. For example could for example scan wifi networks available in the excat spot with their signal strenght, and make your own logic for determining when the "fingerprint" is close enough to actual spot to raise the proximity alert.
You of course should first the have the GPS proximity to alert you when you are close enough to start the fingerprinting..
How can I locate other BlueTooth devices that are using my app and show them on map, with range, exact location, like radar map.
The only way you could possibly do this is if your Bluetooth slave devices individually have the ability to track and report their location (e.g. GPS).
Otherwise it's not possible at all. The Bluetooth radio and antenna in your Android device will have no direction finding ability.
Possible design idea :
You want to implement this with the help of a webservice.
Make your app report its being used(may be you want to report at regular intervals and shutdown of app) along with location information (probably you want to use GPS, have a look at this : Obtaining User Location).
Make you radar app to read those information and prepare the map.
Cons :
Availability of GPS will affect your application
Accuracy is limited.
I am trying to build an android application which changes the alert profile of the phone according to the location. I am using Google maps to get the location of the user. But this gives me the location only up to the granularity of a building.
For example, Google map might tell that I am in my office building, but not whether I am in a meeting room or the pantry. And I might want different profiles for the two places.
Assuming the building has a separate wireless router in each room, I plan to use the wifi hot spot to get the precise location.
Will this be possible? Is there a service/app already existing for this?
Any other ideas to achieve this are also welcome.
That's an active research topic that has no real solution yet. You might be able to get information about signal strength of close hotspots (don't know of there is an API in Android for that) or at least the BSSID of your current hotspot (there is an API for that AFAIK) and decide based on that where you are.
If there was a great solution to do that Google would have probably done that already (they have to a limited extend: http://googlemobile.blogspot.de/2011/11/go-indoors-with-google-maps-60-for.html)