I am trying to use javax.sound package in android. But android stopped this javax support. I have tried to port my javax.sound dependent code to android also but its not working. The key point is I need the sound raw data from AudioInputStream like the javax.sound package do.
I m lost somewhere I don't know. If anybody knows about the alternative of javax.sound package please reply.
Well, In my knowledge of java I thing
javax
is a package that supportsswings
that is a toolkit used forUI
andMultimedia operations
.But this is not supported in
android-sdk
as you have a number of options to achieve the same and have a good responsive and needed callbacks via sdk provided methods.So I will recommend you to go for
MediaPlayer
API provided by android that would suffice in your case.