1. Are you ready for the Galaxy S20? Here is everything we know so far!

Help with profile

Discussion in 'Android Apps & Games' started by rvchaves, Aug 2, 2013.

  1. rvchaves

    rvchaves Lurker
    Thread Starter

    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
     


  2. KitWasHere

    KitWasHere Well-Known Member

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

    rvchaves Lurker
    Thread Starter

    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 :)

    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


    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]
     

Tasker

Tasker Forum

net.dinglisch.android.taskerm

⚙No repetitive tasks for you, let your Android device handle it!⚙
Total Automation, From Settings to SMS. Here are only some
of the things you could do with Tasker. Its real power is the flexibility to combine contexts and tasks however you wish: https://tasker.joaoapps.com/exampleuses.htmlAutomations
Make your phone a true smart
phone! Why remember to change the volume every day when you leave home when your phone can do it for you? Automate stuff based on the app you're in
, the time of day
, your location
, your Wi-Fi network
, Received SMS or Calls
, the currently playing song
and many other (130+) states and events! Check out how easy it is to create an automation: https://www.youtube.com/watch?v=s6EAbLW5WSkActions
350+ actions allow you to truly customize your phone like never before! Send SMS, create notifications, change almost any system setting like Wifi Tether, Dark Mode, Always On Display, change any volume, control Do Not Disturb, open apps, file manipulation, control music playback, get your location... you get the idea. If you can think of it, Tasker can probably do it for you! Note: root is NOT (I repeat NOT) required for majority of the functions.
However, a few of the actions (like the Airplane Mode action and the Mobile Data action on some devices) require root. Regarding those few actions that do require root, this is because of Android security policies that developers cannot work around. ☑ Other Triggers
Manually trigger your actions via launcher shortcuts, quick setting tiles, widgets, long-pressing volume buttons, media buttons (like the ones on your BT headsets or headphones), Bixby button, Navigation Bar, Notificaitons and more! ☑ Join - Remote Tasker
Adding Join (https://play.google.com/store/apps/details?id=com.joaomgcd.join) to the mix will even allow you to trigger tasks from another Android device or PC! ☑ Scenes
Design your own UI and use it to display any info you want or trigger any task! ☑ App Creation
Create your own standalone apps to share or sell with the Tasker App Factory (https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory)! ☑ Developer Friendly
A lot of 3rd party developers already allow you to perform actions in their apps and listen to their events/states through Tasker! Check out a list of plugins https://tasker.joaoapps.com/pluginlist.html. You can also call most of the Web APIs from Tasker with the powerful HTTP Auth and HTTP Request actions! Check out an example https://youtu.be/yAt2D1XmgUI. ☑ 7 day trial - one time payment to unlock
Get it here: https://tasker.joaoapps.com/download.htmlUseful Links
Starter Guides: https://tasker.joaoapps.com/guides.html Pre-made projects: https://forum.joaoapps.com/index.php?resources/ Official Support Forumhttps://groups.google.com/forum/#!forum/tasker Community full of people willing to help: https://www.reddit.com/r/tasker/ It's not possible to fix problems reported via Play Store Comments so please use the "Report Issue To Developer" option in the app > Menu to do so. Note
: Tasker uses the BIND_DEVICE_ADMIN permission in order to provide the System Lock functionality

READ MORE
February 15, 2020
Last Updated
4.4
Rating
1M+
Installs
Loading...
Similar Threads - Help profile
  1. BuddieGotti
    Replies:
    3
    Views:
    112
  2. Kharl
    Replies:
    1
    Views:
    187
  3. Charlie121
    Replies:
    7
    Views:
    318
  4. Ultrasavage
    Replies:
    0
    Views:
    42
  5. Lucc4
    Replies:
    0
    Views:
    142
  6. SamsunnyD
    Replies:
    2
    Views:
    297
  7. Unsmilingman
    Replies:
    1
    Views:
    176
  8. Michael Adonis
    Replies:
    9
    Views:
    457
  9. Nolan_B
    Replies:
    1
    Views:
    288
  10. devesh srivastava
    Replies:
    3
    Views:
    587

Share This Page

Loading...