File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Cache-full Nokia Handset (6680) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Cache-full Nokia Handset (6680)" Watch "Cache-full Nokia Handset (6680)" New topic

Cache-full Nokia Handset (6680)

Ould Nadif
Ranch Hand

Joined: Jan 21, 2004
Posts: 184
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.
I agree. Here's the link:
subject: Cache-full Nokia Handset (6680)
It's not a secret anymore!