Anthonyy232 / Paperize

Paperize is a dynamic wallpaper changer application built for Android using Kotlin, Jetpack Compose, and Material 3
https://anthonyy232.github.io/Paperize/
GNU General Public License v3.0
321 stars 15 forks source link

[Feature] Double tap to trigger wallpaper change #53

Closed Crazy-Unicooorn closed 1 month ago

Crazy-Unicooorn commented 1 month ago

Coming from Wallpaper changer, we have more option that trigger a wallpaper change :

I would love to see these features here as well!

Anthonyy232 commented 1 month ago

I could probably do the former relatively easily.

I may be wrong, but generally there's no way to detect double tap on the home screen without using the live wallpaper approach (which personally I'm not a fan of because of the battery drain when I tried it, and it doesn't support dynamic theming for the icons) or actually being the launcher app itself. That was a long way of saying I'll look into it, but it very likely won't happen. Let me know if you (or anyone) has ideas other than those.

Thanks!

shuvashish76 commented 1 month ago

Another idea could be : Use as "Assist app" (long press the home button of system navigation bar) to trigger random/up_next wallpaper change.

Details

![ResizedImage_2024-07-11_08-44-51_2061](https://github.com/MuntashirAkon/AppManager/assets/48226312/7bb1e386-0309-4eef-9149-9894b7015c69)

Anthonyy232 commented 1 month ago

I'll look into it, haven't heard of that before. Do you know where to find documentation for it?

shuvashish76 commented 1 month ago

It's usually present in your "Device settings > App & notification > Default apps > Assist & voice input > Assist app". Sorry I'm not a developer, as a reference see how this app works or take a look at the implication from this issue.

Anthonyy232 commented 1 month ago

Will do, thanks! If this doesn't require any overly invasive permissions and the play store allows me to do so, I'll probably add it.

shuvashish76 commented 1 month ago

Looks like it requires android.intent.action.ASSISTaction. Thanks for considering this feature.

Crazy-Unicooorn commented 1 month ago

I can confirm that the previous wallpaper changer I used is allowing the double tap by being a live wallpaper.

They present it as an option like so:

Screenshot_20240726_093810.jpg


Since the nature of both way to trigger a wallpaper change is different, allow me to rename this issue, and open a new one mentioning this one !

shuvashish76 commented 1 month ago

As we've shortcut for changing wallpaper #51 I'm not sure double tap, assist app & all these triggers are necessary.

For all these triggers the user needs to perform the action from home screen for which shortcut is more then enough IMO.

Anthonyy232 commented 1 month ago

I agree. Keeping feature creep in mind and overall efficiency, I think I won't be adding double-tap to change wallpaper. Currently, tile and static app shortcut has been added to allow changing wallpaper. I may also add an option for pinned shortcuts for those who may find it useful. As discussed previously, I will add an option to change wallpaper on unlock/wake (https://github.com/Anthonyy232/Paperize/issues/55)

I'll be closing this!