StopSwitchDelay - Remove 5s Delay To Open Apps After Pressing Home Button - Xposed Framework Modules

Introduction
This is a very simple module that removes the 5 seconds delay preventing you from opening apps (other than from the launcher) after pressing the home button.
More detailed explanation | Even more detailed explanation
Requirements:
Xposed Framework
Source:
https://github.com/GermainZ/StopSwitchDelay
Download:
http://repo.xposed.info/module/com.germainz.stopswitchdelay
Thanks:
rovo89 and Tungstwenty for the Xposed Framework.

Im not sure what kind of delay are you talking about?

pitastrudl said:
Im not sure what kind of delay are you talking about?
Click to expand...
Click to collapse
After pressing the home button, there's a five seconds delay set by Android.
During that time, if an activity (e.g. Switchr) tries to start another activity, that action will be delayed. On KitKat and higher, I think it shows you a warning when that happens (a "Loading app..." toast.)
(The delay is reset when you open an app from the launcher or task switcher, too)
If you've never encountered the issue then you most likely don't need this module.

GermainZ said:
After pressing the home button, there's a five seconds delay set by Android.
During that time, if an activity (e.g. Switchr) tries to start another activity, that action will be delayed. On KitKat and higher, I think it shoes you a warning when that happens (a "Loading app..." toast.)
(The delay is reset when you open an app from the launcher or task switcher, too)
If you've never encountered the issue then you most likely don't need this module.
Click to expand...
Click to collapse
Now that you mention it, i have encountered a problem like that, but i've only seen it in a few apps. Also while using switchr, the problem occured randomly(or so it seemed). an example for the app is Castle Clash. But I do not recall a toast showing "loading app". Would the delay also apply to Tasker? I will try out the module and report. Maybe the problem is fixed in a custom rom im using(Slimkat, AOSP).

@GermainZ can we get gingerbread support plz?

So that is what has been driving me crazy and I had no idea. Seemed like lags and hangs. Thanks!

Sounds Great!!
I'm using side bar app to open some apps and I have encountered that many times but I didn't know it's concerning with home button and I thought it was just a bug of the sidebar app!! Great!! However, can't be that was added in Android OS originally due to necessary?? Any Risks after this module??

killoid said:
@GermainZ can we get gingerbread support plz?
Click to expand...
Click to collapse
Should work fine on Gingerbread, I'll lower the SDK version later.
Soe Min Thu said:
However, can't be that was added in Android OS originally due to necessary?? Any Risks after this module??
Click to expand...
Click to collapse
I can't see any. If a malicious app wants to override your home button this way it could use a background service to bypass the delay anyway. As to why it was added, ask the Google engineers.

GermainZ said:
After pressing the home button, there's a five seconds delay set by Android.
During that time, if an activity (e.g. Switchr) tries to start another activity, that action will be delayed. On KitKat and higher, I think it shoes you a warning when that happens (a "Loading app..." toast.)
Click to expand...
Click to collapse
As a long time user of SwipePad I know this delay and connected toast message very well. Thank you for this module!
GermainZ said:
As to why it was added, ask the Google engineers.
Click to expand...
Click to collapse
Normally Android system force a 5s delay after you click the home button in order to give home application some priorities to finish switching. But I think that 5s was huge overkill on any today's decent hardware.

killoid said:
@GermainZ can we get gingerbread support plz?
Click to expand...
Click to collapse
I've lowered the minSdkVersion to support Gingerbread, please test it.

GermainZ said:
I've lowered the minSdkVersion to support Gingerbread, please test it.
Click to expand...
Click to collapse
it worked flawlessly! thank u for this! :good:

Wow! This should be in Android by default, now task switching is much faster! Big thanks.
Wysłane z mojego C6603 przy użyciu Tapatalka

And here I thought it was random OS lag. THANK YOU.

thanks for this! works amazing on my Note3

This is awesome, and so are you Germain. Thanks a ton

Fantastic module, thanks!!!

Yes thank you for this useful module (using it with Switchr)

wow this is a great module.
switching is pretty fast now with this module + switchr on my nexus 5..
pretty awesome work I would say.
Thanks for this.
ALL HAIL XPOSED!!!
edit: posted it in /r/xposed and /r/android of reddit (can't contain my happiness!)

Awesome work GermainZ! I didn't even know this was an 'intentional' feature. Ah well, no more "Loading App" toast for me

This is amazing! I had no idea why I had a delay when opening apps. Thanks for creating this!

Related

Sense 4.1 on Incredible 4G

Just read about this ROM for the One X and was wondering about anyone elses thoughts on it.
ragnarokxg said:
Just read about this ROM for the One X and was wondering about anyone elses thoughts on it.
Click to expand...
Click to collapse
sense 4.1 isnt the change that say sense 2.1 to 3.0 or 3.0 to 3.5 was
its incremental bug fixes really...many of the bugs are fixed by custom roms anyway
nitsuj17 said:
sense 4.1 isnt the change that say sense 2.1 to 3.0 or 3.0 to 3.5 was
its incremental bug fixes really...many of the bugs are fixed by custom roms anyway
Click to expand...
Click to collapse
watching the video, it seems quick settings are back, it's the version that mik made, idk if football added it in or htc?
I really want to change my recent apps button to be used as a menu button. Every single app has the 3 dots in a different place. I want to able to press a single button in a centralized place and have the same action occur across every app. It's dumb they would get rid of that. Quick Settings aren't bad, either.
andybones said:
watching the video, it seems quick settings are back, it's the version that mik made, idk if football added it in or htc?
Click to expand...
Click to collapse
It is also supposed to be silky smooth and allow for lag free movement with live wallpaper. And by what I saw on the video it looks very promising.
Sent from my ADR6410LVW using xda app-developers app
IceDragon59 said:
I really want to change my recent apps button to be used as a menu button. Every single app has the 3 dots in a different place. I want to able to press a single button in a centralized place and have the same action occur across every app. It's dumb they would get rid of that. Quick Settings aren't bad, either.
Click to expand...
Click to collapse
are you rooted?
andybones said:
are you rooted?
Click to expand...
Click to collapse
Unfortunately not.
IceDragon59 said:
I really want to change my recent apps button to be used as a menu button. Every single app has the 3 dots in a different place. I want to able to press a single button in a centralized place and have the same action occur across every app. It's dumb they would get rid of that. Quick Settings aren't bad, either.
Click to expand...
Click to collapse
I agree with this 100% :good: the "Settings" button is one of the most used buttons, and having it bounce around is a real PITA.
IceDragon59 said:
I really want to change my recent apps button to be used as a menu button. Every single app has the 3 dots in a different place. I want to able to press a single button in a centralized place and have the same action occur across every app. It's dumb they would get rid of that. Quick Settings aren't bad, either.
Click to expand...
Click to collapse
Email or otherwise contact the developer of the app and tell them to upgrade them to the new standard. Once they do that it will get rid of the 3 button bar at the bottom of the screen and settings should be in the right location.

home button

when you hold the house/home button a google icon pops up, is there any way to edit this menu & add custom apps pls?
custom roms
im_cannonfodder said:
when you hold the house/home button a google icon pops up, is there any way to edit this menu & add custom apps pls?
Click to expand...
Click to collapse
as far as i know, it is possible in custom roms such as aokp and such
hassanman1997 said:
as far as i know, it is possible in custom roms such as aokp and such
Click to expand...
Click to collapse
ah ok thank you. stupid waste of a button if all you can have is google, & absolutely ridiculous you've got to hack your hardware to edit a menu option. guess they are continuously trying to remind us that the hardware we purchase is actually theirs, it wont be long before modifying your systems is criminal & punishable by 10 years in prison for blocking a few adds or is that the nsa/gchq!
im_cannonfodder said:
ah ok thank you. stupid waste of a button if all you can have is google, & absolutely ridiculous you've got to hack your hardware to edit a menu option. guess they are continuously trying to remind us that the hardware we purchase is actually theirs, it wont be long before modifying your systems is criminal & punishable by 10 years in prison for blocking a few adds or is that the nsa/gchq!
Click to expand...
Click to collapse
Thanked wrong lol
That feature is there because Google implemented it in AOSP code. Sony works over that, and they do not remove stuff like that...
Sent from my SGP311 using Tapatalk
On my Z1 I managed to remove that "Google Now / Google Search" thingy normally appearing after a long hold of the home icon.
I went into configuration / apps / all (translated from German model) and deactivated "Google Search".
My personal device usage revealed no drawbacks so far.
itsjustmeagain said:
On my Z1 I managed to remove that "Google Now / Google Search" thingy normally appearing after a long hold of the home icon.
I went into configuration / apps / all (translated from German model) and deactivated "Google Search".
My personal device usage revealed no drawbacks so far.
Click to expand...
Click to collapse
It's an option, but it disables the app as a whole. That's not exactly a solution...
Sent from my SGP311 using Tapatalk

[MOD][XPOSED][4.1+] MenuBeGone

Replaces the menu button with the multitasking switcher
Forces the apps to show the on screen menu button
This is my first xposed module (was intended as a hello world).
Xposed repo: repo.xposed.info/module/ro.epb.menubegone
Play store: play.google.com/store/apps/details?id=ro.epb.menubegone
For screenshots please check the play store page.
Known issue: bad layout in dialer on some touchwiz devices caused by onscreen menu button
bug screenshot: i.imgur.com/H5mZzva.png
Can you guys get around the above problem by removing the dialer/contacts app from the action overflow whitelist ? if yes please tell me and I will push an update to make it easy to blacklist by default.
Sorry for the badly formatted links but XDA dosen't allow new accounts to post formatted links ?!
I love this mod.
Yes, adding the following to the overflow menu white list fixes the bug on 4.3 TouchWiz:
Phone
Contacts
I had a hard time to do this though since the applications were not in any particular order. Hope this helps.
Works perfectly in my note 2 dn3 RC2 ROM
Thanks for dev
what about apps that dont have 3dot menu button? how to access menu if the menu button became recent app button?
mtxx1 said:
what about apps that dont have 3dot menu button? how to access menu if the menu button became recent app button?
Click to expand...
Click to collapse
By default, you can press and hold the menu button to access the menu with this Xposed module active.
On galaxy note, it work perfect when perform one click to open task, manager.
But problem in opening menu when long press the button. It will keep show and hide the menu when keep press the button.
And, if only press for 3 seconds. The menu appear and once release button it disappear.
I believe this thread is rarely visited and checked by the author of the module. I think it's better if we post our concerns in the official support discussion thread according to the description here:
http://www.reddit.com/r/Android/comments/23dcml/xposed_menubegone_updated_with_community_feedback/
distorts the contacts page .... mysteriously on KK note 3.
fivezan said:
distorts the contacts page .... mysteriously on KK note 3.
Click to expand...
Click to collapse
Yes, it does. You need to whitelist "Phone" and "Contacts" from MenuBeGone's UI. That did the trick on my device.
oreo27 said:
I believe this thread is rarely visited and checked by the author of the module. I think it's better if we post our concerns in the official support discussion thread according to the description here:
Click to expand...
Click to collapse
I lurk all threads Will provide an update that detects if device is running touchwiz and blacklist based on feedback.
For now I will blacklist Phone and Contacts packages.
adi1133 said:
I lurk all threads Will provide an update that detects if device is running touchwiz and blacklist based on feedback.
For now I will blacklist Phone and Contacts packages.
Click to expand...
Click to collapse
Lol. :good: Sounds good. Honestly, that's the only thing I can think of for you to change. Or maybe give an option on how long we should press and hold the menu button for the menu to show up instead.
Thanks for the mod. :laugh:
Not working perfectly
See the attachments. Im on jellybean 4.2.1 I am using 1.2b version of your module.
When i press menukey it shows recent apps like in Gingerbread. Please fix it !
Issue with Samsung S3 stock ROM 4.3
Thanks for the module, Helped a lot. :good:
I have another problem, can anyone please fix this.
After applying the module there is space for NavBar, but there are no icons( I can get them though).
Dock icon labels are also gone. Can anyone help me get the original look back with icon label and less space.
Please look at attachment.
Black bar in the dialer
Thank you very much for this awesome module
Here is the only problem I have on Galaxy S4 mini. As you mentioned it this module doesn't work well with the dialer.
I'm getting a black bar at the bottom of the Keypad and only Keypad !,, All the other tabs in a dialer, like Logs, Favorites and Contacts look good.
Work on my note 8 !
very very Thanks a lot.... :good: :good: :good:
Showing "Recents", not "Task Switcher".
Hello sir. Thanks for your helpful module. But I am having problem on my device. I am using Vega IM-A760s. When I press menu key, it shows the "Recents" screen, not the "Multitasking" screen (as in the attachments). Can you help me to solve this. Thanks.
Great module. Two issues:
1) On the GS4 running Lollipop, the dialer has a problem:
If I try to uncheck Phone and Contacts from the whitelist, there is no effect.
2) Would it be possible to search through the whitelist or sort the whitelist alphabetically? Useful when I have 300+ apps on the list.
Thanks!
Not sure if this mod is still being developed or not but I have installed it on my Samsung Galaxy S4 and works great apart from when I watch videos on MX Player.
In MX Player you can lock the screen while watching a video and disables the hardware buttons. I have found that the menu key still works despite the screen being locked.
Is there any chance this can be fixed?
Hi, can't help but noticed that there's a slight delay when I pushed the recent button. Looks a lot like home button delay with S-Voice. Might be related with Talkback app. Settings> Accessibility> Dexterity & Interaction > Tap & hold delay. Lowest setting is 0.5.. any way to change the value?

[MOD][XPOSED] Disable keyboard auto pop-up

Stop the keyboard opening itself when you open an app containing text fields
Download at the repo
enjoy!
Awesome thanks, that keyboard popup tends to annoy the crap out of me. I'll check this out.
Now I just wish I could find a mod which disables the unbelievably annoying and useless "continue searching for network" popup dialog which shows up every 30sec when I lose signal (riding the tunnel transit etc) on my S4. If anyone knows how to disable that let me know!
Nice module ! was looking for this for a long time
The keyboard however doesn't disappear automatically anymore when returning to home screen by pressing home button or when long pressing home key for recent apps. Could you fix this please?
Edit: found out that the keyboard just doesn't disappear automatically anymore whatsoever
Thank you.
It's not working well, first time after device restart when I run app with text field it was OK, but second time keyboard displays and stay also after returning to home screen, as Benny wrote.
Sent from my tablet./Odoslané z môjho tabletu.
Re:
hamzahrmalik said:
Stop the keyboard opening itself when you open an app containing text fields
Download at the repo
enjoy!
(what? Yeah the description is short. That's all it does...)
Click to expand...
Click to collapse
What is your hardware? I'm trying to imagine the problem this fixes. My 4.4.4/Nexus 4/CWM Recovery/Rooted/TouchPal X doesn't open keyboard until I touch text field.
hamzahrmalik said:
Stop the keyboard opening itself when you open an app containing text fields
Download at the repo
enjoy!
(what? Yeah the description is short. That's all it does...)
Click to expand...
Click to collapse
Nice work, but it only works on few apps like stock message app, wont work on apps like google search,es xplorer(FM) ...
plus the keyboard survives pressing home key
---------- Post added at 07:08 AM ---------- Previous post was at 07:03 AM ----------
hamzahrmalik said:
Stop the keyboard opening itself when you open an app containing text fields
Download at the repo
enjoy!
(what? Yeah the description is short. That's all it does...)
Click to expand...
Click to collapse
Nice work, but it only works on few apps like stock message app, wont work on apps like google search,es xplorer(FM) ...
plus the keyboard survives pressing home key
XGO JB 4.1.2
Hi there!
Does this module stops the keyboard being shown again when returning to the Hangouts contacts list?
I simply hate this. A lot of times when returning to the contacts list the keyboard (SwiftKey here) simply shows up even without any text field over there!
Yeah, the keyboard doesn't show up but it also doesn't disappear, @hamzahrmalik
When the keyboard is up and I press the home button the keyboard keeps showing and I have to press back to hide it
But awesome module and it's exactly what I was waiting for
hamzahrmalik said:
Stop the keyboard opening itself when you open an app containing text fields
Download at the repo
enjoy!
(what? Yeah the description is short. That's all it does...)
Click to expand...
Click to collapse
Sorry but I can't seem to locate the repo source / apk
SystemErrorOne said:
Sorry but I can't seem to locate the repo source / apk
Click to expand...
Click to collapse
http://repo.xposed.info/module/com.hamzah.nokeyboardpopup
Works pretty well. I would like to see the keyboard not auto pop up in google now, and in the play store. Those are the only 2 things I've found it still pops up in. I never realized how annoying the auto pop up of the keyboard was until I saw there was a way to disable it :silly:
Doesnt work with Facebook (comments)
cruzargel said:
Doesnt work with Facebook (comments)
Click to expand...
Click to collapse
Just noticed that. It used to, was the main reason I grabbed it. Keyboard popping up when you just want to read comments is annoying, and then you have to hit back twice.
For some reason my keyboard doesn't auto close anymore when I leave the app that had an active text field in it. I have to close the keyboard manually. Ps I'm using SwiftKey
Yes. I think this need to be update.
It not auto shown. But once I really in chat and enter. The keyboard still there and I need to press back again to close it.
If not I cannot see the buttom of the screen.
Sent from my SM-N9005
Hey, this is a nice module indeed!
But I was actually looking for the opposite. LOL
Could you develop a module to ensure that the keyboard always auto pops-up whenever a text field is available on the screen?
Thanks
Doesn't work with Textra
In Textra, I turn off the quick reply pop-ups because I want to see the entire thread, but then the keyboard pops up blocking most of it.
I do like this module, but I wish it would work with Textra as well.
Benny Bosser said:
Nice module ! was looking for this for a long time
The keyboard however doesn't disappear automatically anymore when returning to home screen by pressing home button or when long pressing home key for recent apps. Could you fix this please?
Edit: found out that the keyboard just doesn't disappear automatically anymore whatsoever
Click to expand...
Click to collapse
Same problem for me JB 4.2.2
Doesn't work for me on Instagram. So irritating that when I click on someone's profile, then press back, the keyboard automatically pops up and shoots me straight back to the bottom of the comments, and I have to scroll aaaaaaaaall the way back up to get to where I was. Maybe not a problem for some people, but when I do art features every week and get 200 comments, it's a great hassle. I was hoping this module would eliminate the fact that I have to use 2 androids during features, but doesn't seem to work at all. Huawei Ascend Mate 2, 4.3 stock rom

[XPOSED][MOD] YouTube Background Playback

Enable background playback in YouTube.
Supported YouTube versions: 10.03.5 and 10.04.5.
What are you serious!? Damnn thanks!!!
How to use it? I installed it. Activated. Rebooted. Went to YouTube. Selected a song. Pressed the menu button. It stopped. Went back in. Played the song again. Pressed the multi tasking button. It stopped again.
Share some details how to use
Using a nexus 4
Just enable and reboot. Check if you have YouTube 10.03.5 (latest version).
After reboot, just play any video, press Home button to go to other ap or lock your screen. Playback will continue.
abhinand said:
How to use it? I installed it. Activated. Rebooted. Went to YouTube. Selected a song. Pressed the menu button. It stopped. Went back in. Played the song again. Pressed the multi tasking button. It stopped again.
Share some details how to use
Using a nexus 4
Click to expand...
Click to collapse
Word. Does not seem to be working. Or I do not know how to activate it.
PS.. After reading your response, I do have that version of YouTube
Hm module seem to affect outdated YouTube app, 10.04.5 is the newest YT app version and 10.03.x is supported by the module..
However, I don't doubt that it works. Thank you, great idea. Hope for update soon.
Yisss. Will try this!
Thanks.
It works but is kind a buggy,when you press home music stop and when you lock the screen it does work,when you go back to the app it lags a lot !!
flexxoo said:
It works but is kind a buggy,when you press home music stop and when you lock the screen it does work,when you go back to the app it lags a lot !!
Click to expand...
Click to collapse
Yeah, it does like, same on my device, but good work anyway
Okey, 1.0.1 is out. Support for 10.04.5
Basically, this feature is in code but only YouTube Music Key users can use it. With this module anybody can use it! Don't blame me for implementation - I did not make it. I just patched one check for "allow/deny background playback" (check source code for more details).
pyler said:
Okey, 1.0.1 is out. Support for 10.04.5
Basically, this feature is in code but only YouTube Music Key users can use it. With this module anybody can use it! Don't blame me for implementation - I did not make it. I just patched one check for "allow/deny background playback" (check source code for more details).
Click to expand...
Click to collapse
Unfortunately, for the very reason you just mentioned (enabling a paid feature for free), this is not allowed on XDA (forum rules). Thread closed.

Categories

Resources