We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I was wondering if someone has encountered a similar problem to what I have. I have created a simple live wallpaper (starfield effect) and most of the time it works fine on my android 7 device and other devices the problem appears more often.
When previewing the wallpaper it is always rendered correctly but after applying and going back to the home screen the stars will be drawn black. I have tried drawing large static boxes and ellipses on the screen with static colours like red, blue etc but they are also drawn black. The stars are also large like stroke has been enabled even though I have set to noStroke.
On an older M8 (android 5.01) It happens consistently but if I set the wallpaper so its not working and then simply rerun the sketch it will correct it and it will run fine until the phone is restarted or wallpaper is reselected. My android 7 phone will fix the problem with a restart.
Answers
Can you post your code? Maybe people with any experience with wallpaper could provide comments or they could try reproducing your problem.
What Android versions in your other phones? Also Processing and Android mode version?
Kf
@NytHawk===
the problem seems to be with onPause() and (mainly) onResume() where hou have to add some code to reinitialize values.
Thanks, I will look into this. I was not sure if we needed to manage these calls with P4A doing so much.