I want to change the image in my application screen periodically.
how can i implement it ?
is there any timer control(like in iPhone) for BlackBerry ?
waiting for your suggessions...
thanks in advance开发者_运维问答...
try this.
try {
timer = new Timer();
timer.scheduleAtFixedRate(new ImageTask(), 0, 5000);
} catch (Exception e) {
// do nothing
}
private class ImageTask extends TimerTask {
public void run() {
System.out.println("Test Printing..");
}
}
精彩评论