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
4
votes
1 answer

Possible keys for AlternateIdentities in Peerfinder

I'm trying to get a hold on specific devices by using the PeerFinder class in Windows 8 / Windows Phone 8. Following the example as shown in the Build presentation: http://channel9.msdn.com/Events/Build/2012/3-047 I got the paired bluetooth devices…
la_fusion
  • 461
  • 3
  • 10
4
votes
1 answer

Is there a way to get the precise distance of a proximity sensor from an object?

I want to get the precise distance from the device's proximity sensor to live object. The only thing that I get is "0.0" - for near distance, and "8.0"/"7.0"(vary from on device to other) - for far distance. thats how I use to get the…
dor506
  • 5,246
  • 9
  • 44
  • 79
3
votes
0 answers

How to implement proximity search with dates in SOLR

I have an use case where I wanted to search a word nearby a date of a specific range in the file content.. Ex: Consider this document with content as "income tax for the period Jan 2011 to Jan 2012 amounted to $2,000" Now I have the query as "tax…
Kaleem
  • 41
  • 5
3
votes
2 answers

Proximity sensor not working with screen turned off?

Hy, I have a problem related to the proximity sensor. When I put the finger on it, I want to turn the screen off and when I take the finger, I want to turn the screen on. I successfully did the turning off part, but when I take the finger off the…
Andrei
  • 168
  • 1
  • 8
3
votes
1 answer

Does windows phone currently have APIs for proximity and light sensors?

Does windows phone currently have APIs for proximity and light sensors? I want to access these two sensors, but can not find the API. Is there some methods to use them ?
crypto__
  • 73
  • 8
3
votes
1 answer

Phaser 3: how to set the volume of an object depending on the distance from the player?

I'm programming a game with Phaser 3 where I have a moving cart. I added a sound for the cart but it can be heard as soon as the cart is put into motion, regardless of the player's distance from it. I'd like to set the volume of the cart in a way…
3
votes
1 answer

Lucene proximity search with boundaries?

Is there a way to perform a proximity search that is bounded, not by a fixed number of tokens, but by 2 marker tokens of some kind? For example, to implement proximity queries that are bounded inside as single sentence or paragraph? Obviously the…
Lilith River
  • 16,204
  • 2
  • 44
  • 76
3
votes
1 answer

iPhone proximity detection using wifi

As my iPhone automatically joins my home network once I get home and press the main button, I thought this could be used as a trigger for some home automation ideas I have, especially disarming the alarm system for example. I could detect the iPhone…
Robert
  • 31
  • 1
  • 2
3
votes
0 answers

How to detect type of proximity sensor - Infrared or not?

I have an app which relies on using an Infrared based proximity sensor. Since the Note 10, Samsung have been using virtual proximity sensors - that is, they don't use Infrared, but instead rely on a combination of light sensors, gyroscope,…
JCutting8
  • 732
  • 9
  • 29
3
votes
1 answer

Android Phones with enhanced proximity sensor

I currently use the proximity sensor of an HTC Wildfire phone. The problem is that it only returns a boolean value if there is an object within 1 cm in front of the sensor. So, I want to ask if there is an Android phone available in the market that…
JimmyD_84
  • 31
  • 3
3
votes
2 answers

Best way to deal with 900,000 record database and zip codes?

A company we do business with wants to give us a 1.2 gb CSV file every day containing about 900,000 product listings. Only a small portion of the file changes every day, maybe less than 0.5%, and it's really just products being added or dropped,…
Phil
  • 113
  • 4
3
votes
1 answer

Unlock Linux with Bluetooth low energy

Have you ever seen the apple watch unlock a Mac? The idea is amazing, but I don't want a smart watch because I already have a phone which has similar capabilities AFAIK. Also, I moved from OSX to Linux recently :) I don't know how the Apple watch…
sscarduzio
  • 5,938
  • 5
  • 42
  • 54
3
votes
0 answers

Solr proximity search with AND and OR

We would like to use this kind of query: "(BMW OR AUDI) AND (Diesel OR Petrol)"~20 What we are trying to achieve is this result: BMW or AUDI must be 20 words away from Diesel or Petrol. This query works fine, but without proximity: (BMW OR AUDI)…
Andrius G
  • 31
  • 1
  • 1
3
votes
1 answer

Windows Phone Write NFC Tag

I am trying to write/read some NFC tags using the ProximityDevice class on Windows Phone 8.1. This is the code that writes the tag... var dataWriter = new Windows.Storage.Streams.DataWriter(); dataWriter.unicodeEncoding =…
agolia
  • 207
  • 2
  • 11
3
votes
1 answer

Use Core Bluetooth instead of iBeacon - Any Downsides?

I am working on a project where I first wanted to advertise a device as an iBeacon and make it possible to connect to that device via Core Bluetooth at the same time. Besides the fact that this is not easily doable (a device cannot advertise as an…
BlackWolf
  • 5,239
  • 5
  • 33
  • 60