Error

Notice: Undefined property: stdClass::$forum_tid in forum_node_view() (line 275 of /home/wfrantz/www/sprintdevelopers/modules/forum/forum.module).

Sanyo MM-7400 / MMAPI / playing wav throws SecurityException

Submitted by Anonymous (not verified) on Thu, 09/01/2005 - 08:57

Hi there,

the following code block throws a SecurityException on a Sanyo MM-7400:
[code:1:bf2a9f0da2]InputStream is = getClass().getResourceAsStream("/a.wav");
Player p = Manager.createPlayer(is, "audio/x-wav");
p.start();
[/code:1:bf2a9f0da2]
However, it works fine in Sprint's PCS Wireless Toolkit v2. The midlet is not signed and works properly in all my MIDP 2.0 emulators.

Thanks in advance for any suggestions.