I have a button when pressed, it executes for a long time and of course I get force close unless I create a thread. So that is what I did, I put that in a runOnUIThread(). While the process is running I would like to show the progress. I know how to add to the progress bar, but it really doesn't add until the main process is complete. Which is worthless...
In doMajorCalcs(), I do some calcs, then update the progress bar. Like I said, it updates it, but not until my major calcs are completed and the report is showing.
Any ideas? Do I need to call the processes from the button click then put the code for the methods inside runonuithread? So each method would have it's own runonuithread?