'Backgrounded' DAB app closes
May I add my voice to chorus of thanks. to realzoulou and offer recognition for the obvious time effort realzoulou has invested so far.
Here are my experience notes, in the hope that they may prove useful:
My unit is Pumpkin CN10-01201B Android v6.0 with an external usb connected DAB+ module, model number: 13-Y0251-UK
Stock DAB apk, as for everyone here, is naff.
Annoying checkbox every start, full signal bars cause the display to shift and critically for me, with the App in the background (Waze in the foreground) the music stops after a few minutes and the app has been closed.
Found this thread and it looked like it might be better than what I have, so I removed the stock app, download this APK and via USB installed it on my head unit.
Install completes normally, app can be opened and channels scanned, but no sound. Try volume controls - nothing - fixed at zero. Other audio apps like radio and media player refuse to even start.
In the system settings, the audio level is at zero and cannot be changed. I have obviously lost a component in the audio drivers/sub-system, thinking it may have been part of the original DAB app, I uninstalled this one and searched for the original DAB .apk - found it installed it... still no audio control.
Restarted unit several times - nothing.
Then I performed a system reset using the tiny button 'hidden' in a small hole on the front panel, system starts up with all the installed apps and settings and also with audio and volume control - phew...
Now install this app again but this time there is no problem - app installs, audio control is still present, search stations... all there, and I am delighted to find that this app looks and feels MUCH better than the stock .apk
Now for the acid test. Start the DAB, select my favourite station and then launch Waze from the 'Nav' button which 'foregrounds' Waze and 'backgrounds' DAB.
DAB continues playing normally (I never did get the 'choppy' sound breaking up) for a few minutes and then suddenly silence - the icon in the message bar has gone and the app has closed.
I have picked over the 'apps' section of system settings, but I cannot find any setting for any of the installed apps that might suggest to the OS to allow (prioritise) 'this' app to run in the background without being a candidate for culling.
I have read that the cause of this may be Android 6 and its more aggressive inactive app memory 'harvesting' and reduced options to control that.
I also thought I read that this app is changed to run like a 'foreground service' and should therefore not be subject to this type of culling
Any words of wisdom are welcome.