will open the real one player and gives me error
It would have been more helpful if you had included the text of the error.
Without any more information, I can only guess that you need to include the content-length as well as the content type. Also, are you doing output with an OutputStream or a Writer? Binary data must use OutputStream.
Bill