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

Analog/Digital data usage in java

Is there a way in java to get the input from say a proximity sensor which gives out analog/digital data and display it on the screen. If it does take analog/dital inputs how does one sync a hardware device such as a proximity sensor and java. Just…
gautam vegeta
  • 653
  • 6
  • 13
  • 28
0
votes
1 answer

How to use the proximity sensor as a way to dim the phone screen?

I know I should have code here but this is one of the cases where I dont have any. I am wondering how to get my phone to dim with out the use of an object in the proximity sensor... So if that made no sense I'm trying to make the proximity sensor's…
linuxrox
  • 139
  • 1
  • 12
0
votes
1 answer

Detecting iPhone using Android Bluetooth without discovery activated

I am trying to detect my iPhone on my Android 1.6 device using Bluetooth without interaction. I can do it when the iPhone is discoverable, meaning I have to interact with the iPhone, going through menus to Bluetooth section. For what I have searched…
Antoine
  • 480
  • 1
  • 4
  • 15
0
votes
2 answers

How can I make android react as in a call and the proximity sensor is triggered?

I have an application which makes VoIp call. During those call, I would like the screen to react exactly as it does during a normal call. That is, i want the screen to disable all events and turn off when the user triggers the proximity sensor. Of…
Jean-Simon Vaillant
  • 283
  • 1
  • 5
  • 14
0
votes
1 answer

Proximity Alert

I want to make an application for Android 2.2+, utilizing the GPS. Basically I want to be able to set a specific zone in the app, using google maps. Example: I am walking to the store, as soon as I am x (variable) meters away from my house I want an…
Druidys
  • 81
  • 3
  • 11
0
votes
1 answer

How do I more thoroughly access Android sensors?

I am trying to access the sensors (proximity and RGBW sensors specifically) on my Samsung Galaxy S3 and have gotten a code to run to access the proximity sensors. However, I am only getting the values 1 or 8 (near/far). I am aware that sometimes the…
veekta
  • 11
  • 4
0
votes
1 answer

Proximity Alerts using points stored in a KML file

I am currently working on an android application. I am trying to set up an proximity alert based on a set of coordinates that are stored in a kml file, parsed and displayed on a google map. I want to be able to track the users location and then when…
0
votes
1 answer

Control proximity sensor on Galaxy SII

The proximity sensor on Samsung Galaxy S II phone consists of infrared LED and IR sensor. Is it possible to control infrared LED of proximity sensor in an arbitrary way (to do a TV remote control or to transfer something via IRDA)?
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

Proximity feature in Android

I was wondering how Color(the flopped company)made use of proximity features they had enabled. From what I know it's different to Geolocation as such and uses as far as I'm concerned a different approach. I'm quite new to Android&Java coding and…
-1
votes
1 answer

Force Proximity Search into multiple word wordform?

I use Proximity to good use with Sphinx e.g. Twain NEAR/1 Mark will return Mark Twain and Twain, Mark But say I had a word form like: Weekday > Week Day How could I set any given search to use Proximity NEAR/3 (or NEAR/X) so it would find Week…
user3649739
  • 1,829
  • 2
  • 18
  • 28
-1
votes
1 answer

How to prevent proximity sensor from sleeping when the screen is off?

I am trying to make an application to switch on the screen when the hand is placed close to proximity sensor. However, the proximity sensor shuts down as soon as the screen is switched off. How do I prevent this?
-1
votes
1 answer

How do I toggle the torch light by using the proximity sensor?

So far in my code, I am able to turn on the torch light when the proximity sensor is enabled, but I am having trouble adjusting my code to make it so that when the proximity is disabled, the torch light turns off. func proximityChanged(notification:…
D.Khan
  • 1
  • 3
-1
votes
1 answer

Calculate speed using proximitiy sensor of Android

How can I calculate the speed of my hand when I move it close to the proximity sensor of Android? I mean how i calcul how much the time you put you hand in the sensor with ms not second --------- EDIT: I mean when i put my finger above the sensor…
Moudou
  • 33
  • 10
-1
votes
1 answer

How to use proximity sensor and audio manager to reduce volume in android device

I would like to implement a functionality in the app such that when user playing audio in his android mobile takes it nearer to his ear, volume should reduce and the audio should play through the earpiece. ( Similar way to what whats app doing when…
Jeeri
  • 484
  • 2
  • 7
  • 18
-2
votes
1 answer

How do i make an ultrasonic sensor trigger an LED to stay on until reset?

So, I know it's probably SUPER simple, but I'm new to arduino and I'm just drawing a blank. I'm making a motion detector with an HC-SRO4 ultrasonic sensor. Right now I have it set so whenever it senses an object within 60 cm, it turns on an LED…
dylnhrhr
  • 59
  • 4
1 2 3
30
31