# Run Wallpaper in Background continuously

**URL:** <https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248>\
**Category:** Processing for Android\
**Created:** [May 24, 2021, 12:03pm UTC](https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248 "2021-05-24T12:03:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flolo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/flolo/32/13874_2.png) [@Flolo](https://discourse.processing.org/u/Flolo)\
**Post date:** [May 24, 2021, 12:03pm UTC](https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248/1 "2021-05-24T12:03:40Z")

</div>

Hey, I wanted to ask if there is a way to let a wallpaper run in the background (also when apps are open) to count the time how long I was on the phone in general.  
Thanks Flolo 🙂

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [May 24, 2021, 10:02pm UTC](https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248/2 "2021-05-24T22:02:38Z")

</div>

Hi @Flolo ,

Isn’t it the default behavior when doing a wallpaper with Processing for Android (that it runs continuously no matter what)? Have you tried this? 😉

---

<div class="post-metadata">

**Author:** ![Flolo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/flolo/32/13874_2.png) [@Flolo](https://discourse.processing.org/u/Flolo)\
**Post date:** [May 27, 2021, 1:03pm UTC](https://discourse.processing.org/t/run-wallpaper-in-background-continuously/30248/3 "2021-05-27T13:03:21Z")

</div>

Hey thanks for your reply 🙂  
and I’m sorry that I will answer now I had a lot of homework to Do…

So i have no idea where the Problem is. I have a Samsung galaxy A71 and the Wallpaper works finde but as soon I open an App the wallpaper Stopps Running.

I know IT because the wallpaper counts the time in a float variable. (Time += 1 / frameRate) in draw and IT Shows It with text(time, 0, 0, width, height);  
Is it a problem with Samsung or is there another loop I can Use ?
