I am looking for some help in displaying and updating progress bar view from within a sevice module?
I have a service module that receives data in background over the Bluetooth serial port using AsyncStreams. When the download begins, I want to display a Progress bar to indicate the status of the download.
With a single Activity module, is easy to us CallSub2() from the Service module to display and refresh the Progress bar View, but now that I have multiple activity modules, I'm looking for a better way to show a progress bar than having to add this view to all activity modules, determine which one is not paused" and call it?
I have tried starting a specific activity, for example, Main using StartActivity() on mny main activity and then CallSub2(), but there may be be a "startup delay" which causes the CallSub2 to be ignored.
Thanks
Steve
I have a service module that receives data in background over the Bluetooth serial port using AsyncStreams. When the download begins, I want to display a Progress bar to indicate the status of the download.
With a single Activity module, is easy to us CallSub2() from the Service module to display and refresh the Progress bar View, but now that I have multiple activity modules, I'm looking for a better way to show a progress bar than having to add this view to all activity modules, determine which one is not paused" and call it?
I have tried starting a specific activity, for example, Main using StartActivity() on mny main activity and then CallSub2(), but there may be be a "startup delay" which causes the CallSub2 to be ignored.
Thanks
Steve