I'm having a design problem sending the value of the execution line from the class called from the Thread in Activity class to update the GUI, as shown below.
[The code snippet is not compiled for explanation only]:
Class A : Extend Activity { new Thread(new Runnable() { public void run() { B objB = new B(); objB.DownloadFile(); } }).start(); } Class B { public void DownloadFile() { ... some work [preparing SOAP request] while(response.read()) {
Any help or guidance would be greatly appreciated.
java android multithreading progressdialog handlers
Ahmad Kayyali
source share