How Can I Create A Widget That Closes Recent Apps? - Tasker Tips & Tricks

Hello,
How can I create widget "close recent app list" with tasker?ù
I know the command are input keyevent APP_SWITCH
input tap xxxx xxxx number.
thanks

linus2014 said:
Hello,
How can I create widget "close recent app list" with tasker?ù
I know the command are input keyevent APP_SWITCH
input tap xxxx xxxx number.
thanks
Click to expand...
Click to collapse
Can you be a little more specific? Are you trying to just close out of all of your recent apps?

In my device p8lite close recent app, first I press type recent button, after though verticals swipe close recent app.

DrGreenway said:
Can you be a little more specific? Are you trying to just close out of all of your recent apps?
Click to expand...
Click to collapse
input swipe x1 y1 x2 y2 i do not know where to take the value for vertical swipe

So if I understand correctly you're wanting to close only the most recent app that you have used and not all of them. If so, you might want to check out this reddit thread. I believe this will have the solution to your problem.
https://www.reddit.com/r/tasker/comments/1xn05u/use_tasker_to_close_app_as_though_it_was_swiped/

Now try thanks

DrGreenway said:
So if I understand correctly you're wanting to close only the most recent app that you have used and not all of them. If so, you might want to check out this reddit thread. I believe this will have the solution to your problem.
https://www.reddit.com/r/tasker/comments/1xn05u/use_tasker_to_close_app_as_though_it_was_swiped/
Click to expand...
Click to collapse
Not work, other solutions?

Use plugin AutoInput:
A1. AutoInput > Global Action > Recent Apps
A2. AutoInput > Click > Close All
Then just save the Task and create a Tasker homescreen widget for it. In A2 you may need to use AutoInput's Easy Setup mode to get the element_name/text for the Close All button on your device.

Ratchet_Guy said:
Use plugin AutoInput:
A1. AutoInput > Global Action > Recent Apps
A2. AutoInput > Click > Close All
Then just save the Task and create a Tasker homescreen widget for it. In A2 you may need to use AutoInput's Easy Setup mode to get the element_name/text for the Close All button on your device.
Click to expand...
Click to collapse
in my device I close recent app with vertical swiping, From the bottom to the top (p8lite)
can you tell me the procedure for A2

Related

Custom Function on Search key

is it possible to give the search hardware key another function?
for example an app?
or i would love to have the on/off screen rotation function on it.
there is an app in the market that allows this but it is limited. it can only program one app to it, but you can make it any app you want. I have it programmed to the screenshot app, so i can take screenshots anytime i want without having to go back to homescreen.
the app is called "Button Shortcut". Depending on the app you want, there may be specific search shortcut apps in the market. I have one called "Call Button" and this programs the search key to also bring up the dialer to make calls since our nexus does not have a physical button for dial.
yeah that app is cool, but it only replaces the long press function of the search key.
is it also possible to replace the normal click?
souljah2k said:
yeah that app is cool, but it only replaces the long press function of the search key.
is it also possible to replace the normal click?
Click to expand...
Click to collapse
Nope because the normal search screen can be handled by the active app.
I think in Cyanogenmod 7 you finally can do that.
l_Estat said:
I think in Cyanogenmod 7 you finally can do that.
Click to expand...
Click to collapse
in cm7, Settings > CyanogenMod Settings > Input.
You can set long press to custom application for the home and menu key
In addition, for the "search key" you can set custom app for both short & long key press.
For long press on Search button you can also use " LaunchKey " ... you can set any App you want or ... create a Menu of your favorite apps to lunch .
[email protected] said:
For long press on Search button you can also use " LaunchKey " ... you can set any App you want or ... create a Menu of your favorite apps to lunch .
Click to expand...
Click to collapse
i've tried this and it works. and if my memory is correct you can change long press and quick press to 2 different functions
Do yourself a favor and get Tasker. Binding the search button to pretty much anything you'd want is just one of about a billion things you can do with it. If you don't want to spend the money, you can try an app called AutomateIt. I haven't used that one as much as Tasker, but it has similar functionality.
Some of my Tasker tasks are:
Automatically turn on WiFi when I'm in my apartment
Turn off bluetooth when I disconnect my headset
Automatically turn on the GPS when I open Google Maps
Automatically start Pandora when I plug headphones in
You basically give it a trigger (app launching, button pressed, incoming call, etc) and a set of actions to perform when that trigger is hit.

Home Long Press Shortcut?

Does anyone know how to launch the Home Long Press via a shortcut?
Such as the direct "Activity" or "Intent"?
Or even a "Launcher Pro Shortcut"?
I belive the home long press is inaccesible to regular apps.
It's a system function.
JCopernicus said:
I belive the home long press is inaccesible to regular apps.
It's a system function.
Click to expand...
Click to collapse
What if you have root?
It's possible with Cyanogenmod6 rom.
Sent from my Nexus One
nxt said:
It's possible with Cyanogenmod6 rom.
Sent from my Nexus One
Click to expand...
Click to collapse
Ok....
....
...
...
...
How?
Menu / settings / cyanogenmod settings / input settings / long press home / check the box "custom application"
Sent from my Nexus One
Oh wait, you want a shortcut icon of long press home. Sorry read your question wrong
Sent from my Nexus One
nxt said:
Oh wait, you want a shortcut icon of long press home. Sorry read your question wrong
Sent from my Nexus One
Click to expand...
Click to collapse
Right. Open the Recent Apps list via a shorcut (ie without long pressing the Home button).
yeah, i want to know if there is a way to do it on Enom
Figure out how to run package:android recent_apps_dialog maybe?
evilkorn said:
Figure out how to run package:android recent_apps_dialog maybe?
Click to expand...
Click to collapse
Hmm, it's a start
The latest ADW launcher lets you crate a 'custom shortcut'. Not only to customize the icon, but it lets you pick from all callable activities it sees. Even specific activities inside an apk. Try looking through those to see if the recent activities activity is there.
Clarkster said:
The latest ADW launcher lets you crate a 'custom shortcut'. Not only to customize the icon, but it lets you pick from all callable activities it sees. Even specific activities inside an apk. Try looking through those to see if the recent activities activity is there.
Click to expand...
Click to collapse
What about for LauncherPro?
You can try Visual Task Switcher from the market. There is a free ad supported and paid ad-free version. You can set that app on your homescreen and when you click it it comes up on your screen with your opened apps... and if you have more than 9 opened you can scroll to the side to see more. It's not perfect, but I think if the dev keeps working on it, it's a great option.
lostinbeta said:
You can try Visual Task Switcher from the market. There is a free ad supported and paid ad-free version. You can set that app on your homescreen and when you click it it comes up on your screen with your opened apps... and if you have more than 9 opened you can scroll to the side to see more. It's not perfect, but I think if the dev keeps working on it, it's a great option.
Click to expand...
Click to collapse
Way ahead of you Tried it, but didn't like it. (link)

How to assign quicklaunch shortcut keys?

As the title asks. GB had an option in Settings. But ICS doesn't. Anybody know how to assign different quicklaunch?
badboi_zero said:
As the title asks. GB had an option in Settings. But ICS doesn't. Anybody know how to assign different quicklaunch?
Click to expand...
Click to collapse
Do you mean the double-click on Home button shortcut? That has been moved to the Accessibility section of the config. Otherwise I'm not sure what you are referring to.. so hope this helps!
I think he may be referring to the search+"*" like search+y used to bring up YouTube... I remember there being a topic on this in soak test but I do not recall the solution...
Sent from my DROID4 using xda app-developers app
This was the workaround for the droid 3, but I believe it will work for the droid 4 also.
Nevermind I figured out a workaround via Google. Pain in the ass there has to be a way to unhide it but if anyone is interested the steps I took were...
1. Must be using either nova or apex launcher
2. Long press on home screen and select shortcuts
3. Select activities (for whichever launcher you are using nova or apex)
4. Scroll down and select settings
5. Scroll down and select Quick Launch (the first one) and it should create the shortcut icon on your desktop
The shortcut takes you to the old quick Launch menu that allows you to assign the keys but I don't know where Google hid it thru the regular menu. Hope this helps anyone as much as it's gonna help me if not then what the hell you read it for? Lol
Click to expand...
Click to collapse
Yes it indeed does work. Thank you.

[solved] button functionality

i used to have the back button- if you long press it would kill the foreground app. why does this not work anymore? i found some options for long pressing the home button but i could not get it to kill the foreground running app.. besides i want it to work like it used to with the back button help pls.
This is a CM feature... search it in your CM settings.
GreatApo said:
This is a CM feature... search it in your CM settings.
Click to expand...
Click to collapse
ok i fount it just now
Settings > Applications > Development > Stop app via long-press

Is there an app like a floating toolbar that would allow me to go home

without having to press the physical home button? I know I've seen the thread somewhere but cant find it. Just wanted input and recommendations for one of the better toolbar apps.
SysAdmNj said:
without having to press the physical home button? I know I've seen the thread somewhere but cant find it. Just wanted input and recommendations for one of the better toolbar apps.
Click to expand...
Click to collapse
Settings- accessibility- Dexterity and Interaction - Assistant Menu
ThC23 said:
Settings- accessibility- Dexterity and Interaction - Assistant Menu
Click to expand...
Click to collapse
Not the most attractive square lol, but thanks. Are there 3rd party apps as well?
Not sure, I'm sure there might be a few. But I haven't used any
Side key panel. You can activate it in the quick settings

Categories

Resources