Questions tagged [proximity]

A proximity (sensor) is a sensor able to detect the presence of nearby objects without any physical contact.

Proximity sensing is the ability of a device to tell when it is near an object, or when something is near it. This sense keeps a device from running into things. It can also be used to measure the distance from a device to some object.

456 questions
2
votes
1 answer

Solr Highlighting of terms in Proximity search only

In Solr, when performing a proximity search, is there a simple way to highlight only the search terms that occur within the specified proximity?
Ruth
  • 5,646
  • 12
  • 38
  • 45
2
votes
3 answers

Calculate distance from one point to all others

I am working with a list of ID, X, and Y data for fire hydrant locations. I am trying to find the three closest fire hydrants for each fire hydrant in the list. a = [[ID, X, Y],[ID, X, Y]] I have tried implementing this using a for loop but I am…
James Fisher
  • 39
  • 1
  • 2
2
votes
1 answer

Proximity sensor recommendation to detect hand & blood

My company is interested in designing a protection system for small industrial machines, where factory employees insert wooden objects that are then cut by these machines. The protection system needs to be aware of the presence of a human arm when…
Arkadi
  • 53
  • 1
  • 8
2
votes
1 answer

PC/SC & NFC Proximity Provider conflict?

I am trying to develop an App to get Mifare card UID (CSN) with the PC/SC library to be used on a Dell notebook that has the contactless reader. My code works on some laptop, but it doesn't work on a laptop that has the NFC Proximity Provider…
TomDucat
  • 21
  • 2
2
votes
1 answer

How often does android requests location updates?

How often does android requests location updates? For example if you add a proximity alert to a location manager how often will it update the location? In the documentation it says: "In case the screen goes to sleep, checks for proximity alerts…
mixkat
  • 3,883
  • 10
  • 40
  • 58
2
votes
1 answer

Detect object proximity to walls

I am trying to write something really simple - and use SpriteKit on this instance. The way I did it on other platforms, is by having an invisible child "stick" sticking out a bit. By detecting collision between the invisible "sticks" I can tell…
GregJaskiewicz
  • 456
  • 3
  • 11
2
votes
0 answers

proximity search in elasticsearch

How can I use Proximity Search in ElasticSearch Query String Example Query : (A OR B) **NEAR2** (C OR D) I dont want to use "A C"~2 I want this query to get translated to ( A Near C ) OR ( A Near D ) OR ( B Near C ) OR ( B Near D ) I can only…
sawan mehta
  • 51
  • 1
  • 7
2
votes
0 answers

Update the geofence as user move in iOS

I've created a Geofence based on the user's current location and wants to update it as users is moving for 10 meters in any direction. Is it possible to remove and create the geofence so frequently? Specially in case of when the application is…
SandeepM
  • 2,601
  • 1
  • 22
  • 32
2
votes
3 answers

How to turn off proximity sensor when returning back from child activity to parent activity

I have taken proximity sensor in my child activity which works fine but when I am returning back to parent activity The Proximity sensor still remains turn on. I had unregistered proximity sensor in onPause and onDestroy of my child activity but…
Kesha
  • 497
  • 6
  • 19
2
votes
1 answer

iPhone proximity detecion

I'm trying to find a way to detect when some iPhone device is near another device (which could be another iPhone, a PC or another kind of sensor/device). Anyone knows how this could be accomplished? I've thought in the direction of bluetooth, but as…
Roman
  • 171
  • 11
2
votes
0 answers

Raw iOS Proximity Sensor Values

I have seen from multiple sources that it is possible to access an iPhone's infrared proximity sensor but I can only find a way to access close to and not close to values (binary…
CoolPenguin
  • 1,215
  • 12
  • 21
2
votes
1 answer

SQL 2008 Full Text Search Word Proximity

I have been reading the Full Text help files for CONTAINS, FREETEXT, CONTAINSTABLE and so forth on MSDN and elsewhere, but I am not able to find the solution I am looking for. I would like to be able to query with the following criteria: Example…
CodeLikeBeaker
  • 20,682
  • 14
  • 79
  • 108
2
votes
0 answers

Using Bluetooth to Measure distance between android device and objects

I'm a beginner of android development and I'm currently under a project of doing some proximity work. Our aim is to measure the distance between an Android phone and an object using bluetooth technology. I did find some sample codes on stack…
Ray
  • 160
  • 1
  • 13
2
votes
1 answer

Extracting Distance from FacetWP Proximity Function to Display in Wordpress Template

I am quite new to Wordpress & Php coding in general, I have a relatively simple theme that I have been working with that contains a custom post type that stores latitude and longitude. Each post is a listing a hotel listing within a directory. The…
Paul Brown
  • 31
  • 4
2
votes
1 answer

Problems with multiple proximity alerts

I've found some threads related with multiple proximity alerts, but none of them solve my problem =( I've a class that creates multiple proximity alerts (this is the important code): public void activateAlerts(){ Database db = new…