I have written a midlet, which downloads a MP3 over the air and plays it on my mobile. after this it downloads another Mp3 and plays it and so on.
this works fine for some time, but it always happens after a few downloads, sometimes more, sometimes less, the song is downloaded, but when it should be played, my midlet stalls totally. I couldn't find any exception or similar. The midlet just stalls.
When I close the midlet and start the midlet again, and sometimes everything is fine then, but sometimes the song again just downloaded but it should be played, the midlet stalls
I found out, if you clear the mobile-cache the midlet always works again fine, for some time.
Is there any possibility to clear the mobile-cache from my midlet. Or does anyone know another reason for this behaviour and how it could be solved ?
We are ones that build the world, thus build it well.