(keitai-l) Re: mitsubishi compatibility?

From: Noriyasu <noriyasu_at_web.de>
Date: 06/21/04
Message-ID: <40D6AFF5.6030301@web.de>
Hello César,

I think it's because of ejecuta().
While(true) is busy waiting. The Handset ist busy because of the 
infinite loop, so it can't respond to your key commands.

Try to avoid busy waiting by this one for example:

while(true){
    try{
       Thread.sleep(50);
    }
    catch(Exception e){
    }
}

Regards,
Noriyasu

César Fernández wrote:

> Hello all, I have tested this code on two i-mode phones and it works. But
> when I test it on a Mitsubishi, the keys are not responding. Does anybody
> know the reason why this happens? Thanks very much.
>
> ---------------------------------------------------------------------------
> import com.nttdocomo.io.*;
> import com.nttdocomo.ui.*;
> import com.nttdocomo.util.*;
> import javax.microedition.io.*;
> import java.util.*;
> import java.io.*;
> import java.lang.*;

[ excessive quoting removed by moderator ]
Received on Mon Jun 21 12:30:21 2004