Well... I sort of managed to make the image refresh by doing a loop
and calling this logic every time
" private void refreshImage() {
int i = imageList.getSelectedIndex();
//thread.interrupt();
imageName = (String) imageNames.elementAt(i);
display.setCurrent(genProgress(imageList.getString(i)));
thread = new Thread(this);
thread.start();
}
"
as it refreshes it will not let me do anthing else unless i press
the cancel button.
Also when i tested it on the series 60 emulator everytime I refresh
it asks me if I want to do aconnect asI am all the time calling the
HTTPConnection
c = (HttpConnection) Connector.open(name);
int status = c.getResponseCode();
if (status != 200) {
throw new IOException("HTTP Response Code = " + status);
}
and also in the Series 60 the image is becoming null when refreshed :
( so Im really stuck...