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.
Related
I am creating a geolocation app with Intel XDK (iPhone and Android) and have 2 questions:
How can I display the geolocation settings of the device if the GPS is not active on the phone?
How do I know if the latitude and longitude values returned are from the GPS or from the wifi/data coords? I figured that wifi/data returns a short value (eg: 43.475748) and GPS returns a longer value (eg: 43.47573849384) Am I correct in thinking this?
1.) Most devices will cache the last known geo location. Unfortunately, this behavior is not consistent, and there's not much you can do to change that other than attempt to remember a set of last known locations within your app.
2.) I don't think the HTML5 geo API provides that level of detail, but you could look at the accuracy information that is provided. The designation of "fine" versus "coarse" is somewhat arbritraty, since it means different things on different devices and operating systems (the nature of cross-platform applications). I would use the accuracy feedback as a relative guide.
If you want to play with the geo location feature, checkout the "hello-cordova" sample app in the XDK, it is very easy to use to see how the geo feature works on a variety of devices. You can use it in App Preview or simply build the app and install it on a variety of devices. Note that if you first push the "fine" button then the "watch" button will retrieve "fine" results. If you push the "coarse" button before pushing the "watch" button the watch results will be based on a "coarse" setting.
In general, it is best to first request a "coarse" reading (with a short timeout) to get a general location (or a cached location) and then switch to a "fine" request if you need a more precise location. Battery life will be better if you stick to infrequent "coarse" readings, especially if you only need to know the general location of your user (for example, in which town or neighborhood are they located).
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
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
Has anyone used the new Garmin GLO GPS receiver? Has anyone successfully integrated it with their mobile application? I was interested in using it in order to get more accurate GPS coordinates in my Android application, but would like to get some feedback from others before I buy one.
The Garmin website does not mention if there is an API available to retreive the GPS coordinates, it simply states, "Using Bluetooth technology, GLO wirelessly pairs to your mobile device. Just set GLO within range of your mobile device and in moments you’ll be receiving GLO’s position data."
How can you retreive this position data? Will applications on the device, such as Goolgle Maps, just get this data automatically? Any info or feedback about the device would be greatly appreciated.
More info on the device can be found at the following link:
https://buy.garmin.com/shop/shop.do?pID=109827&ra=true
Todd
This question seems to get a decent amount of traffic and could use a more thorough answer.
Garmin probably feels justified in saying this:
Just set GLO within range of your mobile device and in moments you’ll be receiving GLO’s position data
because on iOS you can connect to the GLO and iOS uses the location information from the GLO to supply more accurate information to any device using the iOS location APIs. Android has no such facility. So, option one is to use an app that will read the NMEA data over BT and use that to set the mock location on your Android device (as Rodrigo said). Option two is what I do in my app: connect to the GLO or other BT GPS from directly in the app. Then I parse the NMEA lines myself and use that within the app. The downside of this is that each app which uses location must implement this themselves.
It's working for me with this app:
https://play.google.com/store/apps/details?id=googoo.android.btgps
It uses mock GPS location to inject the GLO's position.
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)