Hi, I have created an alert on tasker that pops up and ask me if I want to turn the mobile data off.
When I press the button on the notification I created (the one I have marked on the image below) it turns the 4g off, but the notification stays there, while I want it to disappear after i clicked the action.
Can someone help me?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not sure what action you're showing, but there is a "Notify Cancel" action. I've used the "Notify" action with "Notify Cancel".
alluringreality said:
I'm not sure what action you're showing, but there is a "Notify Cancel" action. I've used the "Notify" action with "Notify Cancel".
Click to expand...
Click to collapse
The action is called "Alert" (its the first action you see in the menu).
Inside it there is "Vibrate alert" which i used for show the notification with the button.
I even tried to concatenate the "alert cancel" action, but it doesnt work....did i miss something? can you show me how to do that?
biondo_92 said:
The action is called "Alert" (its the first action you see in the menu).
Inside it there is "Vibrate alert" which i used for show the notification with the button.
I even tried to concatenate the "alert cancel" action, but it doesnt work....did i miss something? can you show me how to do that?
Click to expand...
Click to collapse
You can try this:
create a task, which has:
1. notify cancel: notification title
2. turn off data command
than have your button on the notification point to that task.
you can also try this indirect route:
create a profile, triggered by mobile network state
in the task of that profile, do the notify cancel.
alienyd said:
You can try this:
create a task, which has:
1. notify cancel: notification title
2. turn off data command
than have your button on the notification point to that task.
you can also try this indirect route:
create a profile, triggered by mobile network state
in the task of that profile, do the notify cancel.
Click to expand...
Click to collapse
I'll try the first route.
In the image I posted, which is the title of the notification? 4g off? Tasker? thanks
alienyd said:
You can try this:
create a task, which has:
1. notify cancel: notification title
2. turn off data command
than have your button on the notification point to that task.
you can also try this indirect route:
create a profile, triggered by mobile network state
in the task of that profile, do the notify cancel.
Click to expand...
Click to collapse
I tried, you cant link custom actions to the alert button...so if i press it, it turns 4g off, nothing more any other solution?
if I understand correctly, for the notification, you have something like:
notify:
Title: 4g off
Text: Spegnere 4g?
...
Actions:
SPECGNI 4G: Turn mobile data off
So instead of turning mobile data off, assign a Perform Task to that button, and point it to this task with the following:
1. notify cancel: notification title (4g off)
2. turn off data command
I hope that helps
alienyd said:
if I understand correctly, for the notification, you have something like:
notify:
Title: 4g off
Text: Spegnere 4g?
...
Actions:
SPECGNI 4G: Turn mobile data off
So instead of turning mobile data off, assign a Perform Task to that button, and point it to this task with the following:
1. notify cancel: notification title (4g off)
2. turn off data command
I hope that helps
Click to expand...
Click to collapse
How do I assign a "Perform Task" to the button? I can only see how to assign simple default actions, not custom :/
biondo_92 said:
How do I assign a "Perform Task" to the button? I can only see how to assign simple default actions, not custom :/
Click to expand...
Click to collapse
what I wrote above was on the interface of the notify action. Right where you assign the action for the button, choose Task/ Perform task instead.
Or are you using something else to create the notification?
alienyd said:
what I wrote above was on the interface of the notify action. Right where you assign the action for the button, choose Task/ Perform task instead.
Or are you using something else to create the notification?
Click to expand...
Click to collapse
If I press the button where you can assign the action for the button, I see this menu:
Which one is the button you said?
Many thanks, I cant figure it out...
biondo_92 said:
If I press the button where you can assign the action for the button, I see this menu:
Which one is the button you said?
Many thanks, I cant figure it out...
Click to expand...
Click to collapse
exactly, you choose Tasker, then Perform task
alienyd said:
exactly, you choose Tasker, then Perform task
Click to expand...
Click to collapse
If I choose Tasker, I see this menu, which doesnt show any "perform task", maybe traslations are bad.
Can you tell me which button it is?
Thanks...
oh no, I'm sorry, that's the sub menu of 'Tasker'. Please go into the 'Task", and you can find the perform task in the middle of the 3rd row
Seleziona Azione Task, I guess.
sorry again for the confusion.
alienyd said:
oh no, I'm sorry, that's the sub menu of 'Tasker'. Please go into the 'Task", and you can find the perform task in the middle of the 3rd row
Seleziona Azione Task, I guess.
sorry again for the confusion.
Click to expand...
Click to collapse
I just can't see what you are talking about...
I tried the "Activity" submenu (it can be a traslation for "Task") but it doesn't let me choose a task i created.
Can you post a screenshot of where you press, or edit the one I posted?
That would be helpful, thanks.
biondo_92 said:
I just can't see what you are talking about...
I tried the "Activity" submenu (it can be a traslation for "Task") but it doesn't let me choose a task i created.
Can you post a screenshot of where you press, or edit the one I posted?
That would be helpful, thanks.
Click to expand...
Click to collapse
there you go
alienyd said:
there you go
Click to expand...
Click to collapse
Ok i figured it out! Traslations changed from "task" to "activity" and got me confused.
Now i got it, many thanks!
Related
Dear All,
is there anyway we can make the ok button to close the applications instead of minimizing it.
Go to "settings">"system">"task manager">"button" and make your choice.
prubin said:
Go to "settings">"system">"task manager">"button" and make your choice.
Click to expand...
Click to collapse
sorry i was not clear, i mean the hardware button, not the one with the task manager.
I'd like this, too.
If you tap the X on the screen with your finger or stylus, it closes the app. If you press the OK button (much easier), the app keeps running
If you don't have it, AE Button Plus is a must have app. You can assign multi functions to every button. I have OK set to close, Plus double tap and tripple tap options to launch some apps.
I use AE button plus, and like it. But if all you need to do is close an app, you can do it with the phone completely stock just by clicking the end call button.
gwassef said:
sorry i was not clear, i mean the hardware button, not the one with the task manager.
Click to expand...
Click to collapse
You could try VJOkButt ,the author used to be very active on these boards, mapped to buton 4. I have not tried this on my Kaiser. It worked well on my Wizard but eventually got replaced by SmartsKey.
dscline said:
...if all you need to do is close an app, you can do it with the phone completely stock just by clicking the end call button.
Click to expand...
Click to collapse
You sure about that? I have a stock Tilt and that doesn't work. Task Manager shows the app is still running in the background.
KCMatt said:
...doesn't work. Task Manager shows the app is still running in the background.
Click to expand...
Click to collapse
I'm sorry, you're right. I had used that a few times before I loaded AE button, and my recollection was that it closed them. I see now that it just brings you back to the home screen. In that case, AE button is a good choice to accomplish what you want. And you can keep the stock functionality of the ok button, and put close on a double-click, or click-hold if you like.
Thanks alot for all your contributions, i will give it a try.
I wrote a MortScript that uses the MouseClick command to click in the upper right-hand corner, and then used AEBPlus to map the OK button to it. I had to map it to one of AE's virtual buttons first and then make the change in the standard Settings | Buttons.
greenbep said:
I wrote a MortScript that uses the MouseClick command to click in the upper right-hand corner, and then used AEBPlus to map the OK button to it. I had to map it to one of AE's virtual buttons first and then make the change in the standard Settings | Buttons.
Click to expand...
Click to collapse
If you already have AEBPlus, you don't have to do all that. It has a "close active application" command built in. You simply map whatever you want to that. I have it mapped to a press-hold of the OK button.
dscline said:
If you already have AEBPlus, you don't have to do all that. It has a "close active application" command built in. You simply map whatever you want to that. I have it mapped to a press-hold of the OK button.
Click to expand...
Click to collapse
That is the best solution. AEBPlus is a must have application.
dscline said:
I have it mapped to a press-hold of the OK button.
Click to expand...
Click to collapse
How have you done that?
dscline said:
If you already have AEBPlus, you don't have to do all that. It has a "close active application" command built in. You simply map whatever you want to that. I have it mapped to a press-hold of the OK button.
Click to expand...
Click to collapse
True, but I also use the script for other context-sensitive commands depending on the program (I use the same side OK button for "back" in PIE). Call me crazy.
athanaso77 said:
How have you done that?
Click to expand...
Click to collapse
If you have AEBPlus installed, you simply run it, select the button you want to change (in this case, button 4 is the OK button), click in the box down below the button selection, then in the first drop-down you tell it you want that button handled by AEBPlus, and in the second drop-down you select what type of keypress you want to assign (in this case, single press), and in the third drop-down, you select what you want a single press to do (in this case, "OK/Close", then go back to the second drop down and select "long press", and then back to the thrid drop-down and tell it what you want to do for a long press (in this case, "close active application"). Then just exit AEBPlus.
Thank you both (dscline & panosha) for the info !
Dinarsoft HandySwitcher
http://www.dinarsoft.com/handyswitcher/
The mother of Task Manager software & Button3.
Task Manager
Pretty.
Clean.
Don't show big options item menu.
Can add some addition item menu or none.
Click [x] button to really exit application.
Show real icon from running application.
Hardware button (Button3) can really exit application.
[ok] is ok.
[x] is really exit application.
I can sleep tight now after reaserch 8 hrs. and reading many articles here.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Since tasker can be complicated ive tried to make this as simple as possible even though it might not seem like it. This is my first tutorial so constructive criticism and comments are appreciated!
NOTE: If you dont know what Tasker is research it and what it does otherwise you wont understand this tutorial.
1. Setting up the first profile
A. Okay first we need to start a new profile in tasker by clicking "new" on the bottom.
Name it whatever you want or leave it blank.
Your first profile should look like this once completed:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Setting when your context so tasker will know when its supposed to do something
A. You want your context to be "received text".
Choosing through menus go to "Event>Phone>Received Text"
3. Setting up what tasker is supposed to do when the "conditions/context" are met
A. Next we need a task, name it whatever you want or leave it blank. Add a task by clicking the plus on the bottom left. When choosing actions you want to navigate to "Variable>Variable Set"
When setting up this variable, you want it to look like this:
Make sure there are spaces between the + and 1 and "Do Maths" is checked otherwise it wont display right.
4. Setting up tasker so it will send the sms count to Minimalistic Text widget
A. Add a 2nd task by clicking the plus on the bottom left. When choosing an action navigate to "Plugin>Minimalistic Text variable settings. The settings will show up, set them up like this:
Okay so we've set up a profile to add a 1 to the count everytime you have a new text. Problem is, we have to set up another profile to reset the count to 0 after youve read your texts
5. Setting up the 2nd profile so your sms app to reset the count to 0 when closed
A. Start a new profile, name it or not, and add a context of "Application>whatever messaging app you use here". I use chompsms so for me its "Application>chompsms".
It will look like this when completed:
B. Set up the new variable like so:
This will reset the counter to zero everytime you close out of your messaging app
EDIT: its also possible to have not have the zero displayed so theres nothing there. Instead of using "variable set" use "variable clear" with the variable your using.
THANKS: ayhaadam for reminding me of this
C. Add one more variable to have Tasker display it through Minimalistic text. Its the same set up as step 4A
6. Setting up minimalistic text to display tasker variables
A. Create a new minimal text widget on your homescreen/lockscreen and choose "custom layout". Add "Locale Variable" from Misc and set up the variable name to be % MNMLMSGCOUNT
NOTE: Minimal text will not add "SMS" or "MESSAGES" in front of the count. You have to manually add it with "Static Text" under Misc
Exapmles of how i use it:
Please leave questions or comments if you have them and since i did this on my phone i will check how it looks on a computer soon
Thanks: thedesolatesoul for explaining to me how to set this up! He should post a screen of his so we'll see how his is set up
Update 2-10
Missed Call Count: call count is achieved by following the tutorial and changing "MSGCOUNT" to "MISSEDCALL" and changing the 2nd profile app to phone
Update 2-11
Unread Email Count: this works with only K-9 since its open source. Same set up for sms count just different context "K9 Email Received" and different variable "%UNREADEMAILCOUNT". The 2nd profile context to set it to zero is app "K9"
thanks for the guide! this is wayy shorter than the other variants
i think a couple images are missing though
I appreciate you posting this.. always looking for new ways to use Tasker.. I've only scratched the surface so far..
Thanks guys! Ill add more pictures too
Do you have any other cool things you've done with Tasker?
rrambo said:
Do you have any other cool things you've done with Tasker?
Click to expand...
Click to collapse
Ive only used it for sms but you can use it for weather, call count, battery, just about anything
Great TUT, thank-you very much!
giank30 said:
Great TUT, thank-you very much!
Click to expand...
Click to collapse
No problem
Hi,
Awesome, I will try !!
Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?
( I am so sorry for my bad english, I hope you understand..)
Loam1990 said:
Hi,
Awesome, I will try !!
Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?
( I am so sorry for my bad english, I hope you understand..)
Click to expand...
Click to collapse
Try going into your sms app and then hitting home or back
Nothing happens
I don't understant, I did like you said
In minimalistic, it's writing : "SMS[LOCTV]
Loam1990 said:
Nothing happens
I don't understant, I did like you said
In minimalistic, it's writing : "SMS[LOCTV]
Click to expand...
Click to collapse
Did you set LOC to %MNMLMSGCOUNT?
In "Variable Name" ? I did..
Great post!
Loam1990 said:
In "Variable Name" ? I did..
Click to expand...
Click to collapse
Hmm im not sure. With the app profile make sure your variable is set "To 0"
It is in "To 0"...
Maybe I found the problem ! Tasker says me "no profil active", is it the problem ? How can I active my profil ?
Sorry for all my questions
Loam1990 said:
It is in "To 0"...
Maybe I found the problem ! Tasker says me "no profil active", is it the problem ? How can I active my profil ?
Sorry for all my questions
Click to expand...
Click to collapse
Haha its alright. Make sure all your profiles are checked on the right and in the bottom right make sure the on is green like so:
Then hit apply and it should work fine
I don't understand, everything looks good, but nothing happens ! I don't understand
Loam1990 said:
I don't understand, everything looks good, but nothing happens ! I don't understand
Click to expand...
Click to collapse
Do you have a task killer running? Im not sure if it matters with tasker but i always set it to "ignore"
Our next option - post your screens of your tasks from the task edit menu
Sent from planet earth
Nice work akoe...i like the direction this is heading in
Loam1990,
You need to break down what actually isnt working
First find out if the context is being triggered, then find out if the task is working, then find out why the variable isnt reaching minimalistic text
...and easy way to do this is go into the tasks you made for clearing the count, and press the 'Test' button at the bottom
If it works it means your tasks are fine and your context is wrong
otherwise your context is right but your tasks/variables are wrong
anyways...just wanted to post my screenshot too
I posted this earlier in the main HTC M8 forum bug list post and figured it belongs here instead because someone with the ATT version said they don't have that. This is something that I experienced before and after I rooted the Sprint M8.
Basically what happens is that once you enable the setting to long press home for menu under settings and try to use it, it just takes you back to your home screen every time. I was expecting this to be similar to the long press for menu setting the recent apps button had with the EVO 4G LTE.
Go to Settings > Display, gestures and buttons > Buttons - Home
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone else confirm?
Bachatu said:
I posted this earlier in the main HTC M8 forum bug list post and figured it belongs here instead because someone with the ATT version said they don't have that. This is something that I experienced before and after I rooted the Sprint M8.
Basically what happens is that once you enable the setting to long press home for menu under settings and try to use it, it just takes you back to your home screen every time. I was expecting this to be similar to the long press for menu setting the recent apps button had with the EVO 4G LTE.
Go to Settings > Display, gestures and buttons > Buttons - Home
Can anyone else confirm?
Click to expand...
Click to collapse
I thought this was just me. It's driving me crazy because I have no menu button.
Captain_Throwback said:
I thought this was just me. It's driving me crazy because I have no menu button.
Click to expand...
Click to collapse
I'm glad I'm not the only one! This has been driving me insane since day One. No pun intended.
I'm not sure how many people here had one but... this reminds of the quick launch WebOS introduced back with the Pre. I hope we are able to add more apps to the quick launch.
Same thing here, along with the unlock screen. You swipe up too low it brings up Google search or browser. Highly annoying
Yeah I'm going crazy over this too. I thought maybe something was supposed to pop up in the bubble along with the search icon when you hold the home button.
I'm sure we'll find a way to make a persistent menu button.
Sent From My HTC One!
schmeggy929 said:
Same thing here, along with the unlock screen. You swipe up too low it brings up Google search or browser. Highly annoying
Click to expand...
Click to collapse
Just swipe up without turning on the screen first. It turns on and unlocks the phone. No risk of accidentally going to Google and you save a step.
Neither setting in that section seems to have any effect as far as I can see. The home button always acts like "home" if you press and release, or press and hold, and even if you set "press and hold" to be Google Now, pressing and holding still simply acts like you just took a long time to release and it acts as a "home" button.
And, I haven't been able to figure out at all what the "Home double-click speed" setting even refers to.
I think the double-click speed refers to how quickly you need to double tap the screen while it's off to turn it on, maybe? Not sure why anyone would double-tap then swipe instead of just directly swiping, but whatever.
Sent from my 831C using xda app-developers app
It sounds like these are settings left over from the M7, which didn't have on-screen buttons and long press home was needed for menu and double tapping the home button was needed for recent apps. Sounds like they forgot to remove the setting when they switched to on screen buttons.
ahecht said:
It sounds like these are settings left over from the M7, which didn't have on-screen buttons and long press home was needed for menu and double tapping the home button was needed for recent apps. Sounds like they forgot to remove the setting when they switched to on screen buttons.
Click to expand...
Click to collapse
So if this is in fact the case, where is my Menu button? I can't get to the settings in ES File Explorer without a Menu button.
Captain_Throwback said:
So if this is in fact the case, where is my Menu button? I can't get to the settings in ES File Explorer without a Menu button.
Click to expand...
Click to collapse
The menu button shows up for me correctly in legacy apps. This is the correct behavior per http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html?m=1
If ES File Explorer is setting the SDK version to 11 or higher and not providing an action overflow or other on screen way to access the menu then that is a bug with that program.
EDIT: In ES File Explorer, click on the button in the upper right to slide out the "Fast Access" panel. There is a settings button at the bottom of the panel.
ahecht said:
The menu button shows up for me correctly in legacy apps. This is the correct behavior per http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html?m=1
View attachment 2661791
If ES File Explorer is setting the SDK version to 11 or higher and not providing an action overflow or other on screen way to access the menu then that is a bug with that program.
EDIT: In ES File Explorer, click on the button in the upper right to slide out the "Fast Access" panel. There is a settings button at the bottom of the panel.
Click to expand...
Click to collapse
Top left works too
schmeggy929 said:
Top left works too
Click to expand...
Click to collapse
You're correct, of course. When I was writing that I had already pressed the button, causing it to move to the upper right when the panel slid out.
Introduction:
So you have a Pebble and you love how you can check your emails and mute your boss's call without even looking at your phone?
It's all really cool, but if you're anything like me, that's just not enough. You want to do more with even less effort.
How can we expand the possibilities to near-infinity?
With the help of three awesome apps:
- Tasker [Paid]
- AutoPebble [Free/Paid]
- PebbleTasker [Paid]
Other apps mentioned in this guide:
- Canvas for Pebble [Free]
- Calendar for Pebble [Free]
Note: You can use the free version of AutoPebble, but Tasker is a must.
I believe most of you know how powerful tool Tasker is, so imagine all those possibilities on your wrist and let's do something practical:
The Basics of AutoPebble:
Every watchapp, that has a companion app or a settings in the Pebble app communicates through the Pebble app itself.
AutoPebble's purpose is to intercept and filter these communications right from Tasker and execute tasks accordingly.
My favorite feature is the ability to start watchapps on your Pebble.
One of my profile:
When I press button DOWN in Canvas it will load the Calendar watchapp.
1) To be able to load an app, we need to know the apps UUID (it's an id that is unique to every app):
a) start the AutoPebble app on your phone (you don't have to install the watchapp, it is for more advanced stuff) and make sure the "Automatically Detect" is ticked.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
b) now start the Calendar watchapp on your Pebble, AutoPebble should recognise its UUID.
c) in AutoPebble open "Manage Other Pebble Apps" and longpress on the new entry, it is convenient to rename it to Calendar, now longpress again and Enable it
(if AutoPebble doesn't recognise an app, you have to manually type in the UUID, Calendar's one is: b41e3dcf-6162-4147-9c58-643e1091fb93)
d) now you have to do the same with Canvas (it's UUID is 654db887-5135-4b22-be8b-2e1b5c0cb49d)
(you have to do this procedure for every watchapp you'd like to interact with)
2) Open Tasker and create a new task:
a) add an action to it: Plugin->AutoPebble App
b) click on Configuration and scroll down to Other Pebble App, choose Calendar from the list
c) click on Action and choose Open
Note: now if you execute the task, the Calendar watchapp should start on your Pebble
3) Check the buttons and values we want to trigger the task:
a) open AutoPebble app on your phone
b) check Log other Apps
c) go to Log Listing
d) press the button on your Pebble while in Canvas (Canvas' button's are 200 and values are CL_S1 for UP, CL_S2 for SELECT and CL_S3 for DOWN)
4) Open Tasker and create a new profile:
a) choose State->Plugin->AutoPebble Other App
b) click on Configuration
c) App: Canvas
d) Direction: Watch To Phone
e) Key Filter: 200
f) Value Filter: CL_S3
Important: to make this work, uncheck every watchface in the Canvas app, except the active one
Now if you press the DOWN button while in Canvas, Tasker will catch the command and launch the Calendar watchapp.
Additional notes: This only works with watchfaces that actually send commands to the phone and sadly the BACK button cannot be intercepted.
PebbleTasker:
PebbleTasker is a handy watchface, that lets you execute any Tasker task on your phone. I'm no Tasker guru, but I use it to mute my phone, turn on/off tethering, and launch more watchfaces.
If you launch the PebbleTasker app on your phone, you can assign 3 Tasker task to the three button and one-one to longpress UP/DOWN.
If you click on "More..." and "Select Tasks for menu" you can assign another 20 tasks to the list which comes up if you longpress SELECT.
Tip: If you create an AutoPebble App task with a "Key filter: 0" you can start Canvas (or anything) on a button press in PebbleTasker while the task is being executed on your phone.
Outro:
This guide only covers the very basics of these awesome apps, but if you grasp these concepts you can do pretty much anything Tasker can do without taking out your phone and make app switching on your Pebble more dynamic.
I hope you appreciate my guide and find it useful. :fingers-crossed:
Not so bright... I have the calendar on Pebble but can't do anything with it. This step:
d) press the button on your Pebble (Canvas' button's are 200 and values are CL_S1 for UP, CL_S2 for SELECT and CL_S3 for DOWN)
WHICH button on my Pebble?
@rogerperk:
The one you want to use to start calendar. It can be any one of the UP, SELECT, DOWN.
This step's reason is to see what commands the buttons in different watchapps send to the phone (or to check if they send any).
Erovia said:
@rogerperk:
The one you want to use to start calendar. It can be any one of the UP, SELECT, DOWN.
This step's reason is to see what commands the buttons in different watchapps send to the phone (or to check if they send any).
Click to expand...
Click to collapse
Yeah, that's what I thought. Can't seem to get it to work though. Let me try again... Can't get it to pull up though. I lose it at setp 4 - Create Another State.
@rogerperk: I've just realised I've made a few mistakes and corrected them.
Erovia said:
@rogerperk: I've just realised I've made a few mistakes and corrected them.
Click to expand...
Click to collapse
Well I must be doing something wrong because I get to step 3 (check buttons) and it doesn't work.
You have Canvas and Calendar in AutoPebble's "Manage Other Pebble Apps" list?
Are they enabled?
Is "Log other Apps" turned on?
Is there any info in the "Log listing"?
erovia said:
you have canvas and calendar in autopebble's "manage other pebble apps" list?
are they enabled?
is "log other apps" turned on?
is there any info in the "log listing"?
Click to expand...
Click to collapse
yes
yes
yes
yes. A bunch of in app licence success notifications.
@rogerperk: You have to be in Canvas to catch its button values.
Erovia said:
@rogerperk: You have to be in Canvas to catch its button values.
Click to expand...
Click to collapse
Maybe I"m missing something. I now have calendar and weather on my up and down buttons. But I thought they would open those programs from my main watchface, which is a Canvas face. Instead I have to go into PebbleTasker, through the menu, on my watch and activate them. Is that right??
PebbleTasker simply starts Tasker tasks on your phone. To be able to use the buttons we have to use AutoPebble.
Also, Canvas have to be installed as a watchapp, because watchfaces can't send commands to your phone.
Hi,
Kindly help me to automate this task using Tasker.
I am using Oneplus 3 with CM14.1. I have already created a task which automatically enables Wifi whenever I am near to home or office (using Cella near). That is working fine.
In my office, whenever we connect to WiFi, it is showing a notification asking to enter username and password. I have to enter the username and password every time when I disconnect and reconnect.
How can I automate this authentication process using Tasker?
These are the screenshots :-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Regards,
Vidya Sagar
nagurvidyasagar said:
Hi,
Kindly help me to automate this task using Tasker.
I am using Oneplus 3 with CM14.1. I have already created a task which automatically enables Wifi whenever I am near to home or office (using Cella near). That is working fine.
In my office, whenever we connect to WiFi, it is showing a notification asking to enter username and password. I have to enter the username and password every time when I disconnect and reconnect.
How can I automate this authentication process using Tasker?
Regards,
Vidya Sagar
Click to expand...
Click to collapse
I guess AutoInput can do this. Save your user name and password to a file on your phone. Let Tasker pull this information and AutoInput put it in there. That is what I would try to do.
Sent from my ONEPLUS A3003 using Tapatalk
Hi,
I am using Skype for business on mobile phone. If there is no activity for few minutes, status changing to "Away - Mobile". Can someone help me to create a profile which will refresh Skype for business app every 30 seconds. If I keep it active (navigating / taping), status is "available".
Please help me with step by step procedure for creating profile and task to achieve thks.
Regards,
Vidya Sagar
download autoinput.
click.
loogielv said:
download autoinput.
click.
Click to expand...
Click to collapse
Downloaded and tried. Not able to create tasks as required. I am looking for steps by step instructions.
I can't get AutoInput to work either.
But if you are rooted you can use just tasker. Then you dont have to install an extra app.
To do so create a task and add a Run Shell.
Check the button Use Root and under command you add:
Code:
input tap x y
input text login-name
input tap x y
input text login-password
input tap x y
With x and y being the coordinates of the fields where you tap. If you need to figure out these you can turn on pointer position under developer options.
That should work.
But remember that your password will be readable by anybody with access to your phone. Maybe you should lock tasker with a pin code, although that adds just a tiny bit of security.
hahamuntz said:
I can't get AutoInput to work either.
But if you are rooted you can use just tasker. Then you dont have to install an extra app.
To do so create a task and add a Run Shell.
Check the button Use Root and under command you add:
With x and y being the coordinates of the fields where you tap. If you need to figure out these you can turn on pointer position under developer options.
That should work.
But remember that your password will be readable by anybody with access to your phone. Maybe you should lock tasker with a pin code, although that adds just a tiny bit of security.
Click to expand...
Click to collapse
Thanks for reply. I guess, it works. I would like to know how to open web login page as soon as I connect to wireless network. Usually a notification appears as soon as I connect to wifi then I have to open the web login page from notification bar. How do I automate this as well?
Maybe AutoInput can help you. When the notification arrived AutoInput tap it and open the browser for you.
Sent from my ONEPLUS A3003 using Tapatalk
nagurvidyasagar said:
Thanks for reply. I guess, it works. I would like to know how to open web login page as soon as I connect to wireless network. Usually a notification appears as soon as I connect to wifi then I have to open the web login page from notification bar. How do I automate this as well?
Click to expand...
Click to collapse
Sorry kinda thought there would appear a popup window.
If you click on the notification and it opens in the browser, is there a link you could enter manually?
If so you could add another action to open the link. Use Net-> Browse URL to open the link and then do as I said before.
If there is no link you could add Display->Status Bar and select expanded. This will open your notification drawer and with another input tap you could select the notification. But that is getting kinda complicated , if the notification isn't always in the same place...
Kinda hard to figure out a good way, without being able to test it so maybe you have to tweak it a little.
R4V3N-2010 said:
Maybe AutoInput can help you. When the notification arrived AutoInput tap it and open the browser for you.
Click to expand...
Click to collapse
Will it perform the same action as a shell command or will it just open the link, without the need to emulate the swipe and click?
I am not sure how she'll comands works. I never used it. AutoInput will simulate the klick. Swiping are only available at Android 7 when I remember right. But the Klick on the notification opens the browser right? If so then you can have the login information stored in a file and copy and past it with AutoInput in. Then Klick login with AutoInput and you are done.
Sent from my ONEPLUS A3003 using Tapatalk
R4V3N-2010 said:
I am not sure how she'll comands works. I never used it. AutoInput will simulate the klick. Swiping are only available at Android 7 when I remember right. But the Klick on the notification opens the browser right? If so then you can have the login information stored in a file and copy and past it with AutoInput in. Then Klick login with AutoInput and you are done.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
The shell just pretends that the user tapped at the given coordinates, so the display has to be on and you can watch your device doing things. So I would guess AutoInput does the same, but without the need for root...
hahamuntz said:
The shell just pretends that the user tapped at the given coordinates, so the display has to be on and you can watch your device doing things. So I would guess AutoInput does the same, but without the need for root...
Click to expand...
Click to collapse
Yes exactly.
Sent from my ONEPLUS A3003 using Tapatalk
can this be done with HTTP GET or POST?