-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
[Feature Request] Support add website to home screen #20
Comments
I'll see what I can do. |
Hey, so in case anyone that knows Android development (I don't) ends up here, I did a bit of digging and I think what is missing is some sort of database to handle Shortcuts, on top of declaring in the
I mention the database since that seems to be how other foss launcher handle it, for example: Also by reading ShortcutManager#requestPinShortcut docs, it seems that when an app, such as firefox, attempts to "install" something the "The default launcher will receive this request" so I guess there must be a way to "listen" to these? Not sure if adding those lines in the manifest is enough for firefox to know it can install things? Sorry for bothering whoever is subscribed to this, hope that this helps to someone. |
It would be great if a solution could be found. The fact that you can't use Progressive Web Apps with Olauncher is a big drawback. |
It think would cover also other apps shortcuts, link direct to weather inside google app, or to a specific contact of messenger apps. Would be great! |
I desperately need that feature too! Launching webapps is crucial! |
If it's not too complicated to add, I'll do my best to add this feature in the next update. I understand how important this feature is and should not have taken this long. |
Hi, I'm willing to help. I never did android development but if you are willing to spend a bit of time to tutor me I'm pretty sure I could implement this @tanujnotes |
I'm not a android dev, but I think the backend would be something like:
|
Sorry to open this again. Does the merge mean that this function is now added? How is it used? In the browser, the "Add to home screen" menu item is not available (Chrome and Kiwi). It basically appears when I define another launcher as default and there the PWA is added to the homescreen. Anyway, thank you for your efforts! |
I just installed OLauncher and this feature is desperately missing! |
OLauncher is the best. |
I just started working on this. At least a test version should be available soon. |
This would be such a great feature. It's the only thing I miss from my phone's default launcher. |
I started working on it but it's more complicated than I expected, so it's on pause for now. Unlike showing the list of all installed apps, which is common for every launcher, PWAs are handled differently. If you add PWA on one launcher, it won't work with other launchers. And the fact that Olauncher does not have a regular home screen makes things even more complicated. |
That is sad. Do you think that borrowing some code from Kiss launcher could
make it easier?
It seems to handle it. And also the secondary app actions, like open
youtube search instead of home screen.
The downside is their fuzzy search that kills the auto launch that we love
in Olauncher!
(Besides it takes many configurations to enable minimal interface,
Olauncher like, with widgets.)
…On Sat, Apr 22, 2023 at 3:57 PM Tanuj ***@***.***> wrote:
I started working on it but it's more complicated than I expected, so it's
on pause for now. Unlike showing the list of all installed apps, which is
common for every launcher, PWAs are handled differently. If you add PWA on
one launcher, it won't work with other launchers. And the fact that
Olauncher does not have a regular home screen makes things even more
complicated.
I'll get back to this in some time.
—
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJMTVYNJCZ4EEEUPMWANP3XCQSZBANCNFSM4RTG6H6Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@fmatheus Yeah I have checked out other launchers and how they handle PWAs. Implementing it will require some time, which I don't have at the moment. I'll get back to this later. |
@tanujnotes would it help if this was sponsored by the community? If so, how much do you think the development of this feature could be worth? I'm using OLauncherCF (a fork) and I believe that if you implement it here, it can be migrated downstream easily. Thanks for all the work on this amazing launcher! :) |
I'm planning to work on this in Q1, 2024. If anyone wants to support the development, a cup of coffee is all I need. :D |
@tanujnotes done :) |
Hey I dropped you a bit of cash, any updates on this? :) |
Hm this is a show stopper for me, my office requires a PWA app to open the garage. |
Thanks for the amazing launcher! this feature would be a massive time saver for me, any updates on it? |
Hi I have created a working version of Olauncher that supports website shortcuts. You can find the repo here and the apk here. Sadly I could not figure out how to implement adding PWAs or shortcuts from the browser since the Android API is confusing and there is very little documentation. Be aware that I am not an android developer so my implementation is a bit hacked together, but it works well enough for me. I intend to use my version only until someone comes up with a better solution. Love Olauncher btw! Usage: For example you can add a shortcut to example.com by typing "*https://example.com/" and hitting enter. The website should then open in your default browser. When you next open the app drawer you should see your website shortcut listed as the url you entered. I would suggest renaming the shortcut to something more concise and memorable. Holding down the shortcut will give you the option to delete it, rename it, or move it to your hidden apps. If you click the info button you can choose which browser to open the website shortcut in. From now on this website shortcut will be opened in the browser you selected. Website shortcuts can also be set as a home app shortcut, clock app shortcut, calendar app shortcut, and can be opened using swipe gestures. |
From browser app like Chrome / FF, it's possible to add a website to home screen like a shortcut. e.g: https://www.howtogeek.com/667938/how-to-add-a-website-to-your-android-home-screen/
It would be great that this kind of shortcut will show up in app search list.
The text was updated successfully, but these errors were encountered: