-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quickshortcuts for android 6 & 7.0 #233
Comments
Can you elaborate? App shortcuts are functional. |
@AxiK101 They're working, if you are not seeing them, set the Lawnchair launcher as the default. |
Sent from my Sony F3211 using FastHub |
See above, set launcher as the default, then retry. |
I am not retard dude. I know what i am doing and saying. I run android 7.0, i have Lawnchair as my default luncher, no shortcuts working. Sony Xperia XA Ultra device. Sent from my Sony F3211 using FastHub |
No one's calling you anything. Lose the attitude at the door, or let it close behind you when you leave. |
There is no attitude. You said on 7.1.1 is working. I know that. The point is to make it work on 7.0.0. I am realy clear to what i ask. If you don't have a proper solution, plz do not mention the obvious Sent from my Sony F3211 using FastHub |
There may not be one, app shortcuts were introduced in 7.1.X, may not be backportable. |
Well maybe you are right. But some launchers like nova, action, evie do support quickshortcuts for older OS. I just hope that devs could make them work for Lawnchair too Sent from my Sony F3211 using FastHub |
He's right. I had an issue asking about this and the dev said that there are not available on 7.0 or lower. The app shortcuts got introduced on 7.1.1 but some launchers made them work on 7.0/6.0. Well those launchers use the old UI for App Shortcuts from Pixel Launcher Nougat version. So or the dev didn't look into this or the code for shortcuts also have been changed and for now there's no way to bring this feature on 7.0 or lower. |
Wish the devs would try this out Sent from my Sony F3211 using FastHub |
It is absolutely possible to get the static shortcuts on <Android 7.1. It's nothing to do with UIs at all, and doesn't even need you to copy source from AOSP. You just have to do a process that is quite slow, and a little hacky. As far as I am aware, this is how other launchers do it, and it does work (I used the method in Custom Quick Settings): For each of the packages on the device:
That's it! I do recommend storing this data in the case of a launcher though, as it's quite a slow process to do every relaunch, but please only do so on <7.1, it's not a great idea to store shortcuts on >=7.1 because they change often with dynamic shortcuts |
@KieronQuinn You should apply in the developing group dude. Nice! Sent from my Sony F3211 using FastHub |
@AxiK101 I'm busy with my own projects right now so am not taking on any others but will consider it in the future |
Good to know. 😉 Sent from my Sony F3211 using FastHub |
@deletescape Could you try what KieronQuinn said above? |
Hey, no one mentioned Android 5.0. What's up with that? |
@KieronQuinn After some searching, I found a hidden method that allows |
Hey @paphonbth, on latest beta it says that app shortcuts backported but are inactive. Does this meen you found a way to make them work for <7.1 devices? |
Yes but currently disabled because it isn't optimized yet. |
Hoping this feature can run on lolipop... |
Bro, same here Mr Steve |
I can't see why it wouldn't (assuming Lawnchair does, I've never checked), it works fine on 5.x for Custom Quick Settings |
Sesame shortcuts app gave Nova launcher a boost. Now almost all shortcuts work, even the ones that was only for 7.1.+ Sent from my Sony F3211 using FastHub |
Sesame uses an app-specific approach with "hard coded" methods. Basically on API25 apps, they can define custom methods to dynamically generate the shortcuts (the part we can't do on API<25), and can also define static links (which we can, and do display). What Sesame does is basically extracting the former methods and moving it to a common library, so that the apps don't have to define it. It is practically a huge database of functions that define shortcuts for certain apps, nothing more. We can't do that. |
Sesame appears to mostly make use of deeplink URIs, if you install it and check the config file it produces (needs root), you can see what it's linking to. A good example of this is FB Messenger, where you can simply do: Messenger has loads of these, as does Facebook, Instagram, and loads of other apps. Hell, you can even use normal URLs in some cases, like for Discord: The reason I'm so for app shortcuts is I'm actually in the process of making Custom App Shortcuts, which edits the system shortcuts.xml file (API 25+) and has similar results to Sesame, but has more possibilities for launch (for example Sesame can't open links to group chats in some messenger clients, CAS can, as it has more privileges), as well as supporting any launcher that supports app shortcuts (except Action launcher, because that uses a strange caching method - hence why I was against caching for Lawnchair on API 25+) |
@KieronQuinn is there a usable app in development to test? What you suggest is awesome Sent from my Sony F3211 using FastHub |
Hi, |
@jackmort37 please open a new issue for your problem, this is not related |
How come some shortcuts to appear in the bubble but when taping no action happens, just they open the app..? Fr example Hangout's doesn't work |
@AxiK101 this is probably an issue with the app, Shortcuts aren't made to work on older APIs so we can't grant you that all of them will work. |
Is it possible? Please make it happen. Sorry if this feature has been asked before.
Sent from my Sony F3211 using FastHub
The text was updated successfully, but these errors were encountered: