简体   繁体   中英

Problem recording audio on Android and playing on Swing (PC)

I have an android app that records audio and does other stuff, and I wanted to make a PC applet in java to allow users to listen to what they record on their androids. I got everything to work, but came to a halt at the playing part. Android can only record 3 formats (MPEG4, AMR, and 3GPP). And I'm having trouble finding a java api or code to play any of those formats. Does anyone have any suggestions or solutions?

Thanks in advance.

On this thread you can find numerous java API to playback audio files : Any good recommendations for MP3/Sound libraries for java?

Also, you probably want to write a desktop application, not an applet. Applets are an old technology that never really catched up (to be honest Microsoft helped quite a lot to kill that tech...).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM