I have developed an Android application for a Samsung s3c6410
reference board
and  the code is simply trying to schedule a timer task

tmr = new Timer();
tmr.schedule(new MainTimerTask(), 100);

I get the following exception.

java.lang.IllegalArgumentException: Illegal delay to start the
TimerTask

The docs say 0 for delaytime is an IllegalArgumentException.

I even tried a date instead of 100 and get the same exception type but
null text in the exception
getMessage() call

Any ideas ?


-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to