posted 19 years ago
i'm running a http connection in a separate object/thread and need to wait for that http object to finish making it's requests before allowing my main MIDlet to proceed. the code in my main MIDlet code looks something like this:
while(oSync.isBusy()){
try{
Thread.sleep(150);
}
catch(InterruptedException e){
}
}
oSync is the http object. this should run fine, except the oSync object is giving me a 'MIDlet wants to send info. Is this okay?' confirmation window, which i can't seem to respond to, keeping isBusy() from ever returning false. how do i get around this?
tks