Hi All,
I am making App to play the Video Files.Target phone is Nokia 6280/N80 but i am using emulater to test it.I store the mpeg file into RES folder of project. Problem is that it is giving follwing error:

// if i use
InputStream in= getClass().getResourceAsStream("/jimcarry.mpeg");
System.out.println("after input stream");
mPlayer=Manager.createPlayer(in,"video/mpeg");
//Gives IlegalArgumentException

// if i use
InputStream in= getClass().getResourceAsStream("File:///root1/jimcarry.mpeg");
System.out.println("after input stream");
mPlayer=Manager.createPlayer(in,"video/mpeg");
//Gives IlegalArgumentException

/ but if i use
InputStream in= getClass().getResourceAsStream("/ABC.wav");
System.out.println("after input stream");
mPlayer=Manager.createPlayer(in,"audio/x-wav");
//Gives NullPointerException

Please help me out and tell how to run video on Emulator.