Help with profile


  1. rvchaves

    rvchaves New Member

    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

    Advertisement
  2. KitWasHere

    KitWasHere Well-Known Member

    State>Sensor>Orientation
    rvchaves likes this.
  3. rvchaves

    rvchaves New Member

    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 ?
  4. KitWasHere

    KitWasHere Well-Known Member

    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
    D-U-R-X likes this.
  5. dustwun77

    dustwun77 Endeavor to Persevere :) Guide

    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! :)
  6. XplosiV

    XplosiV Master X is Watching You VIP Member


    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]

Share This Page