Coder Social home page Coder Social logo

Comments (3)

Donnnno avatar Donnnno commented on August 28, 2024

Can you give an example of an app like that?

Web apps are allowed if someone makes it, but they're disabled in the request function because of their unique IDs

from arcticons.

TotallyAvailable avatar TotallyAvailable commented on August 28, 2024

Well given that I ignored the reason most of them don't show up in a launcher...I didn't quite think through the 'how to bind' them with at least the default Android Icon.
Might've been a smart idea to actually look at how Apps like Hail deal with those before asking. I assume there shouldn't be anything stopping it from just loading the drawables based on the Packagename alone.

As for why even bother -> consistency and small surprises for current and future users.
Fewer reasons for more Apps to not adopt support for Icon Packs if System Apps actually get covered as well.
Also no issues with broken entries in the future...

The consequences of it actually working would obviously be quite a bit of crowd sourcing to cover OEM specific stuff.

I might just be dreaming too much though.

Edit:
In theory it shouldn't be too hard to include a case for Apps without (main) activities by telling it to search for something like
<item component="ComponentInfo{com.android.theme.font.googlesans/custom.icon}" drawable="android"/>
with 'custom.icon' as hardcoded value to keep the structure consistent.

Package without activities -> search for 'packagename/custom.icon' instead

While it could probably be done without 'custom.icon' by simply linking 0 activities to the default Android icon, plenty of system and user apps actually come with custom/different icons and/or activities. (like de.dlyt.yanndroid.notinotes)

Maybe @kaanelloed knows if that's something current/standard implementations would allow by adding a few more lines of code or if there's something else I'm not thinking about.

from arcticons.

kaanelloed avatar kaanelloed commented on August 28, 2024

I've never really looked at web apps icons, but from what I understand, I don't think any launcher has implemented a way to apply icon packs with web apps.

from arcticons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.