Is there a way to connect Laser Distance Measurer with Chrome Bluetooth API. The Bosch devices such as GLM-family have andriod/ios SDK. Im kind of new to this and wondering if there is way to do that, or maybe another companies that offer a javascript SDK for their measurement devices
Related
Can we add focus to Markers of Google maps for Android TV app? can we move to the Marker using TV remote.
Are there Google Maps Api dedicated to Android TV.
Here is a documentation about how to handle hardware like TV.
TV hardware is substantially different from other Android devices. TVs
do not include some of the hardware features found on other Android
devices, such as touch screens, cameras, and GPS receivers. TVs are
also completely dependent on secondary hardware devices. In order for
users to interact with TV apps, they must use a remote control or game
pad.
This SO post also discuss how the user handled the Google Maps Geolocation API for Adroid TV.
So IP Address was used instead of Cell tower and Wifi access points. Because currently Geolocation is achievable using that options.
I am working to develop a web app that can utilize a GNSS receiver connected to a smart device to plot points of interest and display them on a map. I am trying to capture the enhanced location data that is being provided via the GNSS receiver. Connecting a GNSS receiver to an android phone or tablet, you have to enable mock locations on the device. The web app works while the GNSS unit is not connected, but once it connects, Chrome is unable to load any location at all, using either getcurrentposition() or watchposition(). The team I am working with thinks the browser might not recognize the units the GPS device is measuring (degrees minutes seconds as opposed to decimal degrees), but I am not so sure this is the case. The Google maps app works while a device is connected to the GPS unit, but maps.google.com does not, which makes me think this is a browser issue. I've also found other apps from the app store that are able to take readings from the device's mock locations. Not being able to use the improved accuracy of the GNSS unit limits the app to the GPS information the phone/tablet provides. Any thoughts about how I could make this work?
I am using HTML5 Geo-location API for getting the GPS cordinates
navigator.geolocation.getCurrentPosition(geolocationSuccess,
[geolocationError],
[geolocationOptions]);
This is working in all version except Blackberry 9800. I am using the api in blackberry webworks . Could somebody help me out, whether blackberry 9800 supports the above api, or I have to do something else.
Or can anyone tell me any blackberry webworks extension for Geolocation.
That's the correct way to retrieve GPS coordinates in a BlackBerry WebWorks app.
Confirm that your device can retrieve GPS coordinates in general. If it works on some devices except one, then I think its a connectivity issue. Try this:
1) Open Settings --> Device --> Location Settings
2) Make sure the "Location Services" is set to 'On'.
3) Open the menu, and select "Refresh Location"
You should see the GPS coordinates populated in the 'Location' section of this screen. These values will be sent to the navigator.geolocation.getCurrentPosition() method. If these values remain empty, then your app will get empty values too.
Hope that helps.
I know the browser shares my IP address and details of nearby wireless networks to determine my location, but what sort of info does it know about nearby wifi networks?
For example, where I live are no public wireless networks, and from my home I can see about 5 private networks, yet my location is determined within 20 meters. With there being no open networks nearby, how does Google determine my location? The only way I can think of is that Google mapped the locations of all wireless networks when they mapped streets for Street View.
I've searched about online, but all I can't find any specific details.
The data sent by Firefox to Google is for all visible access points, public or private. For each access point detected, it sends the following data to https://www.google.com/loc/json:
"mac_address": "01-23-45-67-89-ab",
"signal_strength": 8,
"age": 0,
"SSID": "MyAccessPoint"
where
mac_address is the mac address of the WiFi node.
signal_strength is current signal strength measured in dBm.
age is the number of milliseconds since the WiFi node was detected.
SSID is the name or ESSID of the WiFi node.
The georeferenced WiFi data used to geocode your request was collected when Google was driving around taking pictures for StreetView.
It is important to note that, however, that this is how the HTML5 geolocation API is implmeneted on Firefox using Google's Geolocation Services. This is an implementation, not a specification. If your device has a built-in GPS, it is probably desirable that your HTML5 implementation queries the GPS directly, rather than using a geolocation service.
Even firefox implements this feature differently on Windows and Linux. Using a current Firefox on Windows, details of all visible WiFi nodes are sent to Google. Using a current Firefox on Linux, only details of the currently connected WiFi node is sent, due to the reliance on libiw for access point data.
As another answerer noted, Safari uses Skyhook Wireless's service which does much the same thing as Google's Location Services.
Data is gathered by Skyhook Wireless (Wikipedia), and they make no distinction between public and private wifi points - they log the locations of all of them. I wouldn't be surprised if the Google Street View vans also logged location data for access points.
Here's my situation; I've built a very simple web app that looks up a users location and plots it on a Google map.
Here's my code: http://pastebin.com/d3a185efd
When I test it, my location is detected as being >= 500 meters from where I actually stand.
BUT
When I open up Google Maps or Gowalla my location is correct to within <20 meters?
So my question is: Do native iPhone apps benefit from a higher accuracy rate than web apps?
If so, why?
According to the specification, webapp geolocation should use whatever positioning method works best in any situation - so in theory, one would assume it uses GPS when available. The discussion linked in the "best answer" by rohit doesn't seem conclusive to me - here is another one, with someone reporting a similar problem to yours and other users professing to getting accurate gps data (scroll down to comments 26-28 Sept):
http://www.thecssninja.com/javascript/geolocation-iphone
But it does seem like the geolocation stuff is buggy still. I'd suspect your problem is basically that, some bug.
Based on the following link, I believe you are getting coordinates in web app through tower triangulation and not using GPS. I really doubt if GeoIP can give coordinates within 500 meters.
http://phonegap.lighthouseapp.com/projects/20116/tickets/16-navigatorgeolocation-does-not-make-use-of-gps-data
The geolocation API allows for a high accuracy parameter.
http://dev.w3.org/geo/api/spec-source.html#position_options_interface
(But uses extra battery, so probably best use sparsely)
Have you tested that?
Boolean: enableHighAccuracy
I think you are getting different results since you are overlooking the aspect of time. The GPS uses lots of battery and only starts up on command.
The HTML5 getCurrentPosition takes a snapshot of the coordinates before the GPS has had a chance to accurately 'zone in' on your position. The Google Maps app on the other hand starts and then watches your position, accuracy increasing over time (you all know how the marker moves). HTML5 also supports this feature of watching the position.
Side note! In my experience from the iPhone, the device will actually store your position for a little while, meaning that if I start up Google Maps and let it 'zone in' on my position, close it and THEN start my webapp and use getCurrentPosition I get an equally accurate reading.
Accuracy is all about letting the GPS do its thing..
I think that a webapp relies on a geoip service that (does its best to...) converts your IP address into a GPS coordinate.
ex: service ex
However such way to retrieve a coordinate cannot be as accurate as the "classic" one that uses a GPS device (such as the one included in the 3G or 3Gs iphone) to really retrieve your actual location and not approximate it at its best like a geoip service.
UPDATE: GEOIP is used when using google maps on a laptop for instance, but maybe your question was : "when I use the HTML 5 position object in my web page, does it comes from the GPS hardware or from a geoip service ?". This I couldn't really tell, I would say it uses geoip service instead of GPS hardware but I'm not 100% sure...
The code doesn't show where you get position from - are you using Navigator and Geolocation objects?
http://developer.apple.com/iphone/library/documentation/AppleApplications/Reference/SafariWebContent/GettingGeographicalLocations/GettingGeographicalLocations.html
for google geo api first it tries to find your location by device gps , if failed it goes cell triangulation (virtual gps) if failed it try to use to wifi mac and ip addresses , the last try is to use the client IP to get his location