I don't understand what wma demo is doing.
hello
in wma demo there are the following codes
startApp(){
...
if(thread ==null){
thread =new Thread(this);
thread.start();
}
...
}
and
notifyIncommingMessage(MessageConnection mc){
if(thread ==null){
thread =new Thread(this);
thread.start();
}
}
when at start up the thread was asigned a new thread how can any new message be received in thread's run method?
the thread will only be set to null, when midlet is paused or exited.

