Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Like Tree1Likes
  • 1 Post By KitWasHere

test: Reply
 
LinkBack Thread Tools
Old August 2nd, 2013, 12:04 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2013
Location: Brazil
Posts: 2
 
Device(s): Nexus 4
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Help with profile

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

Advertisements
rvchaves is offline  
Reply With Quote
sponsored links
Old August 2nd, 2013, 12:49 PM   #2 (permalink)
Member
 
Join Date: Mar 2013
Posts: 109
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 39 Times in 31 Posts
Default

State>Sensor>Orientation
KitWasHere is offline  
Reply With Quote
The Following User Says Thank You to KitWasHere For This Useful Post:
rvchaves (August 2nd, 2013)
Old August 2nd, 2013, 12:53 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2013
Location: Brazil
Posts: 2
 
Device(s): Nexus 4
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

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 ?
rvchaves is offline  
Reply With Quote
Old August 2nd, 2013, 05:43 PM   #4 (permalink)
Member
 
Join Date: Mar 2013
Posts: 109
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 39 Times in 31 Posts
Default

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
rvchaves likes this.
KitWasHere is offline  
Reply With Quote
The Following User Says Thank You to KitWasHere For This Useful Post:
D-U-R-X (August 3rd, 2013)
Old August 2nd, 2013, 06:49 PM   #5 (permalink)
Endeavor to Persevere :)
 
dustwun77's Avatar
 
Join Date: Feb 2010
Location: SC
Gender: Male
Posts: 4,786
 
Device(s): Note 3, Evo 4G LTE, Evo 4G retired.
Carrier: Not Provided

Thanks: 8,825
Thanked 2,838 Times in 1,784 Posts
dustwun77@gmail.com
Default

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....

Unfortunately, it isn't smart enough to program itself!
__________________
For good info about the Forum, Frequent Questions
And don't forget! The Rules
Want to join AF? Join Here
dustwun77 is offline  
Last edited by dustwun77; August 2nd, 2013 at 06:52 PM.
Reply With Quote
Old August 10th, 2013, 11:41 PM   #6 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,413
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,962 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Quote:
Originally Posted by KitWasHere View Post
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]
__________________




XplosiV is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:10 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.