Hi,
I'm at the "bells and whistles" stage with an app I am developing.
I would like to have a nice smooth progress indicator run while the app does about 30 secs worth of graphics processing.
The graphics processing involves using Javaobjects, saving etc so ability to update the progress indicator in the same thread is somewhat erratic.
The Threading library looks like a possible solution - run the graphics processing in a second thread while running the progress indicator in the UI thread.
But in this thread:
https://www.b4x.com/android/forum/threads/threading-libary-problems.34138/#post-199905
Erel comments:
So is there a better way? - any and all suggestions welcome...
I'm at the "bells and whistles" stage with an app I am developing.
I would like to have a nice smooth progress indicator run while the app does about 30 secs worth of graphics processing.
The graphics processing involves using Javaobjects, saving etc so ability to update the progress indicator in the same thread is somewhat erratic.
The Threading library looks like a possible solution - run the graphics processing in a second thread while running the progress indicator in the UI thread.
But in this thread:
https://www.b4x.com/android/forum/threads/threading-libary-problems.34138/#post-199905
Erel comments:
Why are you using the Threading library? In almost all cases there are simpler and better solutions.
So is there a better way? - any and all suggestions welcome...