• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help with profile

rvchaves

Lurker
Hello guys

My nexus 4 screen has broken and i changed it.
After this, my proximity sensor is always activated.
Already assembled and disasembled several times and apparently is really dead. Always when i enter in call mode my screen goes off.

So i need to create a "proximity sensor" with tasker.

First I need is to deactivate my proximity sensor.
Then when i enter in call mode (making a call or receiving a call)
- If phone is in "up position", turn off the screen
- If phone gets out of "up position", turn on the screen

Can I do that ? I just dont know what i have to do.

Thanks in advance
 
OK, that i've already seen. But how can I do to identify that the phone is in "Position Up" + Call Mode, and after that Turn the screen off, and after that turn the screen on ?
 
New profile
2 Contexts:
1: State>Sensor>Orientation---Is: Standing Up
2: State>Phone>Call---Type: Any
1 Action:
Either A) Display>System Lock
or B) Plugins>Secure Settings>Lock Device


One more profile
2 Contexts:
1: State>Sensor>Orientation---Is: Standing Up --- Inverted:Checked
2: Phone>Call---Type: Any
1 Action:
Either A)Display>Turn On
or B)Plugins>Secure Settings>Wake Device
 
Too cool. I keep telling myself I need to get some use out of tasker, since I bought it.

Problem is, it is way smarter than I am.... :p

Unfortunately, it isn't smart enough to program itself! :)
 
New profile
2 Contexts:
1: State>Sensor>Orientation---Is: Standing Up
2: State>Phone>Call---Type: Any
1 Action:
Either A) Display>System Lock
or B) Plugins>Secure Settings>Lock Device


One more profile
2 Contexts:
1: State>Sensor>Orientation---Is: Standing Up --- Inverted:Checked
2: Phone>Call---Type: Any
1 Action:
Either A)Display>Turn On
or B)Plugins>Secure Settings>Wake Device


Or you could exit task the action the second profile, into the first profile. As both contexts have to be met to activate the task, as soon as call type:any returns the hang up of the call, the exit task should kick in.


2 Contexts:
1: State>Sensor>Orientation---Is: Standing Up
2: State>Phone>Call---Type: Any
1 Action:
Either A) Display>System Lock
or B) Plugins>Secure Settings>Lock Device

Exit task:
1 Action:
Either A)Display>Turn On
or B)Plugins>Secure Settings>Wake Device[/QUOTE]
 
Back
Top Bottom