Using Intents in Tasker.... - Tasker Tips & Tricks

Can Someone please help me understand Intents... I want to create a Tasker profile that does an action when the volume up button is pressed and i found that button mapper pro has an option called "TASKER INTENT" upon clicking which... A toast displays copied to clipboard and the copied text is "buttonmapper.VOLUP_SINGLE_TAP" how can i perform an action when this so-called intent is sent/received... The TASKER userguide doesn't help...

See this G+ page New in Button Mapper: Tasker intents
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

[Q] Custom Key/Button Mapping ideas

Sorry for cross posting but I figured this is a relevant here as it is in the Vibrant section and not everyone from here checks there and vice versa.
I come from a G1 where the Dialer, the End Call, and the Camera all had dedicated buttons. I feel like the Captivate would be so much better if it had these. I'd like to develop an app or simply code something myself that we could flash as an update but I don't know where to start as I am not a developer though I wish I could be.
Pretty much this is how I would map everything:
Menu: Menu
(Long Press) = Dialer
Home: Home Screen
(Long Press) = Recent Applications
Back: Back
(Long Press) = End Call if making a call/Sleep if not in a call (Could possibly be Voice Search)
Search: Search Function
(Long Press) = End Call if making a call/Sleep if not in a call (Could possibly be Voice Search)
Power Button: Camera
(Long Press) = Power Options (Silent, Power Off, Reboot)
Note: If this is in the wrong section, I apologize and please move it. If you are a developer and like my idea, please to get to me as I'd like to work on it as a project. We could possibly sell it on the market and provide it for free for the people her on xda development.
You can edit the softkey functions in /system/usr/keylayout/melfas-touchkey.kl.
Just not long presses, those are handled by the kernel I believe.

Can't get AutoInput to register home button press

I am trying to get my phone to launch a custom menu when on the home page, and the home button is pressed. I have tried using both TouchTask and AutoInput to listen for a home button press, but without luck.
I have an unrooted Huawei Mate 9 Pro. The phone has a fingerprint reader as a home button, which may have an influence on the issue.
Any ideas as to how to do this?
That's because AutoInput has a global action for pressing home/back/etc. buttons.
Add task - Plugin - AutoInput - Global action (instead of action) - Configuration (press the pencil) - Action - Tadaaa
I think @wobster misunderstood the question.
Its Not about the action, Its about the home Button as a trigger.
Nevertheless have you solved this with autoinput? On my honor 9 the home Button (capacitive) is also not recognized by autoinput. Neither with it in the Profile detection nor in the logs within the App.
Personally, I think the easiest way to solve this problem is with nova launcher which allows you to set the action on home button presses including a taker task.
I haven't played with it, but it might be doable with auto input by changing the assistant used on a long press.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Operate 3rd party app via tasker

Hi
Iam a newbie,would like to know how would anyone be able to control/function a 3rd party app via tasker
So far i have used the app launch function within tasker to open up the app via tasker,but my next step is that i want to press a button within the 3rd party app via tasker.
This soft button can only be pressed once the app is opened?,does anyone know a work around?
Ashwee79 said:
Hi
Iam a newbie,would like to know how would anyone be able to control/function a 3rd party app via tasker
So far i have used the app launch function within tasker to open up the app via tasker,but my next step is that i want to press a button within the 3rd party app via tasker.
This soft button can only be pressed once the app is opened?,does anyone know a work around?
Click to expand...
Click to collapse
Try using autoinput.
https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput
AutoInput is a great solution.
If rooted, you can also use a run shell action. The command would look like "input tap 270 230" where 270 230 represents the location of the button. Turn on "show taps" and "pointer location" in developer options on your device to get the tap location. In the run shell action, make sure to check "use root".
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
AutoInput is a great solution.
If rooted, you can also use a run shell action. The command would look like "input tap 270 230" where 270 230 represents the location of the button. Turn on "show taps" and "pointer location" in developer options on your device to get the tap location. In the run shell action, make sure to check "use root".
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Thanks !

Open Google Slide presentation directly in presentation mode on a device

I have made a presentation in Google Slides which I show to people on my mobile phone every day using the Google Slides App. I have made a shortcut to the presentation on my home screen. When I press the shortcut it opens the Googe Slides App in edit mode. I then have to press the play button. Then I get a menu where I need to press Present on this device. The it will run my presentation in the presentation mode.
I'm a looking for a way to skip all this and make some shortcut to open my presentation directly in presentation mode. I can't find a way in the app to do this. Is this possible somehow? Maybe with tasker?
JW24 said:
I have made a presentation in Google Slides which I show to people on my mobile phone every day using the Google Slides App. I have made a shortcut to the presentation on my home screen. When I press the shortcut it opens the Googe Slides App in edit mode. I then have to press the play button. Then I get a menu where I need to press Present on this device. The it will run my presentation in the presentation mode.
I'm a looking for a way to skip all this and make some shortcut to open my presentation directly in presentation mode. I can't find a way in the app to do this. Is this possible somehow? Maybe with tasker?
Click to expand...
Click to collapse
The only thing Tasker will do for you is automate the touches required to go from edit to presentation. I'm not sure that really gets you anything.
I think the only way to skip edit mode is to publish the presentation to the web.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
In a task, add the Launch App action. In the app icon browser, long-click on Slides. There will be a lot of options. I don't use the program, but I know with maps you can go straight to the Navigate screen doing this. See if you can find the screen that starts in Present mode, or at least not Edit mode.

Google Screen Search on Tasker

While touching and holding Home button, the assistant pops up and asks whether to search for the contents on the screen. I am trying to get this action integrated into Tasker. But, I was only able to get the Google assistant to pop up and listen to my voice, it doesn't try to search for the screen contents.
I have attached the Screenshot when assistant was invoked using touching and holding Home button and using Tasker.
Please advise what I need to do to make Tasker promt "What's on my screen?" just like it asks when it is invoked using home button.

Categories

Resources