As many handsets do not support this functionality has anyone heard about how to get round the fact that when reading in from a datainputstream (i.e. a textfile as I am doing) most phones don’t support mark/reset.
e.g. to continue to use the same inputstream by just reseting the index but as this doesnt work the bug on the early s60 hansets means that the heap space doesnt get deallocated causing out of memory errors in my program (app. closed and kernel errors have been happening).
At the moment I have been defining new inputstreams each time which is fine for s60 midp 2.0 as the space seems to clear each time.
Anybody thought of a way round this problem?
Cheers,
Goika