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
2 answers

Capturing mouse events outside wx.Frame in Python

In Python using wxPython, how can I set the transparency and size of a window based on the proximity of the mouse relative to the application's window, or frame? Eg. similar to a hyperbolic zoom, or The Dock in MAC OS X? I am trying to achieve this…
Edan
  • 593
  • 1
  • 8
  • 23
4
votes
1 answer

Simulate Proximity Sensor (iPhone)

Is there any way to simulate the use of the proximity sensor using the iOS simulator? I don't have the certificate yet to test on a device, so I need some way of simulating the proximity sensor returning yes or no for testing a function. So, can I…
Jtaylorapps
  • 5,680
  • 8
  • 40
  • 56
4
votes
1 answer

Prevent the iOS proximity sensor from turning the screen black

I've seen this question asked a couple of times but nobody has answered it - in fact it might be impossible, but I was wondering if there was a way to prevent the screen from going black when the proximityState changes on the iPhone? I have…
startuprob
  • 1,917
  • 5
  • 30
  • 45
4
votes
0 answers

toggling proximity sensor on iPhone loses an event

I'm using setProximitySensingEnabled and implemented proximityStateChanged in my UIApplication subclass. It looks like if sensing is toggled, that the first "off" event is being lost. My UIApplication class is pretty basic... …
slugolicious
  • 15,824
  • 2
  • 29
  • 43
4
votes
0 answers

Google Beacon API - Diagnostics Calls Fail

I am at a complete loss here...The two calls bellow are using the same service yet one works great the other fails...I was hoping another set of eyeballs might catch something I am doing wrong. On the google OAuth Playground they both seem to be…
4
votes
4 answers

How best to perform corridor range search over a set of latitude / longitude coordinates

What would be the best approach to finding the set of coordinates, from say about 5,00, which lie within a path of points, given a specified width. eg an aircraft following several waypoints. Is there a good way to also sort them in the same order…
hooli
4
votes
3 answers

Solr proximity ordered vs unordered

In Solr you can perform an ordered proximity search using syntax "word1 word2"~10 By ordered, I mean word1 will always come before word2 in the document. I would like to know if there is an easy way to perform an unordered proximity search, ie.…
Ruth
  • 5,646
  • 12
  • 38
  • 45
4
votes
1 answer

MySQL Function to Determine Zip Code Proximity / Range

I have been able to create php function to determine a list of zip codes within a certain range of a given zip code. However, my next task is a bit more complex. Lets say the table has the following…
user396404
  • 2,759
  • 7
  • 31
  • 42
4
votes
2 answers

iBeacon and WatchO2: does CoreLocation run from the Watch or the iOS device?

Does WatchO2 CoreLocation run from the Watch or the iOS device? I have made a sample app using WatchOS 1 and an iOS 8 device and noticed that the CoreLocation data that I was getting from the watch extension to get the proximity with the iBeacon…
mm24
  • 9,280
  • 12
  • 75
  • 170
4
votes
1 answer

Get Distance From CLProximity

i am developing a beacon detecting app using objective c and i am getting beacon value as follow CLBeacon (uuid:<__NSConcreteUUID 0x174223ee0> XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, major:0, minor:1, proximity:2 +/- 0.32m, rssi:-49) in this value i…
Kamal Upasena
  • 1,329
  • 4
  • 13
  • 38
4
votes
3 answers

Alert when two users/friends are near to each other - Android Proximity

I tried searching but i couldn't find anything. My Question is "How can i alert 2 or more users if they are nearby each other?" in android using Geo-fencing or something else. Say, If a UserA is in football ground and UserB walking nearby that…
Rafique Mohammed
  • 3,666
  • 2
  • 38
  • 43
4
votes
3 answers

How to know the closest iBeacon

I have a code to know which beacon is the closest, but I have a problem when a beacon's accuracy is -1.00000, the the app takes the second one. So there is a bucle that seek for the closest beacon looking for others and comparing the one closest…
Norolim
  • 926
  • 2
  • 10
  • 25
4
votes
2 answers

Is there any way to monitor user's movement of iphone like the "raise to speak" feature?

I want to get notified when the user raises the iphone to his face. Just like siri does. Is it possible? Add more specific requirement: I want to darken the screen when user put the phone near his ear. I know the Proximity Sensor can be enable to…
fantaxy
  • 221
  • 2
  • 8
4
votes
1 answer

Android: Proximity Alert and battery consumption

I could implement myself a proximity alert that will use requestSingleUpdate and sleep some time before requesting another update, according to the distance from the desired location. I would expect the OS to implement this exact behavior in the…
Mugen
  • 8,301
  • 10
  • 62
  • 140
4
votes
2 answers

Proximity search with Google maps

I'm developing a store location application. Looking up a store, it currently shows the location in googlemaps based on address and zip code. Now I want to build a function which also shows other shops within 500 meter radius. To do this, I have to…
Steven
  • 19,224
  • 47
  • 152
  • 257