> This does not seem to be working for me. To test I setup a profile with the context as described and made a new task that would simply create a popup notification with the %WIN variable as its text but no dice. I've checked my spelling, and everything else I can think of but can't seem to get it to work.
>
Do you mean you can't get a value for %WIN or that the value is always "maps" when you are in navigation?
For %WIN To work you need to select tasker and your Android accessibility settings..
In reference to detecting when you are in the navigation only A couple possible workaround would be..
1. If your phone is always docked when you're navigating you could check the orientation In combination with the window value.
2. You could use a tasker widget for taskcut to always start your navigation you wouldn't know you wanted navigation and not maps.
Can you explain how your setting up the Notification Intercept? I seem to be having trouble getting that sorted.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/NaOxiaDUb9g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
Ok, out of frustration trying to figure out why setting a context for %WIN~A Maps was not working I setup a scene with a button to create a pop up with the current %WIN value. But, it seems it only ever shows "Force Stop"... This does not seem like expected behavior.
--------------------
Profile: Car Settings (5)
State: Docked [ Type:Desk ]
Enter: Load Car Settings (6)
A1: Vibrate [ Time:200 ]
A2: Variable Set [ Name:%mediaVolume To:%VOLM Do Maths:Off Append:Off ]
A3: Media Volume [ Level:12 Display:Off Sound:Off ]
A4: Display Timeout [ Secs:* Mins:* Hours:* ]
A5: WiFi [ Set:Off ]
A6: Secure Settings [ Configuration:GPS Enabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
A7: Wait [ MS:0 Seconds:4 Minutes:0 Hours:0 Days:0 ]
A8: Load App [ App:Maps Data: Exclude From Recent Apps:Off ]
A9: Profile Status [ Name:Navigation Overlay Set:On ]
A10: Say [ Text:Car settings loaded! Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Continue Task Immediately:Off ]
Exit: Unload Car Settings (21)
A1: Vibrate Pattern [ Pattern:0, 100, 25, 100 ]
A2: Kill App [ App:Maps Use Root:On ]
A3: Display Timeout [ Secs:30 Mins:0 Hours:0 ]
A4: WiFi [ Set:On ]
A5: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A6: Secure Settings [ Configuration:GPS Disabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
A7: Media Volume [ Level:%mediaVolume Display:Off Sound:Off ]
A8: Say [ Text:Car settings unloaded! Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Continue Task Immediately:Off ]
Then here are the sub profiles that control the needed tasks.
--------------------
Profile: Navigation Overlay (22)
State: Profile Active [ Name:Car Settings ]
Enter: Load Nav Overlay (16)
A1: Show Scene [ Name:Navigation Overlay Display As:Overlay Horizontal Position:100 Vertical Position:100 Show Exit Button:Off Continue Task Immediately:On ]
A2: Profile Status [ Name:Nav Overlay Colorator Set:On ]
A3: Profile Status [ Name:Nav Overlay Speed Updater Set:On ]
Exit: Unload Nav Overlay (17)
A1: Profile Status [ Name:Nav Overlay Speed Updater Set:Off ]
A2: Profile Status [ Name:Nav Overlay Colorator Set:Off ]
A3: Destroy Scene [ Name:Navigation Overlay ]
A4: Profile Status [ Name:Navigation Overlay Set:Off ]
--------------------
Profile: Nav Overlay Speed Updater (9)
State: Profile Active [ Name:Car Settings ]
Enter: Nav Overlay Speed Updater (10)
A1: Variable Set [ Name:%MPH To:%LOCSPD * 2.2369 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%MPH Splitter:. Delete Base:Off ]
A3: Element Text [ Scene Name:Navigation Overlay Element:Text1 Position:Replace Existing Text:%MPH1 mph ]
A4: Wait [ MS:1 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: [X] Goto [ Type:Action Number Number:2 Label: ]
A6: [X] Stop [ With Error:Off Task:Nav Overlay Speed Updater ]
And, because of night mode for Navigation I have a profile for changing the color of the text in the scene.
--------------------
Profile: Nav Overlay Colorator (23)
State: Light Level [ From:0 To:0 ]
Enter: Nav Overlay Colorator (18)
A1: Element Text Colour [ Scene Name:Navigation Overlay Element:Text1 Colour:#FF00FF00 ]
Exit: Nav Overlay De-Colorator (19)
A1: Element Text Colour [ Scene Name:Navigation Overlay Element:Text1 Colour:#FF000000 ]
--------------------
Scene: Navigation Overlay
P:719x1279 L:1271x719
Element: Text1/Text
Geometry:
P:488,1079 208x79 L:904,619 220x99
Content:
Text: 0 mph
Text Size: 24
Text Width Scale Percent: 100
Text Colour: #000000
Position: Centre
Vertical Fit Mode: None
Text Format: Plain Text
Hope the above makes sense. Not sure of the best method to share things.
Forgot I removed something previously today.
I think I just found out that there is no way for me to intercept the notification because I'm not on Android 4.3 :-(
--
Samsung is claiming an update to the S3 and Note 2 are imminent but I'm on TMo, so I'll believe it when it happens. I'm already on a custom rom though. Tweaked 2.5, but its built on 4.1.2... I like it cause its mostly stock, minus the bloatware from TMo and still has TouchWiz and stylus support.
Problem is that now the speed update doesn't work. The task runs once an it stops and the speed is only updated once, when the scene is displayed.
Any idea what could have gone wrong?
Thanks!
Here are my profiles:
Profile: waze_speed (19)
Application: Waze
Enter: waze.speed (22)
A1: Get Location [ Source:GPS Timeout (Seconds):10 Continue Task Immediately:On Keep Tracking:On Continue Task After Error:On ]
A2: Show Scene [ Name:speed.waze Display As:Overlay Horizontal Position:185 Vertical Position:15 Animation:System Show Exit Button:Off Continue Task Immediately:On ]
A3: Profile Status [ Name:speed_update Set:On ]
Exit: no.speed (20)
A1: Destroy Scene [ Name:speed.maps ]
A2: Destroy Scene [ Name:speed.waze ]
A3: Profile Status [ Name:speed_update Set:Off ]
Profile: speed_update (17)
Priority: 7
State: Profile Active [ Name:waze_speed ]
Enter: speed.update (18)
<update>
A1: Variable Set [ Name:%Speed To:%LOCSPD * 3.6 Do Maths:On Append:Off ]
A2: Variable Split [ Name:%Speed Splitter:. Delete Base:Off ]
A3: Element Text [ Scene Name:speed.maps Element:Speed Position:Replace Existing Text:%Speed1 ]
A4: Element Text [ Scene Name:speed.waze Element:Speed Position:Replace Existing Text:%Speed1 ]
A5: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A6: Goto [ Type:Action Number Number:1 Label:update ]