How to play wav file without using getResourceAsStream

Hi, i'm using j2me mmapi to create an audio player. I need to read the audio files from the root folder instead of /res folder.

Originally, i read from /res folder and its fine..but now i need to read it from a different folder. Is there a way?

original codes:

InputStream is = getClass().getResourceAsStream(file);

..

player = Manager.createPlayer(is, ctype);

thanks

[412 byte] By [@starry@a] at [2007-11-26 16:28:18]
# 1
Hi..Could any1 help? or offer some suggestions? Coz i'm really stuck.. :(
@starry@a at 2007-7-8 22:52:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
i think fileConnection API (jsr 75) will help you.
raj_goa at 2007-7-8 22:52:37 > top of Java-index,Java Mobility Forums,Java ME Technologies...