A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java Micro Edition
Play sound .aac
Joined: Dec 29, 2009
Dec 29, 2009 04:11:39
I am developing an application and I need to execute a file type sound. aac,
I run mp3 files
p1 = Manager.createPlayer(getClass().getResourceAsStream("/name_file.mp3"), "audio/mp3");
I run wav files
p1 = Manager.createPlayer(getClass().getResourceAsStream("/name_file.wav"), "audio/x-wav");
But I can not run aac files as follows
p1 = Manager.createPlayer(getClass().getResourceAsStream("/name_file.aac"), "audio/x-aac");
My phone is a Nokia N85, and from the menu of my phone lets me
play sound files. aac is therefore evident that the phone allows playback of such files.
I appreciate any help or clue.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Play sound .aac
MIDlet Audio Doesn't Work
PLAY several players simulaneouly ?
Problems playing some wav audio formats using MMAPI (WTK22)
unable to playback .mp3 file in WTK.
unable to playback .mp3 file in WTK
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015