Hello,
I am writting the midlet, which will read the data stream from bluetooth and play the stream. But I don't understand why it doesn't work. Here is pice of my code:

// get the input stream from bluetooth connection
inputStream = connection.openInputStream();
//create player
Player player = Manager.createPlayer(inputStream, "audio/AMR");
player.realize();
player.prefetch();
player.start();

I can see on remote bluettoth device, that the data has been sent ( flushed to the output stream ), but the player doesn't work and blocks in prefetch method. What can I do? How to solve this problem? Thanks Robert