Hi
I am using httpUtils2 library to download about 200 small files, each of 1-2 kb, in a loop which has been successfully tested.
I want to display a progress bar for the downloads, and I cant seem to get it to work.
I tried adding the ProgressBar as a view in the Designer, I tried adding it directly to the activity and then using Activity.AddView, but no success.
I have set pbValue as int to 0 before i start the download loop.
In the JobDone event, i increment this value by 1 and set ProgressBar.progress = pbValue (I also use this variable to check that all downloads have been completed)
I have already gone thru all the examples, questions, tutorials, alternatives but could not find anything suitable, even after adapting the various alternatives (FTP Progress Bar, Download Service etc, etc)
Thanks in advance
Regards
I am using httpUtils2 library to download about 200 small files, each of 1-2 kb, in a loop which has been successfully tested.
I want to display a progress bar for the downloads, and I cant seem to get it to work.
I tried adding the ProgressBar as a view in the Designer, I tried adding it directly to the activity and then using Activity.AddView, but no success.
I have set pbValue as int to 0 before i start the download loop.
In the JobDone event, i increment this value by 1 and set ProgressBar.progress = pbValue (I also use this variable to check that all downloads have been completed)
I have already gone thru all the examples, questions, tutorials, alternatives but could not find anything suitable, even after adapting the various alternatives (FTP Progress Bar, Download Service etc, etc)
Thanks in advance
Regards