I’ve been trying to make my media player app run indefinitely, I’m aware there are several posts and suggestions on this matter:
And so I’m been trying to modify the JuceActivity.java to start a foreground service (onCreate), which also requests a wake lock.
I get the expected foreground service notification and all.
the app ran for around 15 hours? then the error as screenshots above happened.
does anyone have idea whats happening? Im still learning about the android architecture/libraries and know little about the JNI. (alot of new stuff to me). Is the Android system still killing the app or some dependent processes…?
also you guys know of any other approach to this ‘longevity’ test? its just a pain to test this by running it overnight every day.