05-04-2012 07:53 AM
Hi, I have a problem.
How do I play the radio, I use this code to stream:
_player = javax.microedition.media.Manager.createPlayer("hxxp://188.8.131.52:443;deviceside=false");
I keep listening to music and does not escape my memory after 30 minutes.
When I use this code:
InputStream nadzieja = Connector.openInputStream("hxxp://184.108.40.206:9100;deviceside=false"); _player = javax.microedition.media.Manager.createPlayer(nadz
After 30 minutes, dramatically reduces the memory all the time.
As I begin to listen to my 45 MB, after 30 minutes, begins to spin the hourglass, and the memory begins to fall ... 40MB ... 30MB ... 20. MB for the machine to reset itself.
How to solve this problem with the memory running away when I use "InputStream"?
The Player is not working ordinary AAC stream, just as I use the method of InputStream it works.