Tasker to proximity screen off

If you are using proximity screen off pro or smart screen off, you may know how convenient it is to automate our lives via built-in proximity sensor.
Now I am going to show you how tasker done this job to replace proximity screen off pro.
Before all of it, just a reminder, you may go to tasker preference interface, and click on the tab of monitor, then pull down the screen, you will find the option for proximity sensor, “No” means proximity sensor will shut off when the screen turns off, back on when the screen turns on. I guess it might avoid any unnecessary loss for the sensor since you may prefer saving more battery.
Profile 1: (proximity screen off 1)
Context-state-sensor-proximity sensor
Action-variable-variable set-name %Proximity, to On
Exit action- variable-variable set-name %Proximity, to Off
Profile 2: (proximity screen off 2)
Context 1-state-sensor-proximity sensor
Context 2-state-display-display orientation, portrait # if you are playing some game which requires full screen in landscape, this profile would not interrupt.
Context 3-state-phone-call, type-any, invert # this action is to avoid the situation while incoming or outgoing call occurs.
Context 4-state-app-not camcorder, camera, flashlight # for some specific apps, you might not want to be interrupted as well. Eg. Like you are using flashlight.
Action 1-task-wait 5 seconds # give you 5 seconds to avoid some unexpected cases.
Action 2-display-system lock, if %Proximity~On # 5 seconds later if it is still being fired, then system lock the phone.

时间: 2024-07-29 02:27:50

Tasker to proximity screen off的相关文章

Tasker to proximity screen on

in my previous entry, i posed an idea how to use the built-in proximity sensor to turn the screen off and locked. hereinafter i will show you how to use it vice versa. Profile: (proximiy screen on) context1:state-sensor-not proximity sensor,context 2

Android manifest之manifest标签详细介绍

AndroidManifest详细介绍 本文主要对AndroidManifest.xml文件中各个标签进行说明.索引如下: 概要PART--01 manifest标签PART--02 安全机制和permissionPART--02.01 permission标签PART--02.02 permission-group标签PART--02.03 permission-tree标签PART--02.04 uses-permission标签PART--03 instrumention标签PART--0

Android manifest文件中的标签详细介绍

概要 每一个Android应用都应该包含一个manifest文件,即AndroidManifest.xml.它包含了程序运行的一些必备信息,比如: --为Java应用程序指定一个独一无二的名字. --描述程序所包括的成分,如activities, services, broadcast receivers和content providers等内容. --定义哪一个成分是主要的.比如主线程等. --声明程序正常运行所需要的权限.比如,读写SD卡等. --声明该程序的API Level,低于该API

Tasker : Task / Shortcut Widgets

Task / Shortcut Widgets The standard way of running a Tasker task is by attaching it to a profile which performs it when the profile becomes active. However, tasks can be directly assigned to icons on the home screen called Widgets or Shortcuts. Stan

Tasker : Scale Up/Down CPU Speed at Different Times

http://techsplurge.com/4926/android-awesome-15-tasker-profiles-tutorials/ Yeah I know, there’s SetCPU app for under/over clocking CPU but it cannot be used to scale up or down when specific apps are launched or during a certain time period. So here’s

强烈推荐:Android史上最强大的自定义任务软件Tasker

强烈推荐:Android史上最强大的自定义任务软件Taskerhttp://bbs.mumayi.com/thread-28387-1-1.html(出处: 木蚂蚁手机乐园) Android上的Tasker绝对称得上是Android系统的神器之一,与Auto Memory Manager不同,Tasker不是加速型的软件,而是系统增强型的软件,由于有众多系统状态可控制,故使得Tasker一跃成为Android系统中最闪亮的明星.但Tasker也无疑是最难使用的软件,由于可以控制的地方太多,反而让

Android4.4 无Proximity Sensor的设备拨号中实现自动灭屏

现在的电子产品越来越人性化,用户友好化,在给用户带来全新体验的同时,也在改变着人们的日常生活,所以说科技是伟大的,创新是伟大的. 随着移动设备的多元化发展,各种微型芯片的嵌入,使得它的功能越来越强大.比如各种各样的Sensor,最常见的一种是Proximity Sensor,现在的品牌机几乎都具备,也就是在打电话的时候,为了避免误操作,在电话接近耳朵的时候让手机处于灭屏状态,要实现这一功能使用Proximity Sensor是再好不过的了. 但是也有一些设备不具备Proximity Sensor

WhatsApp & Tasker for Android – Read & Write messages

WhatsApp & Tasker for Android – Read & Write messages The requirement for the automation is that, if I send a WhatsApp ‘wru’ message to the phone, it should respond back giving the location and battery level of my phone. It could be useful, if you

Tasker, Android系统增强神器, 变量汇总

http://tasker.dinglisch.net/userguide_summary.html#variables.html http://tasker.dinglisch.net/userguide/zh/variables.html 变量 变量是一种会随着时间发生改变的已命名的值,例如电池的电量级别,或一天内的具体时间. 当Tasker在文字中遇到变量名后,即可将该名称替换为相关变量当前的值,然后才执行对应的操作. 变量的主要用途 动态绑定:使用在创建任务时尚且未知的数据通过操作达到某