在WTK2.5.2自带的UserGuide
file:///F:/WTK2.5.2_01/docs/UserGuide-html/mmapi.html#50626618_pgfId-22571
中:
8.2 Adaptive Multi-Rate (AMR) Content
The Sun JavaTM Wireless Toolkit for CLDC simulates support for Adaptive Multi-Rate (AMR) content (http://www.ietf.org/rfc/rfc3267.txt). Although the toolkit cannot decode AMR content, the implementation returns a player for AMR content when requested.
8.2.1 Windows
On Windows, AMR files are converted to regular WAVE files and passed to Qsound. Because the Windows version interfaces with the 3GPP implementation, you do not have to do anything to ge t AMR files to play.
似乎不用安装quicktime player就可以播放amr-nb和amr-wb文件。但我看到另一篇文章说,要J2ME播放amr,必须安装quicktime(windows平台)。我现在是安装了quicktime,播放amr-nb文件还是出错( http://topic.csdn.net/u/20110319/17/c55f165a-d593-4b1e-ab34-5f08763b83d7.html)
而且WTK2.5.2自带的例子程序 MobileMediaAPI 根本就不支持amr-wb文件,Manager.getSupportedContentTypes(null)返回
“video/mpeg,image/gif,audio/x-wav,audio/amr,audio/x-tone-seq,video/vnd.sun.rgb565,audio/sp-midi,audio/midi,”,没有“"audio/amr-wb"”类型
中:
8.2 Adaptive Multi-Rate (AMR) Content
The Sun JavaTM Wireless Toolkit for CLDC simulates support for Adaptive Multi-Rate (AMR) content (http://www.ietf.org/rfc/rfc3267.txt). Although the toolkit cannot decode AMR content, the implementation returns a player for AMR content when requested.
8.2.1 Windows
On Windows, AMR files are converted to regular WAVE files and passed to Qsound. Because the Windows version interfaces with the 3GPP implementation, you do not have to do anything to ge t AMR files to play.
似乎不用安装quicktime player就可以播放amr-nb和amr-wb文件。但我看到另一篇文章说,要J2ME播放amr,必须安装quicktime(windows平台)。我现在是安装了quicktime,播放amr-nb文件还是出错( http://topic.csdn.net/u/20110319/17/c55f165a-d593-4b1e-ab34-5f08763b83d7.html)
而且WTK2.5.2自带的例子程序 MobileMediaAPI 根本就不支持amr-wb文件,Manager.getSupportedContentTypes(null)返回
“video/mpeg,image/gif,audio/x-wav,audio/amr,audio/x-tone-seq,video/vnd.sun.rgb565,audio/sp-midi,audio/midi,”,没有“"audio/amr-wb"”类型