woheller69 / whoBIRD

Identify bird sounds in real time with this Android version of BirdNET. Bird sound recognition for more than 6,000 species worldwide.
GNU General Public License v3.0
321 stars 18 forks source link

Progress not shown #28

Closed seniordevel closed 7 months ago

seniordevel commented 7 months ago

Referring to https://github.com/woheller69/whoBIRD/issues/27

This thread was closed too fast.

There is a progress bar, but no progress is shown. The progress bar does not change at all. Thus I cannot see if analysis is running or stopped.

Moreover analasys seems to work initially only, for the first 3 seconds, as you mentioned.

To start analasys again, I need to restart the whole app. Pressing the button does nothing.

woheller69 commented 7 months ago

the orange progress bar above lat / lon is running continuously from left to right as long as you do not stop it. when stopped it is black. As long as you do not stop analysis is run every 0.8s using previous 3s recordings

seniordevel commented 7 months ago

is running continuously from left to right

No, for me there is no movement at all. No progress is shown, even after waiting for about 3 minutes.

However I see the bar, but it is just an empty orange bar, not a progress bar .

The arrow points to what I expect the progress bar should be. ResizedImage_2024-03-25_12-17-08_2357

woheller69 commented 7 months ago

then I guess there is something wrong with your Android system... The running progress bar is defined through the layout file already.

seniordevel commented 7 months ago

My Android system works fine, it is Android 11. Other progress bars work fine, e.g. Vlc media player showing progress while playing media

woheller69 commented 7 months ago

then I have no idea.

seniordevel commented 7 months ago

then I have no idea

I need to accept this answer, as obviously you are not interested to solve issues with your software.

As developer myself, with more than 30 years experience, I know that it is impossible to address/solve an issue in 4 minutes.

At least please, leave this issue open.

Edit: If, sometime, you might change your mind, here a possibly helpful hint: Your progress bar shown while downloading the model works fine.

Screenshot_20240325-125858

woheller69 commented 7 months ago

Then your device does not support a progress bar set indeterminate. As a programmer you can debug on your device and send a pull request

seniordevel commented 7 months ago

Then your device does not support a progress bar set indeterminate.

Possibly. But since your bar is indeterminate, you could replace it with two GIF images, one of them animated the other not. Replace them according to status.

woheller69 commented 7 months ago

That's a built-in method. Google should rather fix your Android version...

seniordevel commented 7 months ago

Since an indeterminate progress bar is an animation, I remembered that I disabled animations in my system settings a long time ago (to save energy). Thanks for your information about the special kind of progress bar.

Re-enabeling animations solves the issue.

So finally thanks for support, now it is time to close this issue.

aisbergde commented 5 months ago

I didn't understand, how users solved the issue to show a progress. I have never seen a progress on this bar. Only reading this issue I mentioned the existence of this small horizontal line at all. No I see, it appears and disappears, when I press the play / pause button. But it is still not intuitive for me.