processing/processing-android

[Feature Request] Widget support?

Opened this issue · 3 comments

I'd like to be able to write home screen widgets with Processing, but Processing for Android doesn't currently support that. Would it be possible to add widget support?

Hi @Starwort and thanks for the feature request! I’m not very familiar with what would be required to add widget support, but it’s an interesting idea. As far as I know, Processing for Android is primarily designed for activity-based apps, so integrating home screen widgets might involve some structural changes. Would you be interested in looking into how this could work? If you're up for researching or prototyping an approach, we'd love to hear your insights! Let us know what you think.

Hi @SableRaf,

Unfortunately, I'm not very familiar with either android development or the Processing/PfA codebases (if I was, I might have produced a PR instead of a feature request :P)

Given the support for live backgrounds and watch faces I thought it wouldn't be too bad to implement, but I'm willing to take a look at some point

Hi @Starwort,

Support for Watch Faces needs major refactoring (see issue #766) due to the introduction the new Watch Face Format and deprecation of all the classes currently used to implement watch faces in Processing for Android. I'm not sure about the state of Live Wallpapers.

While widgets would be a great addition to PfA, my intuition would be to prioritize a more modular architecture and fix our existing integrations (like watch faces) before we consider adding support for more Android features. That said, if you'd like to have a look into it so we can make a more informed decision, that'd be amazing.